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 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2461 }], | 2461 }], |
2462 ['enable_mdns==1', { | 2462 ['enable_mdns==1', { |
2463 'defines': ['ENABLE_MDNS=1'], | 2463 'defines': ['ENABLE_MDNS=1'], |
2464 }], | 2464 }], |
2465 ['enable_enhanced_bookmarks==1', { | 2465 ['enable_enhanced_bookmarks==1', { |
2466 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2466 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2467 }], | 2467 }], |
2468 ['enable_ipc_fuzzer==1', { | 2468 ['enable_ipc_fuzzer==1', { |
2469 'defines': ['ENABLE_IPC_FUZZER=1'], | 2469 'defines': ['ENABLE_IPC_FUZZER=1'], |
2470 }], | 2470 }], |
| 2471 ['OS=="win" and component=="shared_library"', { |
| 2472 'dependencies': [ |
| 2473 # All targets in a component build must depend on chrome_redirects, |
| 2474 # to ensure that certain calls go through it. |
| 2475 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 2476 ], |
| 2477 }], |
2471 ], # conditions for 'target_defaults' | 2478 ], # conditions for 'target_defaults' |
2472 'target_conditions': [ | 2479 'target_conditions': [ |
2473 ['enable_wexit_time_destructors==1', { | 2480 ['enable_wexit_time_destructors==1', { |
2474 'conditions': [ | 2481 'conditions': [ |
2475 [ 'clang==1', { | 2482 [ 'clang==1', { |
2476 'cflags': [ | 2483 'cflags': [ |
2477 '-Wexit-time-destructors', | 2484 '-Wexit-time-destructors', |
2478 ], | 2485 ], |
2479 'xcode_settings': { | 2486 'xcode_settings': { |
2480 'WARNING_CFLAGS': [ | 2487 'WARNING_CFLAGS': [ |
(...skipping 2315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4796 # settings in target dicts. SYMROOT is a special case, because many other | 4803 # settings in target dicts. SYMROOT is a special case, because many other |
4797 # Xcode variables depend on it, including variables such as | 4804 # Xcode variables depend on it, including variables such as |
4798 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4805 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4799 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4806 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4800 # files to appear (when present) in the UI as actual files and not red | 4807 # files to appear (when present) in the UI as actual files and not red |
4801 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4808 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4802 # and therefore SYMROOT, needs to be set at the project level. | 4809 # and therefore SYMROOT, needs to be set at the project level. |
4803 'SYMROOT': '<(DEPTH)/xcodebuild', | 4810 'SYMROOT': '<(DEPTH)/xcodebuild', |
4804 }, | 4811 }, |
4805 } | 4812 } |
OLD | NEW |