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

Issue 659493003: Final step of the java_cpp_template -> java_cpp_enum migration. (Closed)

Created:
6 years, 2 months ago by mkosiba (inactive)
Modified:
6 years, 2 months ago
CC:
android-webview-reviews_chromium.org, avayvod+watch_chromium.org, browser-components-watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, feature-media-reviews_chromium.org, gavinp+memory_chromium.org, jam, klundberg+watch_chromium.org, maniscalco+watch_chromium.org, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, posciak+watch_chromium.org, pvalenzuela+watch_chromium.org, qinmin, tfarina, tim+watch_chromium.org, wjia+watch_chromium.org, yfriedman+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Final step of the java_cpp_template -> java_cpp_enum migration. This CL migrates the remaining gyp/gn rules away from the java_cpp_template rule. BUG=405532 Committed: https://crrev.com/dfdc7fb2bcde7ea4a9458967fdc5f7fa15abb3fa Cr-Commit-Position: refs/heads/master@{#300881}

Patch Set 1 #

Patch Set 2 : delete some more template files #

Total comments: 23

Patch Set 3 : address feedback + fix aosp #

Total comments: 6

Patch Set 4 : mmenke+yfriedman feedback + more aosp fixes + don't run tests as part of the build #

Total comments: 2

Patch Set 5 : cjhopman feedback #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+591 lines, -834 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M android_webview/java_library_common.mk View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M android_webview/libwebviewchromium.gypi View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M base/BUILD.gn View 1 2 3 4 5 6 2 chunks +8 lines, -20 lines 0 comments Download
D base/android/application_state_list.h View 1 chunk +0 lines, -17 lines 0 comments Download
M base/android/application_status_listener.h View 1 chunk +11 lines, -3 lines 0 comments Download
D base/android/java/src/org/chromium/base/ApplicationState.template View 1 1 chunk +0 lines, -14 lines 0 comments Download
D base/android/java/src/org/chromium/base/MemoryPressureLevelList.template View 1 chunk +0 lines, -12 lines 0 comments Download
M base/android/java/src/org/chromium/base/MemoryPressureListener.java View 2 chunks +3 lines, -3 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 6 7 2 chunks +8 lines, -20 lines 0 comments Download
D base/memory/memory_pressure_level_list.h View 1 chunk +0 lines, -19 lines 0 comments Download
M base/memory/memory_pressure_listener.h View 1 2 1 chunk +10 lines, -3 lines 0 comments Download
M build/android/gyp/java_cpp_enum.py View 1 2 3 4 7 chunks +64 lines, -30 lines 0 comments Download
M build/android/gyp/java_cpp_enum_tests.py View 1 2 3 4 6 chunks +122 lines, -16 lines 0 comments Download
M build/android/java_cpp_template.gypi View 2 chunks +4 lines, -1 line 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M build/get_landmines.py View 1 2 3 4 7 1 chunk +1 line, -2 lines 0 comments Download
M chrome/android/BUILD.gn View 1 2 3 4 5 6 3 chunks +18 lines, -55 lines 0 comments Download
D chrome/android/java/ActivityTypeIds.template View 1 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/android/java/ModelTypeSelection.template View 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/android/java/ProfileAccountManagementMetrics.template View 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/android/java/TabLoadStatus.template View 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/android/java/ToolbarModelSecurityLevel.template View 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/android/activity_type_id_list.h View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/android/activity_type_ids.h View 1 2 3 1 chunk +18 lines, -4 lines 0 comments Download
M chrome/browser/android/bookmarks/bookmarks_bridge.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
D chrome/browser/android/tab_load_status.h View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_metrics.h View 4 1 chunk +24 lines, -6 lines 0 comments Download
D chrome/browser/profiles/profile_metrics_list.h View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.cc View 1 2 3 4 5 6 1 chunk +20 lines, -4 lines 0 comments Download
D chrome/browser/sync/profile_sync_service_model_type_selection_android.h View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model.h View 1 chunk +25 lines, -3 lines 0 comments Download
D chrome/browser/ui/toolbar/toolbar_model_security_level_list.h View 1 chunk +0 lines, -33 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 2 chunks +15 lines, -35 lines 0 comments Download
M components/bookmarks.gypi View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download
M components/bookmarks/common/android/BUILD.gn View 1 chunk +4 lines, -5 lines 0 comments Download
M components/bookmarks/common/android/bookmark_type.h View 1 chunk +4 lines, -3 lines 0 comments Download
D components/bookmarks/common/android/bookmark_type_list.h View 1 chunk +0 lines, -13 lines 0 comments Download
M components/bookmarks/common/android/java/src/org/chromium/components/bookmarks/BookmarkId.java View 3 chunks +5 lines, -5 lines 0 comments Download
D components/bookmarks/common/android/java/src/org/chromium/components/bookmarks/BookmarkType.template View 1 chunk +0 lines, -13 lines 0 comments Download
M components/cronet.gypi View 1 2 3 4 5 6 3 chunks +5 lines, -23 lines 0 comments Download
M components/cronet/android/chromium_url_request.h View 1 2 3 1 chunk +20 lines, -6 lines 0 comments Download
D components/cronet/android/chromium_url_request_error_list.h View 1 chunk +0 lines, -14 lines 0 comments Download
D components/cronet/android/chromium_url_request_priority_list.h View 1 chunk +0 lines, -14 lines 0 comments Download
D components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestError.template View 1 chunk +0 lines, -14 lines 0 comments Download
D components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestPriority.template View 1 chunk +0 lines, -14 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/WebContentsObserver.java View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/LoadUrlParams.java View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/BUILD.gn View 2 chunks +5 lines, -6 lines 0 comments Download
D media/base/android/java/src/org/chromium/media/AndroidImageFormat.template View 1 1 chunk +0 lines, -12 lines 0 comments Download
M media/base/android/java/src/org/chromium/media/VideoCapture.java View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 2 chunks +5 lines, -9 lines 0 comments Download
M media/video/capture/android/video_capture_device_android.h View 1 chunk +8 lines, -3 lines 0 comments Download
M media/video/capture/android/video_capture_device_android.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/video/capture/android/video_capture_device_factory_android.h View 1 chunk +0 lines, -6 lines 0 comments Download
M media/video/capture/android/video_capture_device_factory_android.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ui/android/BUILD.gn View 2 chunks +2 lines, -11 lines 0 comments Download
D ui/android/java/PageTransitionTypes.template View 1 chunk +0 lines, -12 lines 0 comments Download
M ui/android/ui_android.gyp View 1 chunk +2 lines, -6 lines 0 comments Download
M ui/base/page_transition_types.h View 1 1 chunk +132 lines, -5 lines 0 comments Download
D ui/base/page_transition_types_list.h View 1 chunk +0 lines, -137 lines 0 comments Download

