Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Issue 255613003: Move ui and content resources into one location. (Closed)

Created:
6 years, 8 months ago by mkosiba (inactive)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, dcheng
Visibility:
Public.

Description

JarJar resources when building the android_webview. The android_webview build will require there only be a single R class (details in bug). This change makes the necessary changes to the build infrastructure for this to happen but the actual swap to building the webview this way will land as a subsequent CL. BUG=387155 build-only change, all trybots compile fine. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278849

Patch Set 1 #

Patch Set 2 : don't move files around #

Patch Set 3 : direct export R stuff from ui_java #

Patch Set 4 : jarjar ftw #

Patch Set 5 : jarjar layout.xml for fun and profit #

Patch Set 6 : #

Total comments: 21

Patch Set 7 : address feedback + rebase #

Patch Set 8 : fix up java_strings_grd #

Patch Set 9 : update DoZip in build_utils #

Patch Set 10 : add manifest and move common settings into separate .mk file #

Patch Set 11 : #

Patch Set 12 : don't remove the old resources build yet #

Patch Set 13 : add missing .mk file #

Patch Set 14 : update comment #

Patch Set 15 : don't build the new way yet... #

Patch Set 16 : add missing headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -71 lines) Patch
M android_webview/Android.mk View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +24 lines, -60 lines 0 comments Download
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +23 lines, -1 line 0 comments Download
A android_webview/build/AndroidManifest.xml View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
A android_webview/build/jarjar_resources.gypi View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A android_webview/build/resources_config.mk View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +17 lines, -0 lines 0 comments Download
A android_webview/java_library_common.mk View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +65 lines, -0 lines 0 comments Download
M base/android/jni_generator/jni_generator.py View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -8 lines 0 comments Download
M base/android/jni_generator/jni_generator_tests.py View 1 2 3 4 5 6 1 chunk +10 lines, -1 line 0 comments Download
M base/android/jni_generator/testJarJarRemapping.golden View 1 2 3 4 5 6 2 chunks +25 lines, -1 line 0 comments Download
A build/android/gyp/jarjar_resources.py View 1 2 3 4 5 6 7 8 1 chunk +121 lines, -0 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ui/android/ui_android.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
mkosiba (inactive)
<blinky text> this is work in progress </blinky text> So I've started moving the ui/android ...
6 years, 8 months ago (2014-04-24 17:14:19 UTC) #1
newt (away)
On 2014/04/24 17:14:19, mkosiba wrote: > <blinky text> this is work in progress </blinky text> ...
6 years, 8 months ago (2014-04-24 17:41:03 UTC) #2
mkosiba (inactive)
+cjhopman Chris, I think you wrote some of the build stuff. On 2014/04/24 17:41:03, newt ...
6 years, 8 months ago (2014-04-25 12:44:07 UTC) #3
mkosiba (inactive)
dammit, hit enter with the focus in the wrong place. I was wondering whether we ...
6 years, 8 months ago (2014-04-25 13:10:29 UTC) #4
newt (away)
On 2014/04/25 12:44:07, mkosiba wrote: > +cjhopman > Chris, I think you wrote some of ...
6 years, 8 months ago (2014-04-25 16:48:38 UTC) #5
mkosiba (inactive)
On 2014/04/25 16:48:38, newt wrote: > On 2014/04/25 12:44:07, mkosiba wrote: > > > namespace ...
6 years, 7 months ago (2014-04-29 16:55:22 UTC) #6
mkosiba (inactive)
On 2014/04/29 16:55:22, mkosiba wrote: > I'm going to try and create a separate ui_java_resourceless ...
6 years, 7 months ago (2014-04-30 18:34:55 UTC) #7
mkosiba (inactive)
On 2014/04/30 18:34:55, mkosiba wrote: > Soo... turns out all_dependent_settings are magic and overriding their ...
6 years, 7 months ago (2014-05-06 20:48:25 UTC) #8
newt (away)
What happens if a Java target (A) directly depends on two other Java targets (B ...
6 years, 7 months ago (2014-05-07 04:39:50 UTC) #9
mkosiba (inactive)
On 2014/05/07 04:39:50, newt wrote: > What happens if a Java target (A) directly depends ...
6 years, 7 months ago (2014-05-07 18:51:47 UTC) #10
cjhopman
First, do we understand why Android can't support what we are doing? Second, I really ...
6 years, 7 months ago (2014-05-07 19:37:07 UTC) #11
mkosiba (inactive)
I just had a meeting with Newt on this. The conclusions we came to are: ...
6 years, 7 months ago (2014-05-07 22:40:21 UTC) #12
mkosiba (inactive)
ok, sweet! looks like it's totally possible to do this with jarjar. Generating the jarjar ...
6 years, 7 months ago (2014-05-08 17:19:42 UTC) #13
newt (away)
On 2014/05/08 17:19:42, mkosiba wrote: > ok, sweet! looks like it's totally possible to do ...
6 years, 7 months ago (2014-05-08 17:33:16 UTC) #14
mkosiba (inactive)
On 2014/05/08 17:33:16, newt wrote: > On 2014/05/08 17:19:42, mkosiba wrote: > > ok, sweet! ...
6 years, 7 months ago (2014-05-08 18:15:07 UTC) #15
mkosiba (inactive)
Hey guys, PTAL (please take another look ;) newt/cjhopman - please review the build changes. ...
6 years, 7 months ago (2014-05-12 17:35:49 UTC) #16
mkosiba (inactive)
+ torne and bulach for real this time torne - please review android_webview changes + ...
6 years, 7 months ago (2014-05-12 17:36:51 UTC) #17
newt (away)
lgtm after a few small comments. Didn't look at the Android.mk file. https://codereview.chromium.org/255613003/diff/100001/android_webview/android_webview.gyp File android_webview/android_webview.gyp ...
6 years, 7 months ago (2014-05-12 20:11:22 UTC) #18
bulach
lgtm, tiny suggestions below: https://codereview.chromium.org/255613003/diff/100001/build/android/gyp/jarjar_resources.py File build/android/gyp/jarjar_resources.py (right): https://codereview.chromium.org/255613003/diff/100001/build/android/gyp/jarjar_resources.py#newcode13 build/android/gyp/jarjar_resources.py:13: nit: need another \n, i.e., ...
6 years, 7 months ago (2014-05-13 08:42:39 UTC) #19
Torne
android_webview/ and general gyp stuff looks reasonable in general. Just one comment... https://codereview.chromium.org/255613003/diff/100001/android_webview/android_webview.gyp File android_webview/android_webview.gyp ...
6 years, 7 months ago (2014-05-13 13:46:51 UTC) #20
cjhopman
lgtm, with a couple small nitty things https://codereview.chromium.org/255613003/diff/100001/android_webview/build/jarjar_resources.gypi File android_webview/build/jarjar_resources.gypi (right): https://codereview.chromium.org/255613003/diff/100001/android_webview/build/jarjar_resources.gypi#newcode9 android_webview/build/jarjar_resources.gypi:9: # { ...
6 years, 7 months ago (2014-05-13 16:41:31 UTC) #21
mkosiba (inactive)
Marcus, I needed to make more JNI generator changes. Could you take a quick look? ...
6 years, 6 months ago (2014-06-12 11:11:19 UTC) #22
bulach
lgtm for jni changes, thanks!
6 years, 6 months ago (2014-06-12 12:46:32 UTC) #23
mkosiba (inactive)
cjhopman@, could you take a look at build/java_strings_grd.gypi? The webview doesn't need the zip step ...
6 years, 6 months ago (2014-06-12 22:35:14 UTC) #24
cjhopman
On 2014/06/12 22:35:14, mkosiba wrote: > cjhopman@, could you take a look at build/java_strings_grd.gypi? > ...
6 years, 6 months ago (2014-06-12 22:56:56 UTC) #25
mkosiba (inactive)
On 2014/06/12 22:56:56, cjhopman wrote: > On 2014/06/12 22:35:14, mkosiba wrote: > > cjhopman@, could ...
6 years, 6 months ago (2014-06-13 17:18:40 UTC) #26
cjhopman
lgtm
6 years, 6 months ago (2014-06-13 17:40:10 UTC) #27
mkosiba (inactive)
jam, could you stamp the content.gyp change please?
6 years, 6 months ago (2014-06-20 16:45:31 UTC) #28
Torne
Android makefile changes LGTM
6 years, 6 months ago (2014-06-20 17:20:54 UTC) #29
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 6 months ago (2014-06-20 19:11:39 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/255613003/280001
6 years, 6 months ago (2014-06-20 19:13:09 UTC) #31
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 6 months ago (2014-06-20 19:23:35 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/255613003/300001
6 years, 6 months ago (2014-06-20 19:27:56 UTC) #33
jam
lgtm
6 years, 6 months ago (2014-06-20 20:05:35 UTC) #34
mkosiba (inactive)
The CQ bit was unchecked by mkosiba@chromium.org
6 years, 6 months ago (2014-06-20 22:17:41 UTC) #35
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 6 months ago (2014-06-20 22:18:51 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/255613003/300001
6 years, 6 months ago (2014-06-20 22:21:20 UTC) #37
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 22:47:25 UTC) #38
Message was sent while issue was closed.
Change committed as 278849

Powered by Google App Engine
This is Rietveld 408576698