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 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1638 'defines': [ | 1638 'defines': [ |
1639 '_CRT_SECURE_NO_DEPRECATE', | 1639 '_CRT_SECURE_NO_DEPRECATE', |
1640 '_CRT_NONSTDC_NO_WARNINGS', | 1640 '_CRT_NONSTDC_NO_WARNINGS', |
1641 '_CRT_NONSTDC_NO_DEPRECATE', | 1641 '_CRT_NONSTDC_NO_DEPRECATE', |
1642 '_SCL_SECURE_NO_DEPRECATE', | 1642 '_SCL_SECURE_NO_DEPRECATE', |
1643 ], | 1643 ], |
1644 'msvs_disabled_warnings': [4800], | 1644 'msvs_disabled_warnings': [4800], |
1645 'msvs_settings': { | 1645 'msvs_settings': { |
1646 'VCCLCompilerTool': { | 1646 'VCCLCompilerTool': { |
1647 'WarningLevel': '3', | 1647 'WarningLevel': '3', |
1648 'WarnAsError': 'false', # TODO(maruel): Enable it. | 1648 'WarnAsError': 'true', |
1649 'Detect64BitPortabilityProblems': 'false', | 1649 'Detect64BitPortabilityProblems': 'false', |
1650 }, | 1650 }, |
1651 }, | 1651 }, |
1652 }], | 1652 }], |
1653 # TODO(darin): Unfortunately, some third_party code depends on base/ | 1653 # TODO(darin): Unfortunately, some third_party code depends on base/ |
1654 [ 'OS=="win" and component=="shared_library"', { | 1654 [ 'OS=="win" and component=="shared_library"', { |
1655 'msvs_disabled_warnings': [ | 1655 'msvs_disabled_warnings': [ |
1656 4251, # class 'std::xx' needs to have dll-interface. | 1656 4251, # class 'std::xx' needs to have dll-interface. |
1657 ], | 1657 ], |
1658 }], | 1658 }], |
(...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3336 # settings in target dicts. SYMROOT is a special case, because many other | 3336 # settings in target dicts. SYMROOT is a special case, because many other |
3337 # Xcode variables depend on it, including variables such as | 3337 # Xcode variables depend on it, including variables such as |
3338 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3338 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3339 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3339 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3340 # files to appear (when present) in the UI as actual files and not red | 3340 # files to appear (when present) in the UI as actual files and not red |
3341 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3341 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3342 # and therefore SYMROOT, needs to be set at the project level. | 3342 # and therefore SYMROOT, needs to be set at the project level. |
3343 'SYMROOT': '<(DEPTH)/xcodebuild', | 3343 'SYMROOT': '<(DEPTH)/xcodebuild', |
3344 }, | 3344 }, |
3345 } | 3345 } |
OLD | NEW |