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

Issue 12963009: Split apk-build.xml into 3 steps (Closed)

Created:
7 years, 9 months ago by cjhopman
Modified:
7 years, 9 months ago
Reviewers:
shashi, Yaron, Torne, brettw
CC:
chromium-reviews, jam, android-webview-reviews_chromium.org, joi+watch-content_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, darin-cc_chromium.org, klundberg+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Split apk-build.xml into 3 steps In preparation for rewriting these actions in python, split apk-build.xml into smaller ant scripts. This should not change the functionality and mostly is just splitting the file and identifying the properties and defines required for each of the new files. Some of the configuration is moved out of ant and into gyp (i.e. the android_manifest_path is now gyp-configurable). Also, the ant scripts now use the correct basedir! That is, these ant scripts actually understand relative paths. To go along with this, resource_dir is the relative path to the resource directory (rather than a path relative to java_in_dir). BUG=158821 TBR=torne@chromium.org, brettw@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190712

Patch Set 1 : #

Patch Set 2 : Fix webview #

Total comments: 10

Patch Set 3 : Include classes.dex in apk #

Total comments: 9

Patch Set 4 : #

Patch Set 5 : Fix create-test-jar.js #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -700 lines) Patch
M android_webview/android_webview_tests.gypi View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
D build/android/ant/apk-build.xml View 1 chunk +0 lines, -605 lines 0 comments Download
A build/android/ant/apk-codegen.xml View 1 chunk +112 lines, -0 lines 0 comments Download
A build/android/ant/apk-compile.xml View 1 chunk +247 lines, -0 lines 0 comments Download
A build/android/ant/apk-package.xml View 1 2 3 1 chunk +201 lines, -0 lines 0 comments Download
D build/android/ant/chromium-apk.xml View 1 chunk +0 lines, -28 lines 0 comments Download
M build/android/ant/create-test-jar.js View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A build/android/empty_proguard.flags View 1 chunk +1 line, -0 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 5 8 chunks +129 lines, -55 lines 0 comments Download
M chrome/chrome_android.gypi View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
cjhopman
7 years, 9 months ago (2013-03-22 01:50:06 UTC) #1
shashi
lgtm https://codereview.chromium.org/12963009/diff/7001/build/java_apk.gypi File build/java_apk.gypi (right): https://codereview.chromium.org/12963009/diff/7001/build/java_apk.gypi#newcode75 build/java_apk.gypi:75: 'asset_location%': '<(intermediate_dir)/<(_target_name)/assets', Does the default assets folder has ...
7 years, 9 months ago (2013-03-22 04:18:05 UTC) #2
Yaron
lgtm https://codereview.chromium.org/12963009/diff/17001/android_webview/android_webview_tests.gypi File android_webview/android_webview_tests.gypi (left): https://codereview.chromium.org/12963009/diff/17001/android_webview/android_webview_tests.gypi#oldcode17 android_webview/android_webview_tests.gypi:17: 'java_in_dir': '../android_webview/javatests', Nice to see this fixed! https://codereview.chromium.org/12963009/diff/17001/build/android/ant/apk-codegen.xml ...
7 years, 9 months ago (2013-03-22 22:32:35 UTC) #3
cjhopman
https://codereview.chromium.org/12963009/diff/7001/build/java_apk.gypi File build/java_apk.gypi (right): https://codereview.chromium.org/12963009/diff/7001/build/java_apk.gypi#newcode75 build/java_apk.gypi:75: 'asset_location%': '<(intermediate_dir)/<(_target_name)/assets', On 2013/03/22 04:18:06, shashi wrote: > Does ...
7 years, 9 months ago (2013-03-25 17:38:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/12963009/24001
7 years, 9 months ago (2013-03-25 18:06:59 UTC) #5
commit-bot: I haz the power
Presubmit check for 12963009-24001 failed and returned exit status 1. INFO:root:Found 10 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 9 months ago (2013-03-25 18:07:05 UTC) #6
cjhopman
torne@, brettw@: TBR for OWNERS
7 years, 9 months ago (2013-03-25 18:51:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/12963009/33002
7 years, 9 months ago (2013-03-25 20:19:40 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/12963009/33002
7 years, 9 months ago (2013-03-26 07:08:55 UTC) #9
commit-bot: I haz the power
Failed to apply patch for build/java_apk.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-26 10:00:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/12963009/47001
7 years, 9 months ago (2013-03-26 17:28:32 UTC) #11
commit-bot: I haz the power
7 years, 9 months ago (2013-03-26 17:35:22 UTC) #12
Message was sent while issue was closed.
Change committed as 190712

Powered by Google App Engine
This is Rietveld 408576698