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 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1926 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', | 1926 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', |
1927 'RUN_CLANG_STATIC_ANALYZER': 'NO', | 1927 'RUN_CLANG_STATIC_ANALYZER': 'NO', |
1928 }, | 1928 }, |
1929 }], | 1929 }], |
1930 ], | 1930 ], |
1931 }, { | 1931 }, { |
1932 'includes': [ | 1932 'includes': [ |
1933 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. | 1933 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. |
1934 'filename_rules.gypi', | 1934 'filename_rules.gypi', |
1935 ], | 1935 ], |
1936 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the | 1936 # In Chromium code, we define __STDC_foo_MACROS in order to get the |
1937 # C99 macros on Mac and Linux. | 1937 # C99 macros on Mac and Linux. |
1938 'defines': [ | 1938 'defines': [ |
| 1939 '__STDC_CONSTANT_MACROS', |
1939 '__STDC_FORMAT_MACROS', | 1940 '__STDC_FORMAT_MACROS', |
1940 ], | 1941 ], |
1941 'conditions': [ | 1942 'conditions': [ |
1942 ['OS=="win"', { | 1943 ['OS=="win"', { |
1943 # turn on warnings for signed/unsigned mismatch on chromium code. | 1944 # turn on warnings for signed/unsigned mismatch on chromium code. |
1944 'msvs_settings': { | 1945 'msvs_settings': { |
1945 'VCCLCompilerTool': { | 1946 'VCCLCompilerTool': { |
1946 'AdditionalOptions': ['/we4389'], | 1947 'AdditionalOptions': ['/we4389'], |
1947 }, | 1948 }, |
1948 }, | 1949 }, |
(...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3734 # settings in target dicts. SYMROOT is a special case, because many other | 3735 # settings in target dicts. SYMROOT is a special case, because many other |
3735 # Xcode variables depend on it, including variables such as | 3736 # Xcode variables depend on it, including variables such as |
3736 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3737 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3737 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3738 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3738 # files to appear (when present) in the UI as actual files and not red | 3739 # files to appear (when present) in the UI as actual files and not red |
3739 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3740 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3740 # and therefore SYMROOT, needs to be set at the project level. | 3741 # and therefore SYMROOT, needs to be set at the project level. |
3741 'SYMROOT': '<(DEPTH)/xcodebuild', | 3742 'SYMROOT': '<(DEPTH)/xcodebuild', |
3742 }, | 3743 }, |
3743 } | 3744 } |
OLD | NEW |