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

Issue 164193010: android envsetup: Use gyp defines instead of env vars for sdk root and sdk tools. (Closed)

Created:
6 years, 10 months ago by Nico
Modified:
6 years, 10 months ago
Reviewers:
Yaron, Torne
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

android envsetup: Use gyp defines instead of env vars for sdk root and sdk tools. If ANDROID_SDK_ROOT is set, it's still added to the path for now, but it's no longer passed to gyp. If you want to set a custom sdk root, call gyp like "build/gyp_chromium -Dandroid_sdk_root=path". If ANDROID_SDK_ROOT is not set, it's still getting exported with a default value that's identical to the default value of gyp's android_sdk_root variable. ANDROID_SDK_TOOLS and ANDROID_SDK_BUILD_TOOLS_VERSION are now completely ignored. Set the android_sdk_tools or android_sdk_build_tools_version gyp defines instead if you need to change either. If they are not set, envsetup no longer sets them. (Dependent on an internal that changes a bot to set these gyp defines in addition to the env vars.) BUG=330631 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251904

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : sepvar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -17 lines) Patch
M build/android/envsetup_functions.sh View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M build/android/pylib/constants.py View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M build/common.gypi View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Nico
6 years, 10 months ago (2014-02-15 06:33:40 UTC) #1
Torne
https://codereview.chromium.org/164193010/diff/60001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/164193010/diff/60001/build/common.gypi#newcode1404 build/common.gypi:1404: 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_version).0.0', I don't think this is correct; I ...
6 years, 10 months ago (2014-02-17 12:14:19 UTC) #2
Nico
https://codereview.chromium.org/164193010/diff/60001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/164193010/diff/60001/build/common.gypi#newcode1404 build/common.gypi:1404: 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_version).0.0', On 2014/02/17 12:14:19, Torne wrote: > I ...
6 years, 10 months ago (2014-02-17 16:20:20 UTC) #3
Torne
On 2014/02/17 16:20:20, Nico (away Feb 11 - Feb 17) wrote: > https://codereview.chromium.org/164193010/diff/60001/build/common.gypi > File ...
6 years, 10 months ago (2014-02-17 16:46:21 UTC) #4
Nico
Yaron, do you know if an android sdk version upgrade always implies an android sdk ...
6 years, 10 months ago (2014-02-17 16:57:27 UTC) #5
Yaron
https://codereview.chromium.org/164193010/diff/60001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/164193010/diff/60001/build/common.gypi#newcode1404 build/common.gypi:1404: 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_version).0.0', On 2014/02/17 16:20:21, Nico wrote: > On ...
6 years, 10 months ago (2014-02-18 18:55:51 UTC) #6
Nico
Ok, changed the code and update the CL description. PTAL :-)
6 years, 10 months ago (2014-02-18 19:57:37 UTC) #7
Yaron
On 2014/02/18 19:57:37, Nico wrote: > Ok, changed the code and update the CL description. ...
6 years, 10 months ago (2014-02-18 23:02:13 UTC) #8
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 10 months ago (2014-02-18 23:27:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/164193010/270001
6 years, 10 months ago (2014-02-18 23:28:35 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 00:46:45 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266024
6 years, 10 months ago (2014-02-19 00:46:45 UTC) #12
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 10 months ago (2014-02-19 00:47:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/164193010/270001
6 years, 10 months ago (2014-02-19 00:50:21 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 00:52:54 UTC) #15
Message was sent while issue was closed.
Change committed as 251904

Powered by Google App Engine
This is Rietveld 408576698