Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: media/BUILD.gn

Issue 2031073002: Make media/capture gn and gyps produce components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added again 'Android missed dep' PS5 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/BUILD.gn ('k') | media/base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 ] 331 ]
332 sources -= [ 332 sources -= [
333 "filters/decrypting_audio_decoder.cc", 333 "filters/decrypting_audio_decoder.cc",
334 "filters/decrypting_audio_decoder.h", 334 "filters/decrypting_audio_decoder.h",
335 "filters/decrypting_video_decoder.cc", 335 "filters/decrypting_video_decoder.cc",
336 "filters/decrypting_video_decoder.h", 336 "filters/decrypting_video_decoder.h",
337 ] 337 ]
338 deps += [ 338 deps += [
339 "//media/base/android", 339 "//media/base/android",
340 "//media/base/android:media_jni_headers", 340 "//media/base/android:media_jni_headers",
341 "//media/capture/video/android:capture_java",
342 "//media/capture/video/android:capture_jni_headers",
343 ] 341 ]
344 342
345 # Only 64 bit builds are using android-21 NDK library, check common.gypi 343 # Only 64 bit builds are using android-21 NDK library, check common.gypi
346 if (current_cpu == "arm64" || current_cpu == "x64" || 344 if (current_cpu == "arm64" || current_cpu == "x64" ||
347 current_cpu == "mips64el") { 345 current_cpu == "mips64el") {
348 sources += [ 346 sources += [
349 "base/android/ndk_media_codec_bridge.cc", 347 "base/android/ndk_media_codec_bridge.cc",
350 "base/android/ndk_media_codec_bridge.h", 348 "base/android/ndk_media_codec_bridge.h",
351 "base/android/ndk_media_codec_wrapper.cc", 349 "base/android/ndk_media_codec_wrapper.cc",
352 ] 350 ]
(...skipping 11 matching lines...) Expand all
364 if (is_mac) { 362 if (is_mac) {
365 public_deps += [ "//media/base/mac" ] 363 public_deps += [ "//media/base/mac" ]
366 } 364 }
367 365
368 if (is_ios) { 366 if (is_ios) {
369 deps += [ "//media/base/mac" ] 367 deps += [ "//media/base/mac" ]
370 } 368 }
371 369
372 if (is_win) { 370 if (is_win) {
373 deps += [ "//media/base/win" ] 371 deps += [ "//media/base/win" ]
374 libs += [
375 "mf.lib",
376 "mfplat.lib",
377 "mfreadwrite.lib",
378 "mfuuid.lib",
379 ]
380 } 372 }
381 373
382 if (proprietary_codecs) { 374 if (proprietary_codecs) {
383 sources += [ 375 sources += [
384 "cdm/cenc_utils.cc", 376 "cdm/cenc_utils.cc",
385 "cdm/cenc_utils.h", 377 "cdm/cenc_utils.h",
386 "filters/h264_to_annex_b_bitstream_converter.cc", 378 "filters/h264_to_annex_b_bitstream_converter.cc",
387 "filters/h264_to_annex_b_bitstream_converter.h", 379 "filters/h264_to_annex_b_bitstream_converter.h",
388 "formats/mp4/aac.cc", 380 "formats/mp4/aac.cc",
389 "formats/mp4/aac.h", 381 "formats/mp4/aac.h",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 "filters/source_buffer_platform.cc", 448 "filters/source_buffer_platform.cc",
457 "filters/source_buffer_platform.h", 449 "filters/source_buffer_platform.h",
458 ] 450 ]
459 } 451 }
460 452
461 public_deps += [ 453 public_deps += [
462 ":media_features", 454 ":media_features",
463 ":shared_memory_support", 455 ":shared_memory_support",
464 "//media/audio", 456 "//media/audio",
465 "//media/base", 457 "//media/base",
466 "//media/capture",
467 "//third_party/opus", 458 "//third_party/opus",
468 ] 459 ]
469 460
470 deps += [ 461 deps += [
471 "//base", 462 "//base",
472 "//base:i18n", 463 "//base:i18n",
473 "//base/third_party/dynamic_annotations", 464 "//base/third_party/dynamic_annotations",
474 "//crypto", 465 "//crypto",
475 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp via export_dependent_settings 466 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp via export_dependent_settings
476 "//gpu/command_buffer/client:gles2_interface", 467 "//gpu/command_buffer/client:gles2_interface",
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 ":cdm_paths", 583 ":cdm_paths",
593 ":media", 584 ":media",
594 ":test_support", 585 ":test_support",
595 "//base/test:test_support", 586 "//base/test:test_support",
596 "//gpu:test_support", 587 "//gpu:test_support",
597 "//gpu/command_buffer/common", 588 "//gpu/command_buffer/common",
598 "//media/audio:test_support", 589 "//media/audio:test_support",
599 "//media/audio:unittests", 590 "//media/audio:unittests",
600 "//media/base:test_support", 591 "//media/base:test_support",
601 "//media/base:unittests", 592 "//media/base:unittests",
593
594 # TODO(mcasas): Remove the capture sources after https://crbug.com/618718.
602 "//media/capture:unittests", 595 "//media/capture:unittests",
603 "//media/test:pipeline_integration_tests", 596 "//media/test:pipeline_integration_tests",
604 "//skia", # Direct dependency required to inherit config. 597 "//skia", # Direct dependency required to inherit config.
605 "//testing/gmock", 598 "//testing/gmock",
606 "//testing/gtest", 599 "//testing/gtest",
607 "//third_party/libwebm", 600 "//third_party/libwebm",
608 "//third_party/libyuv", 601 "//third_party/libyuv",
609 "//third_party/widevine/cdm:version_h", 602 "//third_party/widevine/cdm:version_h",
610 "//ui/gfx:test_support", 603 "//ui/gfx:test_support",
611 "//url", 604 "//url",
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 sources = [ 876 sources = [
884 "filters/vpx_video_decoder_fuzzertest.cc", 877 "filters/vpx_video_decoder_fuzzertest.cc",
885 ] 878 ]
886 deps = [ 879 deps = [
887 ":media", 880 ":media",
888 "//base", 881 "//base",
889 ] 882 ]
890 libfuzzer_options = [ "max_len = 400000" ] 883 libfuzzer_options = [ "max_len = 400000" ]
891 seed_corpus = "//media/test/data" 884 seed_corpus = "//media/test/data"
892 } 885 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698