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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
628 | 628 |
629 # Do not enable the Settings App on ChromeOS. | 629 # Do not enable the Settings App on ChromeOS. |
630 ['enable_app_list==1 and chromeos==0', { | 630 ['enable_app_list==1 and chromeos==0', { |
631 'enable_settings_app%': 1, | 631 'enable_settings_app%': 1, |
632 }, { | 632 }, { |
633 'enable_settings_app%': 0, | 633 'enable_settings_app%': 0, |
634 }], | 634 }], |
635 | 635 |
636 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 636 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
637 # Set some defaults for arm/linux chrome builds | 637 # Set some defaults for arm/linux chrome builds |
638 'linux_breakpad%': 0, | |
Lei Zhang
2013/07/15 20:55:35
sbc: Can we turn on Breakpad for Linux/ARM?
Sam Clegg
2013/07/15 23:28:30
Removing this line on my local machine doesn't bre
| |
639 'linux_use_tcmalloc%': 0, | 638 'linux_use_tcmalloc%': 0, |
640 # sysroot needs to be an absolute path otherwise it generates | 639 # sysroot needs to be an absolute path otherwise it generates |
641 # incorrect results when passed to pkg-config | 640 # incorrect results when passed to pkg-config |
642 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 641 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
643 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 642 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
644 | 643 |
645 ['linux_lsb_release=="12.04"', { | 644 ['linux_lsb_release=="12.04"', { |
646 'conditions': [ | 645 'conditions': [ |
647 ['target_arch=="x64"', { | 646 ['target_arch=="x64"', { |
648 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi an_wheezy_amd64-sysroot', | 647 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi an_wheezy_amd64-sysroot', |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
963 'gtest_target_type%': 'executable', | 962 'gtest_target_type%': 'executable', |
964 | 963 |
965 # Enable sampling based profiler. | 964 # Enable sampling based profiler. |
966 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 965 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
967 'profiling%': '0', | 966 'profiling%': '0', |
968 # Profile without optimizing out stack frames when profiling==1. | 967 # Profile without optimizing out stack frames when profiling==1. |
969 'profiling_full_stack_frames%': '0', | 968 'profiling_full_stack_frames%': '0', |
970 | 969 |
971 # Enable strict glibc debug mode. | 970 # Enable strict glibc debug mode. |
972 'glibcxx_debug%': 0, | 971 'glibcxx_debug%': 0, |
973 # Compile in Breakpad support by default so that it can be tested, | |
974 # even if it not enabled by default at runtime. | |
975 'linux_breakpad%': 1, | |
976 # And if we want to dump symbols for Breakpad-enabled builds. | 972 # And if we want to dump symbols for Breakpad-enabled builds. |
977 'linux_dump_symbols%': 0, | 973 'linux_dump_symbols%': 0, |
978 # And if we want to strip the binary after dumping symbols. | 974 # And if we want to strip the binary after dumping symbols. |
979 'linux_strip_binary%': 0, | 975 'linux_strip_binary%': 0, |
980 # Strip the test binaries needed for Linux reliability tests. | 976 # Strip the test binaries needed for Linux reliability tests. |
981 'linux_strip_reliability_tests%': 0, | 977 'linux_strip_reliability_tests%': 0, |
982 | 978 |
983 # Enable TCMalloc. | 979 # Enable TCMalloc. |
984 'linux_use_tcmalloc%': 1, | 980 'linux_use_tcmalloc%': 1, |
985 'android_use_tcmalloc%': 0, | 981 'android_use_tcmalloc%': 0, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1134 }], | 1130 }], |
1135 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1131 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1136 # Figure out the python architecture to decide if we build pyauto. | 1132 # Figure out the python architecture to decide if we build pyauto. |
1137 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', | 1133 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', |
1138 'conditions': [ | 1134 'conditions': [ |
1139 ['target_arch=="mipsel"', { | 1135 ['target_arch=="mipsel"', { |
1140 'werror%': '', | 1136 'werror%': '', |
1141 'disable_nacl%': 1, | 1137 'disable_nacl%': 1, |
1142 'nacl_untrusted_build%': 0, | 1138 'nacl_untrusted_build%': 0, |
1143 'linux_use_tcmalloc%': 0, | 1139 'linux_use_tcmalloc%': 0, |
1144 'linux_breakpad%': 0, | |
1145 }], | 1140 }], |
1146 ['OS=="linux" and target_arch=="mipsel"', { | 1141 ['OS=="linux" and target_arch=="mipsel"', { |
1147 'sysroot%': '<(sysroot)', | 1142 'sysroot%': '<(sysroot)', |
1148 'CXX%': '<(CXX)', | 1143 'CXX%': '<(CXX)', |
1149 }], | 1144 }], |
1150 # All Chrome builds have breakpad symbols, but only process the | 1145 # All Chrome builds have breakpad symbols, but only process the |
1151 # symbols from official builds. | 1146 # symbols from official builds. |
1152 ['(branding=="Chrome" and buildtype=="Official")', { | 1147 ['(branding=="Chrome" and buildtype=="Official")', { |
1153 'linux_dump_symbols%': 1, | 1148 'linux_dump_symbols%': 1, |
1154 }], | 1149 }], |
(...skipping 2173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3328 ['_toolset=="target"', { | 3323 ['_toolset=="target"', { |
3329 'cflags': [ | 3324 'cflags': [ |
3330 '-finstrument-functions', | 3325 '-finstrument-functions', |
3331 # Allow mmx intrinsics to inline, so that the | 3326 # Allow mmx intrinsics to inline, so that the |
3332 # compiler can expand the intrinsics. | 3327 # compiler can expand the intrinsics. |
3333 '-finstrument-functions-exclude-file-list=mmintrin.h', | 3328 '-finstrument-functions-exclude-file-list=mmintrin.h', |
3334 ], | 3329 ], |
3335 }], | 3330 }], |
3336 ], | 3331 ], |
3337 }], | 3332 }], |
3338 ['linux_breakpad==1', { | |
3339 'defines': ['USE_LINUX_BREAKPAD'], | |
3340 }], | |
3341 ['linux_dump_symbols==1', { | 3333 ['linux_dump_symbols==1', { |
3342 'cflags': [ '-g' ], | 3334 'cflags': [ '-g' ], |
3343 'conditions': [ | 3335 'conditions': [ |
3344 ['target_arch=="ia32" and OS!="android"', { | 3336 ['target_arch=="ia32" and OS!="android"', { |
3345 'target_conditions': [ | 3337 'target_conditions': [ |
3346 ['_toolset=="target"', { | 3338 ['_toolset=="target"', { |
3347 'ldflags': [ | 3339 'ldflags': [ |
3348 # Workaround for linker OOM. | 3340 # Workaround for linker OOM. |
3349 '-Wl,--no-keep-memory', | 3341 '-Wl,--no-keep-memory', |
3350 ], | 3342 ], |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4636 # settings in target dicts. SYMROOT is a special case, because many other | 4628 # settings in target dicts. SYMROOT is a special case, because many other |
4637 # Xcode variables depend on it, including variables such as | 4629 # Xcode variables depend on it, including variables such as |
4638 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4630 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4639 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4631 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4640 # files to appear (when present) in the UI as actual files and not red | 4632 # files to appear (when present) in the UI as actual files and not red |
4641 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4633 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4642 # and therefore SYMROOT, needs to be set at the project level. | 4634 # and therefore SYMROOT, needs to be set at the project level. |
4643 'SYMROOT': '<(DEPTH)/xcodebuild', | 4635 'SYMROOT': '<(DEPTH)/xcodebuild', |
4644 }, | 4636 }, |
4645 } | 4637 } |
OLD | NEW |