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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e
ngine. | 8 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 e
ngine. |
9 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', | 9 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/
directxsdk)', |
10 }, | 10 }, |
11 'target_defaults': { | 11 'target_defaults': { |
12 'defines': ['CONTENT_IMPLEMENTATION'], | 12 'defines': ['CONTENT_IMPLEMENTATION'], |
13 'conditions': [ | 13 'conditions': [ |
14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. | 14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. |
15 ['OS=="win" and target_arch=="x64"', { | 15 ['OS=="win" and target_arch=="x64"', { |
16 'msvs_settings': { | 16 'msvs_settings': { |
17 'VCCLCompilerTool': { | 17 'VCCLCompilerTool': { |
18 'AdditionalOptions': ['/bigobj'], | 18 'AdditionalOptions': ['/bigobj'], |
19 }, | 19 }, |
20 }, | 20 }, |
21 }], | 21 }], |
22 ], | 22 ], |
23 }, | 23 }, |
| 24 'includes': [ |
| 25 'content_tests.gypi', |
| 26 ], |
24 'conditions': [ | 27 'conditions': [ |
25 ['OS != "ios"', { | 28 ['OS != "ios"', { |
26 'includes': [ | 29 'includes': [ |
27 '../build/win_precompile.gypi', | 30 '../build/win_precompile.gypi', |
| 31 'content_shell.gypi', |
28 ], | 32 ], |
29 }], | 33 }], |
30 # In component mode, we build all of content as a single DLL. | 34 # In component mode, we build all of content as a single DLL. |
31 # However, in the static mode, we need to build content as multiple | 35 # However, in the static mode, we need to build content as multiple |
32 # targets in order to prevent dependencies from getting introduced | 36 # targets in order to prevent dependencies from getting introduced |
33 # upstream unnecessarily (e.g., content_renderer depends on allocator | 37 # upstream unnecessarily (e.g., content_renderer depends on allocator |
34 # and chrome_exe depends on content_common but we don't want | 38 # and chrome_exe depends on content_common but we don't want |
35 # chrome_exe to have to depend on allocator). | 39 # chrome_exe to have to depend on allocator). |
36 ['component=="static_library"', { | 40 ['component=="static_library"', { |
37 'target_defines': [ | 41 'target_defines': [ |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 'include_dirs': [ | 454 'include_dirs': [ |
451 '<(SHARED_INTERMEDIATE_DIR)/content', | 455 '<(SHARED_INTERMEDIATE_DIR)/content', |
452 ], | 456 ], |
453 }, | 457 }, |
454 'includes': [ 'content_jni.gypi' ], | 458 'includes': [ 'content_jni.gypi' ], |
455 }, | 459 }, |
456 ], | 460 ], |
457 }], # OS == "android" | 461 }], # OS == "android" |
458 ], | 462 ], |
459 } | 463 } |
OLD | NEW |