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

Unified Diff: build/common.gypi

Issue 10831381: Change Android build configurations (step 3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/test_options_parser.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 2c4f2c1c65f75d354a59d053de648b57d93c5f85..5ac58b68ea019e758304d19373a61976fa846d4d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -851,6 +851,12 @@
# Native Client is enabled by default.
'disable_nacl%': 0,
+ # Whether to build full debug version for Debug configuration on Android.
+ # Compared to full debug version, the default Debug configuration on Android
+ # has no full v8 debug, has size optimization and linker gc section, so that
+ # we can build a debug version with acceptable size and performance.
+ 'android_full_debug%': 0,
+
'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))',
'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))',
@@ -1951,12 +1957,6 @@
}],
],
}],
- # TODO(wangxianzhu): Remove this. This is temporarily kept before
- # default build type switched to Debug.
- # Android enables DCHECK()s on non-Official release builds.
- ['OS=="android" and buildtype!="Official"', {
- 'defines!': ['NDEBUG'],
- }],
],
},
#
@@ -2041,7 +2041,7 @@
'-g',
],
'conditions' : [
- ['OS=="android"', {
+ ['OS=="android" and android_full_debug==0', {
# Some configurations are copied from Release_Base to reduce
# the binary size.
'variables': {
@@ -2517,12 +2517,6 @@
'libvpx_path': 'lib/linux/arm',
},
'target_defaults': {
- # TODO(wangxianzhu): We used to build Release version with DCHECK
- # by default. Now we build Release without DCHECK, and build Debug
- # with size optimizations. Remove the following line after everyone
- # knows how to deal with the change.
- 'default_configuration': 'Release',
-
'variables': {
'release_extra_cflags%': '',
},
« no previous file with comments | « build/android/pylib/test_options_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698