Closed
Bug 1091357
Opened 10 years ago
Closed 10 years ago
Excluding the search activity from the build fails to properly exclude resources
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
All
Android
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: rnewman, Assigned: toonetown)
Details
Attachments
(1 file, 1 obsolete file)
1.28 KB,
patch
|
toonetown
:
review+
|
Details | Diff | Splinter Review |
22:59.56 /Users/rnewman/moz/hg/fx-team/mobile/android/base/resources/layout/search_activity_main.xml:46: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/search_pref_button_content_description'). 22:59.56 22:59.56 /Users/rnewman/moz/hg/fx-team/mobile/android/base/resources/layout/search_suggestions_row.xml:21: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/search_plus_content_description'). 22:59.56 22:59.56 /Users/rnewman/moz/hg/fx-team/mobile/android/base/resources/layout/search_widget.xml:23: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/search_widget_button_label'). 22:59.56 22:59.56 /Users/rnewman/moz/hg/fx-team/mobile/android/base/resources/layout/search_widget.xml:32: error: Error: No resource found that matches the given name (at 'text' with value '@string/search_widget_button_label'). 22:59.56 22:59.56 /Users/rnewman/moz/hg/fx-team/mobile/android/base/resources/xml/search_preferences.xml:6: error: Error: No resource found that matches the given name (at 'title' with value '@string/pref_clearHistory_title'). 22:59.57 22:59.57 /Users/rnewman/moz/hg/fx-team/mobile/android/base/resources/xml/search_widget_info.xml:6: error: Error: No resource found that matches the given name (at 'label' with value '@string/search_widget_name').
Comment 1•10 years ago
|
||
Oh, right, this was a conscious choice in Bug 1080326. We moved the resources (to simplify the IDE story) but that means that the build flag needs to be removed or the strings need to be included without reference to the build flag. (So the build flag is either always on or applies to code only.) In a brave future gradle world, we might be able to revisit this decision and really keep the search activity separate. This is low priority since the default is on and few people will turn it off.
Assignee | ||
Comment 2•10 years ago
|
||
It looks like removing the two "#ifdef MOZ_ANDROID_SEARCH_ACTIVITY" conditionals from strings.xml.in will address this issue. Patches are forthcoming.
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8531823 -
Flags: review?(nalexander)
Comment 4•10 years ago
|
||
Comment on attachment 8531823 [details] [diff] [review] Simple patch which just removes conditionals from strings.xml.in Review of attachment 8531823 [details] [diff] [review]: ----------------------------------------------------------------- Please include rationale in the commit message: Bug 1080326 moved the search activity resources into the main Fennec resources. Those search activity resources require the corresponding strings; this patch makes them unconditionally available.
Attachment #8531823 -
Flags: review?(nalexander) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8531823 -
Attachment is obsolete: true
Attachment #8531826 -
Flags: review+
Assignee | ||
Comment 6•10 years ago
|
||
Try server https://treeherder.mozilla.org/#/jobs?repo=try&revision=fde296fb6532 Could someone please add the checkin-needed keyword?
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f3abfa68ae44
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 37
Updated•5 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 37 → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•