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 ], | |
27 'conditions': [ | 24 'conditions': [ |
28 ['OS != "ios"', { | 25 ['OS != "ios"', { |
29 'includes': [ | 26 'includes': [ |
30 '../build/win_precompile.gypi', | 27 '../build/win_precompile.gypi', |
31 'content_shell.gypi', | |
32 ], | 28 ], |
33 }], | 29 }], |
34 # In component mode, we build all of content as a single DLL. | 30 # In component mode, we build all of content as a single DLL. |
35 # However, in the static mode, we need to build content as multiple | 31 # However, in the static mode, we need to build content as multiple |
36 # targets in order to prevent dependencies from getting introduced | 32 # targets in order to prevent dependencies from getting introduced |
37 # upstream unnecessarily (e.g., content_renderer depends on allocator | 33 # upstream unnecessarily (e.g., content_renderer depends on allocator |
38 # and chrome_exe depends on content_common but we don't want | 34 # and chrome_exe depends on content_common but we don't want |
39 # chrome_exe to have to depend on allocator). | 35 # chrome_exe to have to depend on allocator). |
40 ['component=="static_library"', { | 36 ['component=="static_library"', { |
41 'target_defines': [ | 37 'target_defines': [ |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 'include_dirs': [ | 450 'include_dirs': [ |
455 '<(SHARED_INTERMEDIATE_DIR)/content', | 451 '<(SHARED_INTERMEDIATE_DIR)/content', |
456 ], | 452 ], |
457 }, | 453 }, |
458 'includes': [ 'content_jni.gypi' ], | 454 'includes': [ 'content_jni.gypi' ], |
459 }, | 455 }, |
460 ], | 456 ], |
461 }], # OS == "android" | 457 }], # OS == "android" |
462 ], | 458 ], |
463 } | 459 } |
OLD | NEW |