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

Side by Side Diff: media/BUILD.gn

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

Powered by Google App Engine
This is Rietveld 408576698