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 2439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2450 }], | 2450 }], |
2451 ['enable_mdns==1', { | 2451 ['enable_mdns==1', { |
2452 'defines': ['ENABLE_MDNS=1'], | 2452 'defines': ['ENABLE_MDNS=1'], |
2453 }], | 2453 }], |
2454 ['enable_enhanced_bookmarks==1', { | 2454 ['enable_enhanced_bookmarks==1', { |
2455 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2455 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2456 }], | 2456 }], |
2457 ['enable_ipc_fuzzer==1', { | 2457 ['enable_ipc_fuzzer==1', { |
2458 'defines': ['ENABLE_IPC_FUZZER=1'], | 2458 'defines': ['ENABLE_IPC_FUZZER=1'], |
2459 }], | 2459 }], |
| 2460 ['OS=="win" and component=="shared_library"', { |
| 2461 'dependencies': [ |
| 2462 # All targets in a component build must depend on chrome_redirects, |
| 2463 # to ensure that certain calls go through it. |
| 2464 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 2465 ], |
| 2466 }], |
2460 ], # conditions for 'target_defaults' | 2467 ], # conditions for 'target_defaults' |
2461 'target_conditions': [ | 2468 'target_conditions': [ |
2462 ['enable_wexit_time_destructors==1', { | 2469 ['enable_wexit_time_destructors==1', { |
2463 'conditions': [ | 2470 'conditions': [ |
2464 [ 'clang==1', { | 2471 [ 'clang==1', { |
2465 'cflags': [ | 2472 'cflags': [ |
2466 '-Wexit-time-destructors', | 2473 '-Wexit-time-destructors', |
2467 ], | 2474 ], |
2468 'xcode_settings': { | 2475 'xcode_settings': { |
2469 'WARNING_CFLAGS': [ | 2476 'WARNING_CFLAGS': [ |
(...skipping 2415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4885 # settings in target dicts. SYMROOT is a special case, because many other | 4892 # settings in target dicts. SYMROOT is a special case, because many other |
4886 # Xcode variables depend on it, including variables such as | 4893 # Xcode variables depend on it, including variables such as |
4887 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4894 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4888 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4895 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4889 # files to appear (when present) in the UI as actual files and not red | 4896 # files to appear (when present) in the UI as actual files and not red |
4890 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4897 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4891 # and therefore SYMROOT, needs to be set at the project level. | 4898 # and therefore SYMROOT, needs to be set at the project level. |
4892 'SYMROOT': '<(DEPTH)/xcodebuild', | 4899 'SYMROOT': '<(DEPTH)/xcodebuild', |
4893 }, | 4900 }, |
4894 } | 4901 } |
OLD | NEW |