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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
888 ], | 888 ], |
889 'msvs_disabled_warnings': [4800], | 889 'msvs_disabled_warnings': [4800], |
890 'msvs_settings': { | 890 'msvs_settings': { |
891 'VCCLCompilerTool': { | 891 'VCCLCompilerTool': { |
892 'WarningLevel': '3', | 892 'WarningLevel': '3', |
893 'WarnAsError': 'false', # TODO(maruel): Enable it. | 893 'WarnAsError': 'false', # TODO(maruel): Enable it. |
894 'Detect64BitPortabilityProblems': 'false', | 894 'Detect64BitPortabilityProblems': 'false', |
895 }, | 895 }, |
896 }, | 896 }, |
897 }], | 897 }], |
898 [ 'OS=="win" and component=="shared_library"', { | |
rvargas (doing something else)
2011/07/16 01:37:35
Why do we need this for non chromium code?
| |
899 'msvs_disabled_warnings': [ | |
900 4251, # class 'std::xx' needs to have dll-interface. | |
901 ], | |
902 }], | |
898 [ 'OS=="mac"', { | 903 [ 'OS=="mac"', { |
899 'xcode_settings': { | 904 'xcode_settings': { |
900 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', | 905 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', |
901 'WARNING_CFLAGS!': ['-Wall', '-Wextra'], | 906 'WARNING_CFLAGS!': ['-Wall', '-Wextra'], |
902 }, | 907 }, |
903 }], | 908 }], |
904 ], | 909 ], |
905 }, { | 910 }, { |
906 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the | 911 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the |
907 # C99 macros on Mac and Linux. | 912 # C99 macros on Mac and Linux. |
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1870 # settings in target dicts. SYMROOT is a special case, because many other | 1875 # settings in target dicts. SYMROOT is a special case, because many other |
1871 # Xcode variables depend on it, including variables such as | 1876 # Xcode variables depend on it, including variables such as |
1872 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1877 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1873 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1878 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1874 # files to appear (when present) in the UI as actual files and not red | 1879 # files to appear (when present) in the UI as actual files and not red |
1875 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1880 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1876 # and therefore SYMROOT, needs to be set at the project level. | 1881 # and therefore SYMROOT, needs to be set at the project level. |
1877 'SYMROOT': '<(DEPTH)/xcodebuild', | 1882 'SYMROOT': '<(DEPTH)/xcodebuild', |
1878 }, | 1883 }, |
1879 } | 1884 } |
OLD | NEW |