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

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

Issue 18314006: Enable DMP for system Chromium WebView on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not indent preprocessor directives Created 7 years, 5 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
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 esac 290 esac
291 DEFINES+=" android_webview_build=1" 291 DEFINES+=" android_webview_build=1"
292 # temporary until all uses of android_build_type are gone (crbug.com/184431) 292 # temporary until all uses of android_build_type are gone (crbug.com/184431)
293 DEFINES+=" android_build_type=1" 293 DEFINES+=" android_build_type=1"
294 DEFINES+=" android_src=\$(PWD)" 294 DEFINES+=" android_src=\$(PWD)"
295 DEFINES+=" android_sdk=\$(PWD)/${ANDROID_SDK}" 295 DEFINES+=" android_sdk=\$(PWD)/${ANDROID_SDK}"
296 DEFINES+=" android_sdk_root=\$(PWD)/${ANDROID_SDK}" 296 DEFINES+=" android_sdk_root=\$(PWD)/${ANDROID_SDK}"
297 DEFINES+=" android_sdk_tools=\$(PWD)/${ANDROID_SDK_TOOLS}" 297 DEFINES+=" android_sdk_tools=\$(PWD)/${ANDROID_SDK_TOOLS}"
298 DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}" 298 DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}"
299 DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}" 299 DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}"
300 if [[ -n "$CHROME_ANDROID_WEBVIEW_ENABLE_DMPROF" ]]; then
301 DEFINES+=" disable_debugallocation=1"
302 DEFINES+=" android_full_debug=1"
303 DEFINES+=" android_use_tcmalloc=1"
304 fi
300 export GYP_DEFINES="${DEFINES}" 305 export GYP_DEFINES="${DEFINES}"
301 306
302 export GYP_GENERATORS="android" 307 export GYP_GENERATORS="android"
303 308
304 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All" 309 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} default_target=All"
305 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1" 310 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} limit_to_target_all=1"
306 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} auto_regeneration=0" 311 export GYP_GENERATOR_FLAGS="${GYP_GENERATOR_FLAGS} auto_regeneration=0"
307 312
308 export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp" 313 export CHROMIUM_GYP_FILE="${CHROME_SRC}/android_webview/all_webview.gyp"
309 } 314 }
OLDNEW
« no previous file with comments | « base/allocator/allocator.gyp ('k') | third_party/tcmalloc/chromium/src/base/linux_syscall_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698