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_vtunejit_for_v8%': 0, # enable the vtune support for V8 en gine. | |
haraken
2013/05/15 02:16:15
Nit: chromium_enable_vtunejit_for_v8 => chromium_e
| |
8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', | 9 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', |
9 }, | 10 }, |
10 'target_defaults': { | 11 'target_defaults': { |
11 'defines': ['CONTENT_IMPLEMENTATION'], | 12 'defines': ['CONTENT_IMPLEMENTATION'], |
12 'conditions': [ | 13 'conditions': [ |
13 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. | 14 # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. |
14 ['OS=="win" and target_arch=="x64"', { | 15 ['OS=="win" and target_arch=="x64"', { |
15 'msvs_settings': { | 16 'msvs_settings': { |
16 'VCCLCompilerTool': { | 17 'VCCLCompilerTool': { |
17 'AdditionalOptions': ['/bigobj'], | 18 'AdditionalOptions': ['/bigobj'], |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 'target_name': 'content_renderer', | 156 'target_name': 'content_renderer', |
156 'type': 'static_library', | 157 'type': 'static_library', |
157 'variables': { 'enable_wexit_time_destructors': 1, }, | 158 'variables': { 'enable_wexit_time_destructors': 1, }, |
158 'includes': [ | 159 'includes': [ |
159 'content_renderer.gypi', | 160 'content_renderer.gypi', |
160 ], | 161 ], |
161 'dependencies': [ | 162 'dependencies': [ |
162 'content_common', | 163 'content_common', |
163 'content_resources.gyp:content_resources', | 164 'content_resources.gyp:content_resources', |
164 ], | 165 ], |
166 'conditions': [ | |
167 ['chromium_enable_vtunejit_for_v8==1', { | |
168 'dependencies': [ | |
169 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | |
170 ], | |
171 }], | |
172 ], | |
165 }, | 173 }, |
166 { | 174 { |
167 'target_name': 'content_utility', | 175 'target_name': 'content_utility', |
168 'type': 'static_library', | 176 'type': 'static_library', |
169 'variables': { 'enable_wexit_time_destructors': 1, }, | 177 'variables': { 'enable_wexit_time_destructors': 1, }, |
170 'includes': [ | 178 'includes': [ |
171 'content_utility.gypi', | 179 'content_utility.gypi', |
172 ], | 180 ], |
173 'dependencies': [ | 181 'dependencies': [ |
174 'content_common', | 182 'content_common', |
(...skipping 22 matching lines...) Expand all Loading... | |
197 'variables': { 'enable_wexit_time_destructors': 1, }, | 205 'variables': { 'enable_wexit_time_destructors': 1, }, |
198 'dependencies': [ | 206 'dependencies': [ |
199 'content_resources.gyp:content_resources', | 207 'content_resources.gyp:content_resources', |
200 ], | 208 ], |
201 'conditions': [ | 209 'conditions': [ |
202 ['OS=="mac"', { | 210 ['OS=="mac"', { |
203 'dependencies': [ | 211 'dependencies': [ |
204 '<(DEPTH)/third_party/mach_override/mach_override.gyp:mach_overr ide', | 212 '<(DEPTH)/third_party/mach_override/mach_override.gyp:mach_overr ide', |
205 ], | 213 ], |
206 }], | 214 }], |
215 ['chromium_enable_vtunejit_for_v8==1', { | |
216 'dependencies': [ | |
217 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | |
218 ], | |
219 }], | |
207 ], | 220 ], |
208 'includes': [ | 221 'includes': [ |
209 'content_app.gypi', | 222 'content_app.gypi', |
210 'content_browser.gypi', | 223 'content_browser.gypi', |
211 'content_common.gypi', | 224 'content_common.gypi', |
212 'content_gpu.gypi', | 225 'content_gpu.gypi', |
213 'content_plugin.gypi', | 226 'content_plugin.gypi', |
214 'content_ppapi_plugin.gypi', | 227 'content_ppapi_plugin.gypi', |
215 'content_renderer.gypi', | 228 'content_renderer.gypi', |
216 'content_utility.gypi', | 229 'content_utility.gypi', |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
382 'include_dirs': [ | 395 'include_dirs': [ |
383 '<(SHARED_INTERMEDIATE_DIR)/content', | 396 '<(SHARED_INTERMEDIATE_DIR)/content', |
384 ], | 397 ], |
385 }, | 398 }, |
386 'includes': [ 'content_jni.gypi' ], | 399 'includes': [ 'content_jni.gypi' ], |
387 }, | 400 }, |
388 ], | 401 ], |
389 }], # OS == "android" | 402 }], # OS == "android" |
390 ], | 403 ], |
391 } | 404 } |
OLD | NEW |