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 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 ['enable_settings_app==1', { | 1544 ['enable_settings_app==1', { |
1545 'grit_defines': ['-D', 'enable_settings_app'], | 1545 'grit_defines': ['-D', 'enable_settings_app'], |
1546 }], | 1546 }], |
1547 ['enable_google_now==1', { | 1547 ['enable_google_now==1', { |
1548 'grit_defines': ['-D', 'enable_google_now'], | 1548 'grit_defines': ['-D', 'enable_google_now'], |
1549 }], | 1549 }], |
1550 ['use_concatenated_impulse_responses==1', { | 1550 ['use_concatenated_impulse_responses==1', { |
1551 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], | 1551 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], |
1552 }], | 1552 }], |
1553 ['clang_use_chrome_plugins==1 and OS!="win"', { | 1553 ['clang_use_chrome_plugins==1 and OS!="win"', { |
1554 'variables': { | 1554 'clang_chrome_plugins_flags': [ |
1555 'clang_chrome_plugins_flags': [ | 1555 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
1556 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | |
1557 ], | |
1558 }, | |
1559 'conditions': [ | |
1560 ['OS=="linux" or OS=="mac"', { | |
1561 'clang_chrome_plugins_flags': [ | |
1562 '<@(clang_chrome_plugins_flags)' | |
1563 ], | |
1564 }, { | |
1565 # TODO(rsleevi): http://crbug.com/115047 - This warning is only | |
1566 # enabled for Linux for now. Disable everywhere else. | |
1567 'clang_chrome_plugins_flags': [ | |
1568 '<@(clang_chrome_plugins_flags)', | |
1569 '-Xclang', | |
1570 '-plugin-arg-find-bad-constructs', | |
1571 '-Xclang', | |
1572 'skip-virtuals-in-implementations', | |
1573 ], | |
1574 }] | |
1575 ], | 1556 ], |
1576 }], | 1557 }], |
1577 | 1558 |
1578 ['asan==1 and OS!="win"', { | 1559 ['asan==1 and OS!="win"', { |
1579 'clang%': 1, | 1560 'clang%': 1, |
1580 }], | 1561 }], |
1581 ['asan==1 and OS=="mac"', { | 1562 ['asan==1 and OS=="mac"', { |
1582 # See http://crbug.com/145503. | 1563 # See http://crbug.com/145503. |
1583 'component': "static_library", | 1564 'component': "static_library", |
1584 # TODO(glider): we do not strip ASan binaries until the dynamic ASan | 1565 # TODO(glider): we do not strip ASan binaries until the dynamic ASan |
(...skipping 2867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4452 # settings in target dicts. SYMROOT is a special case, because many other | 4433 # settings in target dicts. SYMROOT is a special case, because many other |
4453 # Xcode variables depend on it, including variables such as | 4434 # Xcode variables depend on it, including variables such as |
4454 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4435 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4455 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4436 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4456 # files to appear (when present) in the UI as actual files and not red | 4437 # files to appear (when present) in the UI as actual files and not red |
4457 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4438 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4458 # and therefore SYMROOT, needs to be set at the project level. | 4439 # and therefore SYMROOT, needs to be set at the project level. |
4459 'SYMROOT': '<(DEPTH)/xcodebuild', | 4440 'SYMROOT': '<(DEPTH)/xcodebuild', |
4460 }, | 4441 }, |
4461 } | 4442 } |
OLD | NEW |