| OLD | NEW |
| 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") |
| 11 import("//media/media_options.gni") | 11 import("//media/media_options.gni") |
| 12 import("//ppapi/features/features.gni") | |
| 13 import("//testing/libfuzzer/fuzzer_test.gni") | 12 import("//testing/libfuzzer/fuzzer_test.gni") |
| 14 import("//testing/test.gni") | 13 import("//testing/test.gni") |
| 15 import("//third_party/ffmpeg/ffmpeg_options.gni") | 14 import("//third_party/ffmpeg/ffmpeg_options.gni") |
| 16 | 15 |
| 17 buildflag_header("media_features") { | 16 buildflag_header("media_features") { |
| 18 header = "media_features.h" | 17 header = "media_features.h" |
| 19 | 18 |
| 20 flags = [ | 19 flags = [ |
| 21 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", | 20 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", |
| 22 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", | 21 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 ":media", | 594 ":media", |
| 596 ":test_support", | 595 ":test_support", |
| 597 "//base/test:test_support", | 596 "//base/test:test_support", |
| 598 "//gpu:test_support", | 597 "//gpu:test_support", |
| 599 "//gpu/command_buffer/common", | 598 "//gpu/command_buffer/common", |
| 600 "//media/audio:test_support", | 599 "//media/audio:test_support", |
| 601 "//media/audio:unittests", | 600 "//media/audio:unittests", |
| 602 "//media/base:test_support", | 601 "//media/base:test_support", |
| 603 "//media/base:unittests", | 602 "//media/base:unittests", |
| 604 "//media/test:pipeline_integration_tests", | 603 "//media/test:pipeline_integration_tests", |
| 605 "//ppapi/features", | |
| 606 "//skia", # Direct dependency required to inherit config. | 604 "//skia", # Direct dependency required to inherit config. |
| 607 "//testing/gmock", | 605 "//testing/gmock", |
| 608 "//testing/gtest", | 606 "//testing/gtest", |
| 609 "//third_party/libwebm", | 607 "//third_party/libwebm", |
| 610 "//third_party/libyuv", | 608 "//third_party/libyuv", |
| 611 "//third_party/widevine/cdm:headers", | 609 "//third_party/widevine/cdm:version_h", |
| 612 "//ui/gfx:test_support", | 610 "//ui/gfx:test_support", |
| 613 "//url", | 611 "//url", |
| 614 ] | 612 ] |
| 615 | 613 |
| 616 data_deps = [] | 614 data_deps = [] |
| 617 | 615 |
| 618 if (is_android) { | 616 if (is_android) { |
| 619 sources -= [ | 617 sources -= [ |
| 620 "filters/decrypting_audio_decoder_unittest.cc", | 618 "filters/decrypting_audio_decoder_unittest.cc", |
| 621 "filters/decrypting_video_decoder_unittest.cc", | 619 "filters/decrypting_video_decoder_unittest.cc", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 ":shared_memory_support", | 722 ":shared_memory_support", |
| 725 ":test_support", | 723 ":test_support", |
| 726 "//base/test:test_support", | 724 "//base/test:test_support", |
| 727 "//media/audio:test_support", | 725 "//media/audio:test_support", |
| 728 "//media/base:perftests", | 726 "//media/base:perftests", |
| 729 "//media/base:test_support", | 727 "//media/base:test_support", |
| 730 "//media/test:pipeline_integration_perftests", | 728 "//media/test:pipeline_integration_perftests", |
| 731 "//testing/gmock", | 729 "//testing/gmock", |
| 732 "//testing/gtest", | 730 "//testing/gtest", |
| 733 "//testing/perf", | 731 "//testing/perf", |
| 734 "//third_party/widevine/cdm:headers", | 732 "//third_party/widevine/cdm:version_h", |
| 735 "//ui/gfx:test_support", | 733 "//ui/gfx:test_support", |
| 736 ] | 734 ] |
| 737 if (media_use_ffmpeg) { | 735 if (media_use_ffmpeg) { |
| 738 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit
config. | 736 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit
config. |
| 739 } | 737 } |
| 740 | 738 |
| 741 # This target should not require the Chrome executable to run. | 739 # This target should not require the Chrome executable to run. |
| 742 assert_no_deps = [ "//chrome" ] | 740 assert_no_deps = [ "//chrome" ] |
| 743 | 741 |
| 744 data = [ | 742 data = [ |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 fuzzer_test("media_webm_muxer_fuzzer") { | 901 fuzzer_test("media_webm_muxer_fuzzer") { |
| 904 sources = [ | 902 sources = [ |
| 905 "muxers/webm_muxer_fuzzertest.cc", | 903 "muxers/webm_muxer_fuzzertest.cc", |
| 906 ] | 904 ] |
| 907 deps = [ | 905 deps = [ |
| 908 ":media", | 906 ":media", |
| 909 "//base", | 907 "//base", |
| 910 "//third_party/libwebm", | 908 "//third_party/libwebm", |
| 911 ] | 909 ] |
| 912 } | 910 } |
| OLD | NEW |