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

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

Issue 118803004: Add option to compile out DCHECKs in android webview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | no next file » | 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 DEFINES+=" android_sdk=\$(PWD)/${ANDROID_SDK}" 314 DEFINES+=" android_sdk=\$(PWD)/${ANDROID_SDK}"
315 DEFINES+=" android_sdk_root=\$(PWD)/${ANDROID_SDK}" 315 DEFINES+=" android_sdk_root=\$(PWD)/${ANDROID_SDK}"
316 DEFINES+=" android_sdk_tools=\$(PWD)/${ANDROID_SDK_TOOLS}" 316 DEFINES+=" android_sdk_tools=\$(PWD)/${ANDROID_SDK_TOOLS}"
317 DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}" 317 DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}"
318 DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}" 318 DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}"
319 if [[ -n "$CHROME_ANDROID_WEBVIEW_ENABLE_DMPROF" ]]; then 319 if [[ -n "$CHROME_ANDROID_WEBVIEW_ENABLE_DMPROF" ]]; then
320 DEFINES+=" disable_debugallocation=1" 320 DEFINES+=" disable_debugallocation=1"
321 DEFINES+=" android_full_debug=1" 321 DEFINES+=" android_full_debug=1"
322 DEFINES+=" android_use_tcmalloc=1" 322 DEFINES+=" android_use_tcmalloc=1"
323 fi 323 fi
324 if [[ -n "$CHROME_ANDROID_WEBVIEW_OFFICIAL_BUILD" ]]; then
boliu 2013/12/19 19:45:24 I tried just re-using CHROME_ANDROID_OFFICIAL_BUIL
Nico 2014/01/13 19:55:58 What's the problem with this? All the desktop chro
325 DEFINES+=" logging_like_official_build=1"
326 DEFINES+=" tracing_like_official_build=1"
327 fi
324 export GYP_DEFINES="${DEFINES}" 328 export GYP_DEFINES="${DEFINES}"
325 329
326 export GYP_GENERATORS="android" 330 export GYP_GENERATORS="android"
327 331
328 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All" 332 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All"
329 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1" 333 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1"
330 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} auto_regeneration=0" 334 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} auto_regeneration=0"
331 335
332 export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp" 336 export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp"
333 } 337 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698