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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 }], | 893 }], |
894 ['enable_flapper_hacks==1', { | 894 ['enable_flapper_hacks==1', { |
895 'defines': ['ENABLE_FLAPPER_HACKS=1'], | 895 'defines': ['ENABLE_FLAPPER_HACKS=1'], |
896 }], | 896 }], |
897 ['configuration_policy==1', { | 897 ['configuration_policy==1', { |
898 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 898 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
899 }], | 899 }], |
900 ['fastbuild!=0', { | 900 ['fastbuild!=0', { |
901 | 901 |
902 'conditions': [ | 902 'conditions': [ |
903 # For Windows, we don't genererate debug information. | 903 # For Windows and Mac, we don't genererate debug information. |
904 ['OS=="win"', { | 904 ['OS=="win" or OS=="mac"', { |
905 'msvs_settings': { | 905 'msvs_settings': { |
906 'VCLinkerTool': { | 906 'VCLinkerTool': { |
907 'GenerateDebugInformation': 'false', | 907 'GenerateDebugInformation': 'false', |
908 }, | 908 }, |
909 'VCCLCompilerTool': { | 909 'VCCLCompilerTool': { |
910 'DebugInformationFormat': '0', | 910 'DebugInformationFormat': '0', |
911 } | 911 } |
912 } | 912 }, |
| 913 'xcode_settings': { |
| 914 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 915 }, |
913 }, { # else: OS != "win", generate less debug information. | 916 }, { # else: OS != "win", generate less debug information. |
914 'variables': { | 917 'variables': { |
915 'debug_extra_cflags': '-g1', | 918 'debug_extra_cflags': '-g1', |
916 }, | 919 }, |
917 }], | 920 }], |
918 # Clang creates chubby debug information, which makes linking very | 921 # Clang creates chubby debug information, which makes linking very |
919 # slow. For now, don't create debug information with clang. See | 922 # slow. For now, don't create debug information with clang. See |
920 # http://crbug.com/70000 | 923 # http://crbug.com/70000 |
921 ['OS=="linux" and clang==1', { | 924 ['OS=="linux" and clang==1', { |
922 'variables': { | 925 'variables': { |
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2390 # settings in target dicts. SYMROOT is a special case, because many other | 2393 # settings in target dicts. SYMROOT is a special case, because many other |
2391 # Xcode variables depend on it, including variables such as | 2394 # Xcode variables depend on it, including variables such as |
2392 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2393 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2396 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2394 # files to appear (when present) in the UI as actual files and not red | 2397 # files to appear (when present) in the UI as actual files and not red |
2395 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2398 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2396 # and therefore SYMROOT, needs to be set at the project level. | 2399 # and therefore SYMROOT, needs to be set at the project level. |
2397 'SYMROOT': '<(DEPTH)/xcodebuild', | 2400 'SYMROOT': '<(DEPTH)/xcodebuild', |
2398 }, | 2401 }, |
2399 } | 2402 } |
OLD | NEW |