| 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 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 | 837 |
| 838 # The default type of gtest. | 838 # The default type of gtest. |
| 839 'gtest_target_type%': 'executable', | 839 'gtest_target_type%': 'executable', |
| 840 | 840 |
| 841 # Enable sampling based profiler. | 841 # Enable sampling based profiler. |
| 842 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 842 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
| 843 'profiling%': '0', | 843 'profiling%': '0', |
| 844 | 844 |
| 845 # Enable strict glibc debug mode. | 845 # Enable strict glibc debug mode. |
| 846 'glibcxx_debug%': 0, | 846 'glibcxx_debug%': 0, |
| 847 | 847 # Compile in Breakpad support by default so that it can be tested, |
| 848 # Override whether we should use Breakpad on Linux. I.e. for Chrome bot. | 848 # even if it not enabled by default at runtime. |
| 849 'linux_breakpad%': 0, | 849 'linux_breakpad%': 1, |
| 850 # And if we want to dump symbols for Breakpad-enabled builds. | 850 # And if we want to dump symbols for Breakpad-enabled builds. |
| 851 'linux_dump_symbols%': 0, | 851 'linux_dump_symbols%': 0, |
| 852 # And if we want to strip the binary after dumping symbols. | 852 # And if we want to strip the binary after dumping symbols. |
| 853 'linux_strip_binary%': 0, | 853 'linux_strip_binary%': 0, |
| 854 # Strip the test binaries needed for Linux reliability tests. | 854 # Strip the test binaries needed for Linux reliability tests. |
| 855 'linux_strip_reliability_tests%': 0, | 855 'linux_strip_reliability_tests%': 0, |
| 856 | 856 |
| 857 # Enable TCMalloc. | 857 # Enable TCMalloc. |
| 858 'linux_use_tcmalloc%': 1, | 858 'linux_use_tcmalloc%': 1, |
| 859 | 859 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 'conditions': [ | 1002 'conditions': [ |
| 1003 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so | 1003 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so |
| 1004 # that it takes effect here. | 1004 # that it takes effect here. |
| 1005 ['clang==0 and asan==0 and tsan==0', { | 1005 ['clang==0 and asan==0 and tsan==0', { |
| 1006 # This will set gcc_version to XY if you are running gcc X.Y.*. | 1006 # This will set gcc_version to XY if you are running gcc X.Y.*. |
| 1007 # This is used to tweak build flags for gcc 4.5. | 1007 # This is used to tweak build flags for gcc 4.5. |
| 1008 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1008 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
| 1009 }, { | 1009 }, { |
| 1010 'gcc_version%': 0, | 1010 'gcc_version%': 0, |
| 1011 }], | 1011 }], |
| 1012 ['branding=="Chrome"', { | |
| 1013 'linux_breakpad%': 1, | |
| 1014 }], | |
| 1015 # All Chrome builds have breakpad symbols, but only process the | 1012 # All Chrome builds have breakpad symbols, but only process the |
| 1016 # symbols from official builds. | 1013 # symbols from official builds. |
| 1017 ['(branding=="Chrome" and buildtype=="Official")', { | 1014 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1018 'linux_dump_symbols%': 1, | 1015 'linux_dump_symbols%': 1, |
| 1019 }], | 1016 }], |
| 1020 ], | 1017 ], |
| 1021 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1018 }], # os_posix==1 and OS!="mac" and OS!="ios" |
| 1022 ['OS=="ios"', { | 1019 ['OS=="ios"', { |
| 1023 'disable_nacl%': 1, | 1020 'disable_nacl%': 1, |
| 1024 'enable_background%': 0, | 1021 'enable_background%': 0, |
| (...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2780 'cflags': [ | 2777 'cflags': [ |
| 2781 '-finstrument-functions', | 2778 '-finstrument-functions', |
| 2782 # Allow mmx intrinsics to inline, so that the | 2779 # Allow mmx intrinsics to inline, so that the |
| 2783 # compiler can expand the intrinsics. | 2780 # compiler can expand the intrinsics. |
| 2784 '-finstrument-functions-exclude-file-list=mmintrin.h', | 2781 '-finstrument-functions-exclude-file-list=mmintrin.h', |
| 2785 ], | 2782 ], |
| 2786 }], | 2783 }], |
| 2787 ], | 2784 ], |
| 2788 }], | 2785 }], |
| 2789 ['linux_breakpad==1', { | 2786 ['linux_breakpad==1', { |
| 2787 'defines': ['USE_LINUX_BREAKPAD'], |
| 2788 }], |
| 2789 ['linux_dump_symbols==1', { |
| 2790 'cflags': [ '-g' ], | 2790 'cflags': [ '-g' ], |
| 2791 'defines': ['USE_LINUX_BREAKPAD'], | |
| 2792 'conditions': [ | 2791 'conditions': [ |
| 2793 ['target_arch=="ia32"', { | 2792 ['target_arch=="ia32"', { |
| 2794 'target_conditions': [ | 2793 'target_conditions': [ |
| 2795 ['_toolset=="target"', { | 2794 ['_toolset=="target"', { |
| 2796 'ldflags': [ | 2795 'ldflags': [ |
| 2797 # Workaround for linker OOM. http://crbug.com/160253. | 2796 # Workaround for linker OOM. http://crbug.com/160253. |
| 2798 '-Wl,--no-keep-files-mapped', | 2797 '-Wl,--no-keep-files-mapped', |
| 2799 ], | 2798 ], |
| 2800 }], | 2799 }], |
| 2801 ], | 2800 ], |
| (...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3949 # settings in target dicts. SYMROOT is a special case, because many other | 3948 # settings in target dicts. SYMROOT is a special case, because many other |
| 3950 # Xcode variables depend on it, including variables such as | 3949 # Xcode variables depend on it, including variables such as |
| 3951 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3950 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3952 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3951 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3953 # files to appear (when present) in the UI as actual files and not red | 3952 # files to appear (when present) in the UI as actual files and not red |
| 3954 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3953 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3955 # and therefore SYMROOT, needs to be set at the project level. | 3954 # and therefore SYMROOT, needs to be set at the project level. |
| 3956 'SYMROOT': '<(DEPTH)/xcodebuild', | 3955 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3957 }, | 3956 }, |
| 3958 } | 3957 } |
| OLD | NEW |