| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # IMPORTANT: | 5 # IMPORTANT: |
| 6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
| 7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
| 8 { | 8 { |
| 9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
| 10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 | 636 |
| 637 # Do not enable the Settings App on ChromeOS. | 637 # Do not enable the Settings App on ChromeOS. |
| 638 ['enable_app_list==1 and chromeos==0', { | 638 ['enable_app_list==1 and chromeos==0', { |
| 639 'enable_settings_app%': 1, | 639 'enable_settings_app%': 1, |
| 640 }, { | 640 }, { |
| 641 'enable_settings_app%': 0, | 641 'enable_settings_app%': 0, |
| 642 }], | 642 }], |
| 643 | 643 |
| 644 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 644 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
| 645 # Set some defaults for arm/linux chrome builds | 645 # Set some defaults for arm/linux chrome builds |
| 646 'linux_breakpad%': 0, | |
| 647 'linux_use_tcmalloc%': 0, | 646 'linux_use_tcmalloc%': 0, |
| 648 # sysroot needs to be an absolute path otherwise it generates | 647 # sysroot needs to be an absolute path otherwise it generates |
| 649 # incorrect results when passed to pkg-config | 648 # incorrect results when passed to pkg-config |
| 650 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 649 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
| 651 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 650 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
| 652 | 651 |
| 653 ['linux_lsb_release=="12.04"', { | 652 ['linux_lsb_release=="12.04"', { |
| 654 'conditions': [ | 653 'conditions': [ |
| 655 ['target_arch=="x64"', { | 654 ['target_arch=="x64"', { |
| 656 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_amd64-sysroot', | 655 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_amd64-sysroot', |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 'gtest_target_type%': 'executable', | 972 'gtest_target_type%': 'executable', |
| 974 | 973 |
| 975 # Enable sampling based profiler. | 974 # Enable sampling based profiler. |
| 976 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 975 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
| 977 'profiling%': '0', | 976 'profiling%': '0', |
| 978 # Profile without optimizing out stack frames when profiling==1. | 977 # Profile without optimizing out stack frames when profiling==1. |
| 979 'profiling_full_stack_frames%': '0', | 978 'profiling_full_stack_frames%': '0', |
| 980 | 979 |
| 981 # Enable strict glibc debug mode. | 980 # Enable strict glibc debug mode. |
| 982 'glibcxx_debug%': 0, | 981 'glibcxx_debug%': 0, |
| 983 # Compile in Breakpad support by default so that it can be tested, | |
| 984 # even if it not enabled by default at runtime. | |
| 985 'linux_breakpad%': 1, | |
| 986 # And if we want to dump symbols for Breakpad-enabled builds. | 982 # And if we want to dump symbols for Breakpad-enabled builds. |
| 987 'linux_dump_symbols%': 0, | 983 'linux_dump_symbols%': 0, |
| 988 # And if we want to strip the binary after dumping symbols. | 984 # And if we want to strip the binary after dumping symbols. |
| 989 'linux_strip_binary%': 0, | 985 'linux_strip_binary%': 0, |
| 990 # Strip the test binaries needed for Linux reliability tests. | 986 # Strip the test binaries needed for Linux reliability tests. |
| 991 'linux_strip_reliability_tests%': 0, | 987 'linux_strip_reliability_tests%': 0, |
| 992 | 988 |
| 993 # Enable TCMalloc. | 989 # Enable TCMalloc. |
| 994 'linux_use_tcmalloc%': 1, | 990 'linux_use_tcmalloc%': 1, |
| 995 'android_use_tcmalloc%': 0, | 991 'android_use_tcmalloc%': 0, |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1144 }], | 1140 }], |
| 1145 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1141 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
| 1146 # Figure out the python architecture to decide if we build pyauto. | 1142 # Figure out the python architecture to decide if we build pyauto. |
| 1147 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', | 1143 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', |
| 1148 'conditions': [ | 1144 'conditions': [ |
| 1149 ['target_arch=="mipsel"', { | 1145 ['target_arch=="mipsel"', { |
| 1150 'werror%': '', | 1146 'werror%': '', |
| 1151 'disable_nacl%': 1, | 1147 'disable_nacl%': 1, |
| 1152 'nacl_untrusted_build%': 0, | 1148 'nacl_untrusted_build%': 0, |
| 1153 'linux_use_tcmalloc%': 0, | 1149 'linux_use_tcmalloc%': 0, |
| 1154 'linux_breakpad%': 0, | |
| 1155 }], | 1150 }], |
| 1156 ['OS=="linux" and target_arch=="mipsel"', { | 1151 ['OS=="linux" and target_arch=="mipsel"', { |
| 1157 'sysroot%': '<(sysroot)', | 1152 'sysroot%': '<(sysroot)', |
| 1158 'CXX%': '<(CXX)', | 1153 'CXX%': '<(CXX)', |
| 1159 }], | 1154 }], |
| 1160 # All Chrome builds have breakpad symbols, but only process the | 1155 # All Chrome builds have breakpad symbols, but only process the |
| 1161 # symbols from official builds. | 1156 # symbols from official builds. |
| 1162 ['(branding=="Chrome" and buildtype=="Official")', { | 1157 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1163 'linux_dump_symbols%': 1, | 1158 'linux_dump_symbols%': 1, |
| 1164 }], | 1159 }], |
| (...skipping 2173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3338 ['_toolset=="target"', { | 3333 ['_toolset=="target"', { |
| 3339 'cflags': [ | 3334 'cflags': [ |
| 3340 '-finstrument-functions', | 3335 '-finstrument-functions', |
| 3341 # Allow mmx intrinsics to inline, so that the | 3336 # Allow mmx intrinsics to inline, so that the |
| 3342 # compiler can expand the intrinsics. | 3337 # compiler can expand the intrinsics. |
| 3343 '-finstrument-functions-exclude-file-list=mmintrin.h', | 3338 '-finstrument-functions-exclude-file-list=mmintrin.h', |
| 3344 ], | 3339 ], |
| 3345 }], | 3340 }], |
| 3346 ], | 3341 ], |
| 3347 }], | 3342 }], |
| 3348 ['linux_breakpad==1', { | |
| 3349 'defines': ['USE_LINUX_BREAKPAD'], | |
| 3350 }], | |
| 3351 ['linux_dump_symbols==1', { | 3343 ['linux_dump_symbols==1', { |
| 3352 'cflags': [ '-g' ], | 3344 'cflags': [ '-g' ], |
| 3353 'conditions': [ | 3345 'conditions': [ |
| 3354 ['target_arch=="ia32" and OS!="android"', { | 3346 ['target_arch=="ia32" and OS!="android"', { |
| 3355 'target_conditions': [ | 3347 'target_conditions': [ |
| 3356 ['_toolset=="target"', { | 3348 ['_toolset=="target"', { |
| 3357 'ldflags': [ | 3349 'ldflags': [ |
| 3358 # Workaround for linker OOM. | 3350 # Workaround for linker OOM. |
| 3359 '-Wl,--no-keep-memory', | 3351 '-Wl,--no-keep-memory', |
| 3360 ], | 3352 ], |
| (...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4652 # settings in target dicts. SYMROOT is a special case, because many other | 4644 # settings in target dicts. SYMROOT is a special case, because many other |
| 4653 # Xcode variables depend on it, including variables such as | 4645 # Xcode variables depend on it, including variables such as |
| 4654 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4646 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4655 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4647 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4656 # files to appear (when present) in the UI as actual files and not red | 4648 # files to appear (when present) in the UI as actual files and not red |
| 4657 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4649 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4658 # and therefore SYMROOT, needs to be set at the project level. | 4650 # and therefore SYMROOT, needs to be set at the project level. |
| 4659 'SYMROOT': '<(DEPTH)/xcodebuild', | 4651 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4660 }, | 4652 }, |
| 4661 } | 4653 } |
| OLD | NEW |