Closed
      
        Bug 1227361
      
      
        Opened 9 years ago
          Closed 9 years ago
      
        
    
  
Remove checks for MOZ_SERVICES_SYNC from browser/  
    Categories
(Firefox :: General, defect)
        Firefox
          
        
        
      
        
    
        General
          
        
        
      
        
    Tracking
()
        RESOLVED
        FIXED
        
    
  
        
            Firefox 45
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | fixed | 
People
(Reporter: markh, Assigned: aryx)
References
(Regressed 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
| 53.67 KB,
          patch         | markh
:
              
              review+ | Details | Diff | Splinter Review | 
There are many references to MOZ_SERVICES_SYNC in the tree, but best we can tell, no one ever builds without that flag set. The flag doesn't have a huge cost, but it does add complexity and means we need to pre-process some modules that otherwise could be treated normally.
Can we just remove this flag?
| Comment 1•9 years ago
           | ||
b2, mobile/android and thunderbird are not setting it, so they are all effectively using it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
| Comment 2•9 years ago
           | ||
That said, since it's set in confvars.sh, you can feel free to remove the corresponding ifdefs in files under browser/. But that's not a build config bug.
| Comment 3•9 years ago
           | ||
Yeah, I think it's a good idea to remove it from browser/
| Reporter | ||
| Comment 4•9 years ago
           | ||
Let's reuse that bug for that then!
Status: RESOLVED → REOPENED
Component: Build Config → General
Resolution: WONTFIX → ---
Summary: Remove MOZ_SERVICES_SYNC build flag → Remove checks for MOZ_SERVICES_SYNC from browser/
|   | Assignee | |
| Updated•9 years ago
           | 
Assignee: nobody → aryx.bugmail
Status: REOPENED → ASSIGNED
|   | Assignee | |
| Comment 5•9 years ago
           | ||
        Attachment #8691462 -
        Flags: review?(markh)
| Comment 6•9 years ago
           | ||
Comment on attachment 8691462 [details] [diff] [review]
patch, v1
Review of attachment 8691462 [details] [diff] [review]:
-----------------------------------------------------------------
If there's any file that doesn't need anymore preprocessing (for example preferences.css) you should fix that in jar.mn or moz.build.
|   | Assignee | |
| Comment 7•9 years ago
           | ||
(In reply to Marco Bonardo [::mak] from comment #6)
> If there's any file that doesn't need anymore preprocessing (for example
> preferences.css) you should fix that in jar.mn or moz.build.
Hadn't checked the preprocessing of the .css files earlier today, and there for Windows and Linux the preprocessing can be removed. For the latter one, I removed the encapsulation of the license header in a |%if 0| block. All other files touched still have more preprocessing rules (the OS X theme an %include near the top).
        Attachment #8691462 -
        Attachment is obsolete: true
        Attachment #8691462 -
        Flags: review?(markh)
        Attachment #8691471 -
        Flags: review?(markh)
| Reporter | ||
| Comment 8•9 years ago
           | ||
Comment on attachment 8691471 [details] [diff] [review]
patch, v2
Review of attachment 8691471 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM!
        Attachment #8691471 -
        Flags: review?(markh) → review+
|   | ||
| Comment 10•9 years ago
           | ||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago → 9 years ago
          status-firefox45:
          --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
| Comment 11•9 years ago
           | ||
Good day. Unfortunately, at least we used this flag. JFYI, here someone who still use it and some other flags.
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•