Closed
Bug 1133983
Opened 10 years ago
Closed 10 years ago
Allow for overriding of resources in branding directories
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox38 fixed)
RESOLVED
FIXED
Firefox 38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: toonetown, Assigned: toonetown)
Details
Attachments
(1 file)
1.18 KB,
patch
|
nalexander
:
review+
|
Details | Diff | Splinter Review |
Currently, you are able to add a new android resource by placing them in ${MOZ_BRANDING_DIRECTOR}/res - but you cannot override an existing resource. This is due to the fact that the resource already exists in ${SRCDIR}/resources, and the order specified in moz.build prevents that.
I would suggest that resources in the branding directory are the "canonical" ones - and thus branded builds are able to override resources such as strings and images that may already exist in the source directory.
Assignee | ||
Comment 1•10 years ago
|
||
Simply switches the ordering of the ANDROID_RES_DIRS
Attachment #8565656 -
Flags: review?(nalexander)
Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment on attachment 8565656 [details] [diff] [review]
bug-1133983-fix.patch
Review of attachment 8565656 [details] [diff] [review]:
-----------------------------------------------------------------
Fine by me. I can land this, with the change.
::: mobile/android/base/moz.build
@@ +669,5 @@
> 'org/lucasr/dspec/RawResource.java'
> ] ]
>
> ANDROID_RES_DIRS += [
> + TOPSRCDIR + '/' + CONFIG['MOZ_BRANDING_DIRECTORY'] + '/res',
Add a comment explaining why you want this first above ANDROID_RES_DIRS.
Attachment #8565656 -
Flags: review?(nalexander) → review+
Comment 4•10 years ago
|
||
Updated•10 years ago
|
Assignee: nobody → nathan
Status: NEW → ASSIGNED
Hardware: x86 → All
Comment 5•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•