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 2455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2466 }], | 2466 }], |
2467 ['enable_mdns==1', { | 2467 ['enable_mdns==1', { |
2468 'defines': ['ENABLE_MDNS=1'], | 2468 'defines': ['ENABLE_MDNS=1'], |
2469 }], | 2469 }], |
2470 ['enable_enhanced_bookmarks==1', { | 2470 ['enable_enhanced_bookmarks==1', { |
2471 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2471 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2472 }], | 2472 }], |
2473 ['enable_ipc_fuzzer==1', { | 2473 ['enable_ipc_fuzzer==1', { |
2474 'defines': ['ENABLE_IPC_FUZZER=1'], | 2474 'defines': ['ENABLE_IPC_FUZZER=1'], |
2475 }], | 2475 }], |
| 2476 ['OS=="win" and component=="shared_library"', { |
| 2477 'dependencies': [ |
| 2478 # All targets in a component build must depend on chrome_redirects, |
| 2479 # to ensure that certain calls go through it. |
| 2480 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 2481 ], |
| 2482 }], |
2476 ], # conditions for 'target_defaults' | 2483 ], # conditions for 'target_defaults' |
2477 'target_conditions': [ | 2484 'target_conditions': [ |
2478 ['enable_wexit_time_destructors==1', { | 2485 ['enable_wexit_time_destructors==1', { |
2479 'conditions': [ | 2486 'conditions': [ |
2480 [ 'clang==1', { | 2487 [ 'clang==1', { |
2481 'cflags': [ | 2488 'cflags': [ |
2482 '-Wexit-time-destructors', | 2489 '-Wexit-time-destructors', |
2483 ], | 2490 ], |
2484 'xcode_settings': { | 2491 'xcode_settings': { |
2485 'WARNING_CFLAGS': [ | 2492 'WARNING_CFLAGS': [ |
(...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4827 # settings in target dicts. SYMROOT is a special case, because many other | 4834 # settings in target dicts. SYMROOT is a special case, because many other |
4828 # Xcode variables depend on it, including variables such as | 4835 # Xcode variables depend on it, including variables such as |
4829 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4836 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4830 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4837 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4831 # files to appear (when present) in the UI as actual files and not red | 4838 # files to appear (when present) in the UI as actual files and not red |
4832 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4839 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4833 # and therefore SYMROOT, needs to be set at the project level. | 4840 # and therefore SYMROOT, needs to be set at the project level. |
4834 'SYMROOT': '<(DEPTH)/xcodebuild', | 4841 'SYMROOT': '<(DEPTH)/xcodebuild', |
4835 }, | 4842 }, |
4836 } | 4843 } |
OLD | NEW |