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