OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 }, | 850 }, |
851 }], | 851 }], |
852 # Clang creates chubby debug information, which makes linking very | 852 # Clang creates chubby debug information, which makes linking very |
853 # slow. For now, don't create debug information with clang. See | 853 # slow. For now, don't create debug information with clang. See |
854 # http://crbug.com/70000 | 854 # http://crbug.com/70000 |
855 ['OS=="linux" and clang==1', { | 855 ['OS=="linux" and clang==1', { |
856 'variables': { | 856 'variables': { |
857 'debug_extra_cflags': '-g0', | 857 'debug_extra_cflags': '-g0', |
858 }, | 858 }, |
859 }], | 859 }], |
860 ['OS=="mac"', { | |
861 'xcode_settings': { | |
862 # Goma needs to ship all symbol information over the wire. | |
863 # <(debug_extra_cflags) will still generate -g1 STABS information, | |
864 # which is smaller than -gdwarf-2 information. | |
865 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | |
866 }, | |
867 }], | |
868 ], # conditions for fastbuild. | 860 ], # conditions for fastbuild. |
869 }], # fastbuild!=0 | 861 }], # fastbuild!=0 |
870 ['selinux==1', { | 862 ['selinux==1', { |
871 'defines': ['CHROMIUM_SELINUX=1'], | 863 'defines': ['CHROMIUM_SELINUX=1'], |
872 }], | 864 }], |
873 ['win_use_allocator_shim==0', { | 865 ['win_use_allocator_shim==0', { |
874 'conditions': [ | 866 'conditions': [ |
875 ['OS=="win"', { | 867 ['OS=="win"', { |
876 'defines': ['NO_TCMALLOC'], | 868 'defines': ['NO_TCMALLOC'], |
877 }], | 869 }], |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2030 # settings in target dicts. SYMROOT is a special case, because many other | 2022 # settings in target dicts. SYMROOT is a special case, because many other |
2031 # Xcode variables depend on it, including variables such as | 2023 # Xcode variables depend on it, including variables such as |
2032 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2024 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2033 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2025 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2034 # files to appear (when present) in the UI as actual files and not red | 2026 # files to appear (when present) in the UI as actual files and not red |
2035 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2027 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2036 # and therefore SYMROOT, needs to be set at the project level. | 2028 # and therefore SYMROOT, needs to be set at the project level. |
2037 'SYMROOT': '<(DEPTH)/xcodebuild', | 2029 'SYMROOT': '<(DEPTH)/xcodebuild', |
2038 }, | 2030 }, |
2039 } | 2031 } |
OLD | NEW |