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 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 # Disable c4267 warnings until we fix size_t to int truncations. | 281 # Disable c4267 warnings until we fix size_t to int truncations. |
282 'msvs_disabled_warnings': [ 4267, ], | 282 'msvs_disabled_warnings': [ 4267, ], |
283 }, | 283 }, |
284 { | 284 { |
285 # GN version: //content/renderer and //content/public/renderer | 285 # GN version: //content/renderer and //content/public/renderer |
286 'target_name': 'content_renderer', | 286 'target_name': 'content_renderer', |
287 'type': 'static_library', | 287 'type': 'static_library', |
288 'variables': { 'enable_wexit_time_destructors': 1, }, | 288 'variables': { 'enable_wexit_time_destructors': 1, }, |
289 'includes': [ | 289 'includes': [ |
290 'content_renderer.gypi', | 290 'content_renderer.gypi', |
| 291 '../third_party/webrtc/build/common.gypi', |
291 ], | 292 ], |
292 'dependencies': [ | 293 'dependencies': [ |
293 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', | |
294 'common_features', | 294 'common_features', |
295 'content_child', | 295 'content_child', |
296 'content_common', | 296 'content_common', |
297 'content_gpu', | 297 'content_gpu', |
298 'content_resources', | 298 'content_resources', |
299 ], | 299 ], |
300 'export_dependent_settings': [ | 300 'export_dependent_settings': [ |
301 'content_common', | 301 'content_common', |
302 ], | 302 ], |
303 'conditions': [ | 303 'conditions': [ |
304 ['chromium_enable_vtune_jit_for_v8==1', { | 304 ['chromium_enable_vtune_jit_for_v8==1', { |
305 'dependencies': [ | 305 'dependencies': [ |
306 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | 306 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
307 ], | 307 ], |
308 }], | 308 }], |
| 309 ['rtc_use_h264==1', { |
| 310 'dependencies': [ |
| 311 '../third_party/openh264/openh264.gyp:openh264_encoder', |
| 312 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', |
| 313 ], |
| 314 }], |
309 ], | 315 ], |
310 }, | 316 }, |
311 { | 317 { |
312 # GN version: //content/utility and //content/public/utility | 318 # GN version: //content/utility and //content/public/utility |
313 'target_name': 'content_utility', | 319 'target_name': 'content_utility', |
314 'type': 'static_library', | 320 'type': 'static_library', |
315 'variables': { 'enable_wexit_time_destructors': 1, }, | 321 'variables': { 'enable_wexit_time_destructors': 1, }, |
316 'includes': [ | 322 'includes': [ |
317 'content_utility.gypi', | 323 'content_utility.gypi', |
318 ], | 324 ], |
319 'dependencies': [ | 325 'dependencies': [ |
320 'content_child', | 326 'content_child', |
321 'content_common', | 327 'content_common', |
322 'content_common_mojo_bindings.gyp:content_common_mojo_bindings', | 328 'content_common_mojo_bindings.gyp:content_common_mojo_bindings', |
323 ], | 329 ], |
324 }, | 330 }, |
325 ], | 331 ], |
326 }, | 332 }, |
327 { # component != static_library | 333 { # component != static_library |
328 'targets': [ | 334 'targets': [ |
329 { | 335 { |
330 # GN version: //content | 336 # GN version: //content |
331 'target_name': 'content', | 337 'target_name': 'content', |
332 'type': 'shared_library', | 338 'type': 'shared_library', |
333 'variables': { 'enable_wexit_time_destructors': 1, }, | 339 'variables': { 'enable_wexit_time_destructors': 1, }, |
334 'dependencies': [ | 340 'dependencies': [ |
335 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', | |
336 'common_features', | 341 'common_features', |
337 'content_resources', | 342 'content_resources', |
338 ], | 343 ], |
339 'conditions': [ | 344 'conditions': [ |
340 ['chromium_enable_vtune_jit_for_v8==1', { | 345 ['chromium_enable_vtune_jit_for_v8==1', { |
341 'dependencies': [ | 346 'dependencies': [ |
342 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', | 347 '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
343 ], | 348 ], |
344 }], | 349 }], |
| 350 ['rtc_use_h264==1', { |
| 351 'dependencies': [ |
| 352 '../third_party/openh264/openh264.gyp:openh264_encoder', |
| 353 '../third_party/webrtc/modules/modules.gyp:webrtc_h264', |
| 354 ], |
| 355 }], |
345 ], | 356 ], |
346 'includes': [ | 357 'includes': [ |
347 'content_app.gypi', | 358 'content_app.gypi', |
348 'content_browser.gypi', | 359 'content_browser.gypi', |
349 'content_child.gypi', | 360 'content_child.gypi', |
350 'content_common.gypi', | 361 'content_common.gypi', |
351 'content_gpu.gypi', | 362 'content_gpu.gypi', |
352 'content_ppapi_plugin.gypi', | 363 'content_ppapi_plugin.gypi', |
353 'content_renderer.gypi', | 364 'content_renderer.gypi', |
354 'content_utility.gypi', | 365 'content_utility.gypi', |
| 366 '../third_party/webrtc/build/common.gypi', |
355 ], | 367 ], |
356 'msvs_settings': { | 368 'msvs_settings': { |
357 'VCLinkerTool': { | 369 'VCLinkerTool': { |
358 'conditions': [ | 370 'conditions': [ |
359 ['incremental_chrome_dll==1', { | 371 ['incremental_chrome_dll==1', { |
360 'UseLibraryDependencyInputs': "true", | 372 'UseLibraryDependencyInputs': "true", |
361 }], | 373 }], |
362 ], | 374 ], |
363 }, | 375 }, |
364 }, | 376 }, |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 }, | 689 }, |
678 'includes': [ | 690 'includes': [ |
679 '../build/android/copy_ex.gypi', | 691 '../build/android/copy_ex.gypi', |
680 '../build/android/v8_external_startup_data_arch_suffix.gypi', | 692 '../build/android/v8_external_startup_data_arch_suffix.gypi', |
681 ], | 693 ], |
682 }, | 694 }, |
683 ], | 695 ], |
684 }], # OS == "android" | 696 }], # OS == "android" |
685 ], | 697 ], |
686 } | 698 } |
OLD | NEW |