Messages

Total messages: 40 (13 generated)
mkosiba (inactive)
PTAL Other than the changes under build/ this should just be a mechanical change (and ...
6 years, 2 months ago (2014-10-14 18:07:28 UTC) #2
sky
ui (no ui/android) and components/bookmarks.gypi LGTM. Please get a more local owner for ui/android.
6 years, 2 months ago (2014-10-14 19:51:28 UTC) #3
Lei Zhang
yfriedman: I would suggest making a pass over base/android/* in case I missed anything. https://codereview.chromium.org/659493003/diff/20001/base/base.gyp ...
6 years, 2 months ago (2014-10-14 22:52:40 UTC) #4
Yaron
https://codereview.chromium.org/659493003/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/659493003/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode61 android_webview/java/src/org/chromium/android_webview/AwContents.java:61: import org.chromium.ui.base.PageTransition; I bet this impacts the internal repo ...
6 years, 2 months ago (2014-10-15 02:36:49 UTC) #7
mkosiba (inactive)
https://codereview.chromium.org/659493003/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/659493003/diff/20001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode61 android_webview/java/src/org/chromium/android_webview/AwContents.java:61: import org.chromium.ui.base.PageTransition; On 2014/10/15 02:36:49, Yaron wrote: > I ...
6 years, 2 months ago (2014-10-15 09:46:08 UTC) #8
mmenke
I'm only an owner of the portion of profiles/ that relates to ProfileIOData, so you'll ...
6 years, 2 months ago (2014-10-15 13:33:12 UTC) #9
Yaron
https://codereview.chromium.org/659493003/diff/20001/chrome/browser/android/activity_type_id_list.h File chrome/browser/android/activity_type_id_list.h (left): https://codereview.chromium.org/659493003/diff/20001/chrome/browser/android/activity_type_id_list.h#oldcode8 chrome/browser/android/activity_type_id_list.h:8: // Define Activities we are interested in tracking. IDs ...
6 years, 2 months ago (2014-10-15 18:31:58 UTC) #10
Lei Zhang
base and chrome lgtm
6 years, 2 months ago (2014-10-15 18:40:16 UTC) #11
mkosiba (inactive)
On 2014/10/14 19:51:28, sky wrote: > ui (no ui/android) and components/bookmarks.gypi LGTM. Please get a ...
6 years, 2 months ago (2014-10-16 12:45:07 UTC) #13
mmenke
[+mef] Handing off the cronet part of the review to mef.
6 years, 2 months ago (2014-10-16 15:30:35 UTC) #15
Yaron
On 2014/10/16 15:30:35, mmenke wrote: > [+mef] Handing off the cronet part of the review ...
6 years, 2 months ago (2014-10-16 15:57:21 UTC) #16
noms (inactive)
profiles lgtm
6 years, 2 months ago (2014-10-16 16:40:00 UTC) #17
newt (away)
ui/android lgtm
6 years, 2 months ago (2014-10-16 16:45:03 UTC) #18
cjhopman
build/ lgtm https://codereview.chromium.org/659493003/diff/20001/build/get_landmines.py File build/get_landmines.py (right): https://codereview.chromium.org/659493003/diff/20001/build/get_landmines.py#newcode62 build/get_landmines.py:62: print 'Delete stale generated .java files again. ...
6 years, 2 months ago (2014-10-16 16:54:51 UTC) #19
mef
components/cronet lgtm. Cronet builds and tests pass.
6 years, 2 months ago (2014-10-16 17:42:45 UTC) #20
mkosiba (inactive)
vrk - ping? https://codereview.chromium.org/659493003/diff/60001/build/android/gyp/java_cpp_enum.py File build/android/gyp/java_cpp_enum.py (right): https://codereview.chromium.org/659493003/diff/60001/build/android/gyp/java_cpp_enum.py#newcode138 build/android/gyp/java_cpp_enum.py:138: current_definition.prefix_to_strip = self._GetCurrentEnumPrefixToStrip() On 2014/10/16 16:54:51, ...
6 years, 2 months ago (2014-10-20 15:09:06 UTC) #21
mkosiba (inactive)
+ddorwin for media/ are all of the media owners out on vacation or something?
6 years, 2 months ago (2014-10-21 09:51:10 UTC) #23
mcasas
media/base/android/java/src/org/chromium/media/* and media/video/capture/android/* LGTM (I should be an OWNER, but a recent one, and does ...
6 years, 2 months ago (2014-10-21 10:56:04 UTC) #25
ddorwin
media/ LGTM
6 years, 2 months ago (2014-10-21 16:08:18 UTC) #26
mkosiba (inactive)
On 2014/10/21 16:08:18, ddorwin wrote: > media/ LGTM Thanks!
6 years, 2 months ago (2014-10-21 17:21:39 UTC) #27
mkosiba (inactive)
+jochen TBR for content/renderer
6 years, 2 months ago (2014-10-23 09:12:53 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659493003/140001
6 years, 2 months ago (2014-10-23 09:14:14 UTC) #31
jochen (gone - plz use gerrit)
lgtm
6 years, 2 months ago (2014-10-23 09:39:31 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32 on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32/builds/4032)
6 years, 2 months ago (2014-10-23 09:47:41 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659493003/140001
6 years, 2 months ago (2014-10-23 12:02:21 UTC) #38
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years, 2 months ago (2014-10-23 13:56:22 UTC) #39
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 13:57:02 UTC) #40
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/dfdc7fb2bcde7ea4a9458967fdc5f7fa15abb3fa
Cr-Commit-Position: refs/heads/master@{#300881}

Powered by Google App Engine
This is Rietveld 408576698