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

Issue 11308030: Use _target_name instead of package_name for java*.gypi (Closed)

Created:
8 years, 1 month ago by cjhopman
Modified:
7 years, 10 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, jam, ilevy+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, darin-cc_chromium.org, peter+watch_chromium.org, erikwright+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@apk_jar
Visibility:
Public.

Description

Use _target_name instead of package_name for java*.gypi We were using package_name as a unique name for naming output files and directories. package_name was typically the same as _target_name or a variation of it (like dropping _apk). Using _target_name instead means we need to specify one less thing and it is (maybe?) guaranteed to be unique. TBR=brettw,joi,jar,fischman,zea,sky BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183639

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : large rebase + address some comments #

Patch Set 4 : Large rebase #

Patch Set 5 : Fix android_webview_apk #

Patch Set 6 : And fix android_webview_test_apk #

Total comments: 1

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -111 lines) Patch
M android_webview/Android.mk View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M android_webview/android_webview.gyp View 1 2 3 4 5 6 3 chunks +5 lines, -4 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M base/base.gyp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M build/android/ant/chromium-apk.xml View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M build/android/ant/chromium-jars.xml View 1 2 3 4 chunks +16 lines, -24 lines 0 comments Download
M build/java.gypi View 1 2 3 4 5 6 7 chunks +17 lines, -19 lines 0 comments Download
M build/java_aidl.gypi View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 7 chunks +8 lines, -18 lines 0 comments Download
M build/protoc_java.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M components/navigation_interception.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/web_contents_delegate_android.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/content.gyp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 3 chunks +0 lines, -3 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 3 chunks +0 lines, -3 lines 0 comments Download
M sync/sync_android.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M sync/sync_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/cacheinvalidation/cacheinvalidation.gyp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/eyesfree/eyesfree.gyp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/guava/guava.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/jsr-305/jsr-305.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/protobuf/protobuf.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M tools/android/findbugs_plugin/findbugs_plugin.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M ui/ui.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
cjhopman
8 years, 1 month ago (2012-11-07 23:30:51 UTC) #1
Yaron
Looks like a nice clean up. Please verify a clean build is fine. It'll lead ...
8 years, 1 month ago (2012-11-08 02:43:11 UTC) #2
Torne
Just a quick note; gyp target names are not guaranteed to be unique (and aren't, ...
8 years, 1 month ago (2012-11-08 12:41:38 UTC) #3
cjhopman
https://codereview.chromium.org/11308030/diff/1/build/android/ant/chromium-apk.xml File build/android/ant/chromium-apk.xml (right): https://codereview.chromium.org/11308030/diff/1/build/android/ant/chromium-apk.xml#newcode23 build/android/ant/chromium-apk.xml:23: <property-location On 2012/11/08 02:43:11, Yaron wrote: > Nit: can ...
8 years ago (2012-12-05 00:51:04 UTC) #4
Yaron
lgtm +Peter. I don't believe this will break anything for webkit but probably worth a ...
8 years ago (2012-12-05 21:58:16 UTC) #5
cjhopman
torne: android_webview/ yaron: take another look if you like... rebase mostly just added more *_java ...
7 years, 10 months ago (2013-02-19 23:52:55 UTC) #6
Torne
android_webview/ LGTM
7 years, 10 months ago (2013-02-20 10:57:27 UTC) #7
cjhopman
TBRed removals of 'package_name' variable from targets brettw: chrome/, content/, third_party/ joi: components/ fischman: media/ ...
7 years, 10 months ago (2013-02-20 17:46:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/11308030/57001
7 years, 10 months ago (2013-02-20 17:47:02 UTC) #9
commit-bot: I haz the power
Failed to apply patch for android_webview/Android.mk: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-20 17:47:13 UTC) #10
Ami GONE FROM CHROMIUM
lgtm
7 years, 10 months ago (2013-02-20 17:48:38 UTC) #11
sky
LGTM
7 years, 10 months ago (2013-02-20 18:17:36 UTC) #12
brettw
I don't understand this at all so LGTM.
7 years, 10 months ago (2013-02-20 18:24:15 UTC) #13
Nicolas Zea
lgtm
7 years, 10 months ago (2013-02-20 18:25:42 UTC) #14
Yaron
https://codereview.chromium.org/11308030/diff/57001/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/11308030/diff/57001/build/java.gypi#newcode176 build/java.gypi:176: '-DTARGET_NAME=<(_target_name)', Where is TARGET_NAME used?
7 years, 10 months ago (2013-02-20 18:42:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/11308030/74002
7 years, 10 months ago (2013-02-20 20:38:11 UTC) #16
commit-bot: I haz the power
Change committed as 183639
7 years, 10 months ago (2013-02-20 22:39:19 UTC) #17
Jói
7 years, 10 months ago (2013-02-21 11:47:49 UTC) #18
LGTM for components/

On Wed, Feb 20, 2013 at 10:39 PM,  <commit-bot@chromium.org> wrote:
> Change committed as 183639
>
> https://chromiumcodereview.appspot.com/11308030/

Powered by Google App Engine
This is Rietveld 408576698