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': '<!pymod_do_main(dir_exists ../third_party/directxsdk)'
, | 9 'directxsdk_exists': '<!pymod_do_main(dir_exists ../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 'conditions': [ | 24 'conditions': [ |
25 ['OS != "ios"', { | 25 ['OS != "ios"', { |
26 'includes': [ | 26 'includes': [ |
27 'content_common_mojo_bindings.gypi', | 27 'content_common_mojo_bindings.gypi', |
28 '../build/win_precompile.gypi', | 28 '../build/win_precompile.gypi', |
29 ], | 29 ], |
30 'targets': [ | |
31 { | |
32 'target_name': 'webkit_version', | |
33 'type': 'none', | |
34 'actions': [ | |
35 { | |
36 'action_name': 'generate_webkit_version', | |
37 'inputs': [ | |
38 '<(script)', | |
39 '<(lastchange)', | |
40 '<(template)', | |
41 ], | |
42 'outputs': [ | |
43 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', | |
44 ], | |
45 'action': ['python', | |
46 '<(script)', | |
47 '-f', '<(lastchange)', | |
48 '<(template)', | |
49 '<@(_outputs)', | |
50 ], | |
51 'variables': { | |
52 'script': '<(DEPTH)/build/util/version.py', | |
53 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink', | |
54 'template': 'webkit_version.h.in', | |
55 }, | |
56 }, | |
57 ], | |
58 'direct_dependent_settings': { | |
59 'include_dirs': [ | |
60 '<(SHARED_INTERMEDIATE_DIR)', | |
61 ], | |
62 }, | |
63 # Dependents may rely on files generated by this target or one of | |
64 # its own hard dependencies. | |
65 'hard_dependency': 1, | |
66 }, | |
67 ], | |
68 }], | 30 }], |
69 # In component mode, we build all of content as a single DLL. | 31 # In component mode, we build all of content as a single DLL. |
70 # However, in the static mode, we need to build content as multiple | 32 # However, in the static mode, we need to build content as multiple |
71 # targets in order to prevent dependencies from getting introduced | 33 # targets in order to prevent dependencies from getting introduced |
72 # upstream unnecessarily (e.g., content_renderer depends on allocator | 34 # upstream unnecessarily (e.g., content_renderer depends on allocator |
73 # and chrome_exe depends on content_common but we don't want | 35 # and chrome_exe depends on content_common but we don't want |
74 # chrome_exe to have to depend on allocator). | 36 # chrome_exe to have to depend on allocator). |
75 ['component=="static_library"', { | 37 ['component=="static_library"', { |
76 'target_defines': [ | 38 'target_defines': [ |
77 'COMPILE_CONTENT_STATICALLY', | 39 'COMPILE_CONTENT_STATICALLY', |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 ], | 533 ], |
572 }, | 534 }, |
573 ], | 535 ], |
574 }], | 536 }], |
575 ], | 537 ], |
576 }, | 538 }, |
577 ], | 539 ], |
578 }], # OS == "android" | 540 }], # OS == "android" |
579 ], | 541 ], |
580 } | 542 } |
OLD | NEW |