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 2476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2487 }], | 2487 }], |
2488 ['enable_mdns==1', { | 2488 ['enable_mdns==1', { |
2489 'defines': ['ENABLE_MDNS=1'], | 2489 'defines': ['ENABLE_MDNS=1'], |
2490 }], | 2490 }], |
2491 ['enable_enhanced_bookmarks==1', { | 2491 ['enable_enhanced_bookmarks==1', { |
2492 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2492 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2493 }], | 2493 }], |
2494 ['enable_ipc_fuzzer==1', { | 2494 ['enable_ipc_fuzzer==1', { |
2495 'defines': ['ENABLE_IPC_FUZZER=1'], | 2495 'defines': ['ENABLE_IPC_FUZZER=1'], |
2496 }], | 2496 }], |
| 2497 ['OS=="win" and component=="shared_library"', { |
| 2498 'dependencies': [ |
| 2499 # All targets in a component build must depend on chrome_redirects, |
| 2500 # to ensure that certain calls go through it. |
| 2501 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 2502 ], |
| 2503 }], |
2497 ], # conditions for 'target_defaults' | 2504 ], # conditions for 'target_defaults' |
2498 'target_conditions': [ | 2505 'target_conditions': [ |
2499 ['enable_wexit_time_destructors==1', { | 2506 ['enable_wexit_time_destructors==1', { |
2500 'conditions': [ | 2507 'conditions': [ |
2501 [ 'clang==1', { | 2508 [ 'clang==1', { |
2502 'cflags': [ | 2509 'cflags': [ |
2503 '-Wexit-time-destructors', | 2510 '-Wexit-time-destructors', |
2504 ], | 2511 ], |
2505 'xcode_settings': { | 2512 'xcode_settings': { |
2506 'WARNING_CFLAGS': [ | 2513 'WARNING_CFLAGS': [ |
(...skipping 2340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4847 # settings in target dicts. SYMROOT is a special case, because many other | 4854 # settings in target dicts. SYMROOT is a special case, because many other |
4848 # Xcode variables depend on it, including variables such as | 4855 # Xcode variables depend on it, including variables such as |
4849 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4856 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4850 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4857 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4851 # files to appear (when present) in the UI as actual files and not red | 4858 # files to appear (when present) in the UI as actual files and not red |
4852 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4859 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4853 # and therefore SYMROOT, needs to be set at the project level. | 4860 # and therefore SYMROOT, needs to be set at the project level. |
4854 'SYMROOT': '<(DEPTH)/xcodebuild', | 4861 'SYMROOT': '<(DEPTH)/xcodebuild', |
4855 }, | 4862 }, |
4856 } | 4863 } |
OLD | NEW |