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 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1485 'enable_wexit_time_destructors%': '<(enable_wexit_time_destructors)', | 1485 'enable_wexit_time_destructors%': '<(enable_wexit_time_destructors)', |
1486 | 1486 |
1487 # Only used by Windows build for now. Can be used to build into a | 1487 # Only used by Windows build for now. Can be used to build into a |
1488 # differet output directory, e.g., a build_dir_prefix of VS2010_ would | 1488 # differet output directory, e.g., a build_dir_prefix of VS2010_ would |
1489 # output files in src/build/VS2010_{Debug,Release}. | 1489 # output files in src/build/VS2010_{Debug,Release}. |
1490 'build_dir_prefix%': '', | 1490 'build_dir_prefix%': '', |
1491 | 1491 |
1492 # Targets are by default not nacl untrusted code. | 1492 # Targets are by default not nacl untrusted code. |
1493 'nacl_untrusted_build%': 0, | 1493 'nacl_untrusted_build%': 0, |
1494 | 1494 |
1495 'pnacl_compile_flags': [ | |
1496 # pnacl uses the clang compiler so we need to supress all the | |
Mark Seaborn
2012/11/15 23:33:27
Nit: 'suppress'
| |
1497 # same warnings as we do for clang. | |
1498 # TODO(sbc): Remove these if/when they are removed from the clang | |
1499 # build. | |
1500 '-Wno-unused-function', | |
1501 '-Wno-char-subscripts', | |
1502 '-Wno-c++11-extensions', | |
1503 '-Wno-unnamed-type-template-args', | |
1504 ], | |
1505 | |
1495 'conditions': [ | 1506 'conditions': [ |
1496 ['OS=="win" and component=="shared_library"', { | 1507 ['OS=="win" and component=="shared_library"', { |
1497 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx | 1508 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx |
1498 'win_release_RuntimeLibrary%': '2', # 2 = /MD (nondebug DLL) | 1509 'win_release_RuntimeLibrary%': '2', # 2 = /MD (nondebug DLL) |
1499 'win_debug_RuntimeLibrary%': '3', # 3 = /MDd (debug DLL) | 1510 'win_debug_RuntimeLibrary%': '3', # 3 = /MDd (debug DLL) |
1500 }, { | 1511 }, { |
1501 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx | 1512 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx |
1502 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) | 1513 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) |
1503 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) | 1514 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) |
1504 }], | 1515 }], |
(...skipping 2228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3733 # settings in target dicts. SYMROOT is a special case, because many other | 3744 # settings in target dicts. SYMROOT is a special case, because many other |
3734 # Xcode variables depend on it, including variables such as | 3745 # Xcode variables depend on it, including variables such as |
3735 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3746 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3736 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3747 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3737 # files to appear (when present) in the UI as actual files and not red | 3748 # files to appear (when present) in the UI as actual files and not red |
3738 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3749 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3739 # and therefore SYMROOT, needs to be set at the project level. | 3750 # and therefore SYMROOT, needs to be set at the project level. |
3740 'SYMROOT': '<(DEPTH)/xcodebuild', | 3751 'SYMROOT': '<(DEPTH)/xcodebuild', |
3741 }, | 3752 }, |
3742 } | 3753 } |
OLD | NEW |