Closed
Bug 1133983
Opened 9 years ago
Closed 9 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•9 years ago
|
||
Simply switches the ordering of the ANDROID_RES_DIRS
Attachment #8565656 -
Flags: review?(nalexander)
Assignee | ||
Comment 2•9 years ago
|
||
Try server https://treeherder.mozilla.org/#/jobs?repo=try&revision=5e9f64323e82
Comment 3•9 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+
Updated•9 years ago
|
Assignee: nobody → nathan
Status: NEW → ASSIGNED
Hardware: x86 → All
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8fa40864937c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Updated•3 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
•