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

Side by Side Diff: build/android/envsetup_functions.sh

Issue 12730006: Android: rename android_build_type gyp variable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add bug # to comments Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/cpufeatures.gypi ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Defines functions for envsetup.sh which sets up environment for building 7 # Defines functions for envsetup.sh which sets up environment for building
8 # Chromium on Android. The build can be either use the Android NDK/SDK or 8 # Chromium on Android. The build can be either use the Android NDK/SDK or
9 # android source tree. Each has a unique init function which calls functions 9 # android source tree. Each has a unique init function which calls functions
10 # prefixed with "common_" that is common for both environment setups. 10 # prefixed with "common_" that is common for both environment setups.
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 print os.path.relpath('${ANDROID_SDK_ROOT}/../tools/linux', \ 277 print os.path.relpath('${ANDROID_SDK_ROOT}/../tools/linux', \
278 '${ANDROID_BUILD_TOP}')") 278 '${ANDROID_BUILD_TOP}')")
279 ;; 279 ;;
280 "mac") 280 "mac")
281 ANDROID_SDK_TOOLS=$(python -c \ 281 ANDROID_SDK_TOOLS=$(python -c \
282 "import os.path; \ 282 "import os.path; \
283 print os.path.relpath('${ANDROID_SDK_ROOT}/../tools/darwin', \ 283 print os.path.relpath('${ANDROID_SDK_ROOT}/../tools/darwin', \
284 '${ANDROID_BUILD_TOP}')") 284 '${ANDROID_BUILD_TOP}')")
285 ;; 285 ;;
286 esac 286 esac
287 DEFINES+=" android_webview_build=1"
288 # temporary until all uses of android_build_type are gone (crbug.com/184431)
287 DEFINES+=" android_build_type=1" 289 DEFINES+=" android_build_type=1"
288 DEFINES+=" android_src=\$(GYP_ABS_ANDROID_TOP_DIR)" 290 DEFINES+=" android_src=\$(GYP_ABS_ANDROID_TOP_DIR)"
289 DEFINES+=" android_sdk=\$(GYP_ABS_ANDROID_TOP_DIR)/${ANDROID_SDK}" 291 DEFINES+=" android_sdk=\$(GYP_ABS_ANDROID_TOP_DIR)/${ANDROID_SDK}"
290 DEFINES+=" android_sdk_root=\$(GYP_ABS_ANDROID_TOP_DIR)/${ANDROID_SDK}" 292 DEFINES+=" android_sdk_root=\$(GYP_ABS_ANDROID_TOP_DIR)/${ANDROID_SDK}"
291 DEFINES+=" android_sdk_tools=\$(GYP_ABS_ANDROID_TOP_DIR)/${ANDROID_SDK_TOOLS}" 293 DEFINES+=" android_sdk_tools=\$(GYP_ABS_ANDROID_TOP_DIR)/${ANDROID_SDK_TOOLS}"
292 DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}" 294 DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}"
293 DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}" 295 DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}"
294 export GYP_DEFINES="${DEFINES}" 296 export GYP_DEFINES="${DEFINES}"
295 297
296 export GYP_GENERATORS="android" 298 export GYP_GENERATORS="android"
297 299
298 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All" 300 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All"
299 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1" 301 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1"
300 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} auto_regeneration=0" 302 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} auto_regeneration=0"
301 303
302 export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp" 304 export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp"
303 } 305 }
OLDNEW
« no previous file with comments | « build/android/cpufeatures.gypi ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698