Closed
Bug 924232
Opened 11 years ago
Closed 11 years ago
Harmonize preprocessing of FENNEC_PP_JAVA_VIEW_FILES
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: nalexander, Assigned: nalexander)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
6.17 KB,
patch
|
mfinkle
:
review+
rnewman
:
feedback+
|
Details | Diff | Splinter Review |
At the moment, we have an ad-hoc rule for generating Gecko{VIEW}.java from GeckoView.java.frag. This complicates the build system and gets in the way of creating IDE projects. Time to harmonize it with our existing preprocessing.
Assignee | ||
Comment 1•11 years ago
|
||
This simplifies the build system and will help us generate IDE project files. It costs us extra stub .java.in files. This is a good trade. mfinkle, sriram: am I missing anything subtle?
Attachment #814229 -
Flags: review?(mark.finkle)
Attachment #814229 -
Flags: feedback?
Comment 2•11 years ago
|
||
Comment on attachment 814229 [details] [diff] [review] Harmonize preprocessing of FENNEC_PP_JAVA_VIEW_FILES. r=mfinkle This works for me -- explicit files sure beat implicit build logic -- except that these are appearing in mobile/android/base! So step 0 is to move them into /view/...
Attachment #814229 -
Flags: feedback? → feedback+
Assignee | ||
Comment 3•11 years ago
|
||
> So step 0 is to move them into /view/...
:sriram, is this cool? The package is currently defined as org.mozilla.gecko, but I'm happy to move them to view/.
Flags: needinfo?(sriram)
Comment 4•11 years ago
|
||
Some of them (most?) are actually widgets.
Comment 5•11 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #4) > Some of them (most?) are actually widgets. Agreed. These should go in the "widget" folder. Even Android agrees, for once: http://androidxref.com/4.3_r2.1/xref/frameworks/base/core/java/android/widget/
Comment 6•11 years ago
|
||
Comment on attachment 814229 [details] [diff] [review] Harmonize preprocessing of FENNEC_PP_JAVA_VIEW_FILES. r=mfinkle r+ with the move to widget
Attachment #814229 -
Flags: review?(mark.finkle) → review+
Comment 7•11 years ago
|
||
When you move it to a different folder, please update the XML files too. E.g.: https://hg.mozilla.org/mozilla-central/file/tip/mobile/android/base/resources/layout/tabs_counter.xml I am fine with moving them, preferably to widget/.
Flags: needinfo?(sriram)
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/a222b928494d https://hg.mozilla.org/integration/fx-team/rev/2618d8170c70
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/a222b928494d https://hg.mozilla.org/mozilla-central/rev/2618d8170c70
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
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
•