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

Side by Side Diff: media/BUILD.gn

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: fix 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
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("//testing/libfuzzer/fuzzer_test.gni") 12 import("//testing/libfuzzer/fuzzer_test.gni")
13 import("//testing/test.gni") 13 import("//testing/test.gni")
14 import("//third_party/ffmpeg/ffmpeg_options.gni") 14 import("//third_party/ffmpeg/ffmpeg_options.gni")
15 import("//third_party/widevine/cdm/widevine.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",
22 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", 23 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser",
23 ] 24 ]
24 } 25 }
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
604 "//skia", # Direct dependency required to inherit config. 605 "//skia", # Direct dependency required to inherit config.
605 "//testing/gmock", 606 "//testing/gmock",
606 "//testing/gtest", 607 "//testing/gtest",
607 "//third_party/libwebm", 608 "//third_party/libwebm",
608 "//third_party/libyuv", 609 "//third_party/libyuv",
610 "//third_party/widevine/cdm:cdm_features",
609 "//third_party/widevine/cdm:version_h", 611 "//third_party/widevine/cdm:version_h",
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",
(...skipping 282 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

Powered by Google App Engine
This is Rietveld 408576698