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 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 'ENABLE_EGLIMAGE=1', | 1654 'ENABLE_EGLIMAGE=1', |
1655 ], | 1655 ], |
1656 }], | 1656 }], |
1657 ['use_skia==1', { | 1657 ['use_skia==1', { |
1658 'defines': [ | 1658 'defines': [ |
1659 'USE_SKIA=1', | 1659 'USE_SKIA=1', |
1660 ], | 1660 ], |
1661 }], | 1661 }], |
1662 ['coverage!=0', { | 1662 ['coverage!=0', { |
1663 'conditions': [ | 1663 'conditions': [ |
1664 ['OS=="mac"', { | 1664 ['OS=="mac" or OS=="ios"', { |
1665 'xcode_settings': { | 1665 'xcode_settings': { |
1666 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs | 1666 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs |
1667 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage | 1667 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage |
1668 }, | 1668 }, |
| 1669 }], |
| 1670 ['OS=="mac"', { |
1669 # Add -lgcov for types executable, shared_library, and | 1671 # Add -lgcov for types executable, shared_library, and |
1670 # loadable_module; not for static_library. | 1672 # loadable_module; not for static_library. |
1671 # This is a delayed conditional. | 1673 # This is a delayed conditional. |
1672 'target_conditions': [ | 1674 'target_conditions': [ |
1673 ['_type!="static_library"', { | 1675 ['_type!="static_library"', { |
1674 'xcode_settings': { 'OTHER_LDFLAGS': [ '-lgcov' ] }, | 1676 'xcode_settings': { 'OTHER_LDFLAGS': [ '-lgcov' ] }, |
1675 }], | 1677 }], |
1676 ], | 1678 ], |
1677 }], | 1679 }], |
1678 ['OS=="linux" or OS=="android"', { | 1680 ['OS=="linux" or OS=="android"', { |
(...skipping 1942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3621 # settings in target dicts. SYMROOT is a special case, because many other | 3623 # settings in target dicts. SYMROOT is a special case, because many other |
3622 # Xcode variables depend on it, including variables such as | 3624 # Xcode variables depend on it, including variables such as |
3623 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3625 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3624 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3626 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3625 # files to appear (when present) in the UI as actual files and not red | 3627 # files to appear (when present) in the UI as actual files and not red |
3626 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3628 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3627 # and therefore SYMROOT, needs to be set at the project level. | 3629 # and therefore SYMROOT, needs to be set at the project level. |
3628 'SYMROOT': '<(DEPTH)/xcodebuild', | 3630 'SYMROOT': '<(DEPTH)/xcodebuild', |
3629 }, | 3631 }, |
3630 } | 3632 } |
OLD | NEW |