android envsetup: Move some webview-specific configuration into gyp_webview.
Engineers working on webview always call gyp_webview instead of gyp_chromium, so there's no need to keep these settings in env vars. BUG=330631 R=torne@chromium.org Review URL: https://codereview.chromium.org/151603005 git-svn-id: http://src.chromium.org/svn/trunk/src/build@248723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
b7d74d2d2a
Коммит
b5a2d10280
|
@ -108,7 +108,6 @@ export GYP_CROSSCOMPILE=1
|
||||||
android_gyp() {
|
android_gyp() {
|
||||||
# This is just a simple wrapper of gyp_chromium, please don't add anything
|
# This is just a simple wrapper of gyp_chromium, please don't add anything
|
||||||
# in this function.
|
# in this function.
|
||||||
echo "GYP_GENERATORS set to '$GYP_GENERATORS'"
|
|
||||||
(
|
(
|
||||||
"${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@"
|
"${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@"
|
||||||
)
|
)
|
||||||
|
|
|
@ -261,11 +261,4 @@ ${ANDROID_SDK_VERSION}
|
||||||
DEFINES+=" tracing_like_official_build=1"
|
DEFINES+=" tracing_like_official_build=1"
|
||||||
fi
|
fi
|
||||||
export GYP_DEFINES="${DEFINES}"
|
export GYP_DEFINES="${DEFINES}"
|
||||||
|
|
||||||
export GYP_GENERATORS="android"
|
|
||||||
|
|
||||||
export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All"
|
|
||||||
export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1"
|
|
||||||
|
|
||||||
export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp"
|
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче