| 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") | 12 import("//ppapi/features/features.gni") |
| 13 import("//testing/libfuzzer/fuzzer_test.gni") | 13 import("//testing/libfuzzer/fuzzer_test.gni") |
| 14 import("//testing/test.gni") | 14 import("//testing/test.gni") |
| 15 import("//third_party/ffmpeg/ffmpeg_options.gni") | 15 import("//third_party/ffmpeg/ffmpeg_options.gni") |
| 16 | 16 |
| 17 buildflag_header("media_features") { | 17 buildflag_header("media_features") { |
| 18 header = "media_features.h" | 18 header = "media_features.h" |
| 19 | 19 |
| 20 flags = [ | 20 flags = [ |
| 21 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", | 21 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", |
| 22 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", | 22 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", |
| 23 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", | 23 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", |
| 24 "ENABLE_MEDIA_REMOTING=$enable_media_remoting", | 24 "ENABLE_MEDIA_REMOTING=$enable_media_remoting", |
| 25 "ENABLE_WEBRTC=$enable_webrtc", |
| 25 ] | 26 ] |
| 26 } | 27 } |
| 27 | 28 |
| 28 if (proprietary_codecs && media_use_ffmpeg) { | 29 if (proprietary_codecs && media_use_ffmpeg) { |
| 29 assert( | 30 assert( |
| 30 ffmpeg_branding != "Chromium", | 31 ffmpeg_branding != "Chromium", |
| 31 "proprietary codecs and ffmpeg_branding set to Chromium are incompatible") | 32 "proprietary codecs and ffmpeg_branding set to Chromium are incompatible") |
| 32 } | 33 } |
| 33 | 34 |
| 34 # Common configuration for targets in the media directory. | 35 # Common configuration for targets in the media directory. |
| (...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 930 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
| 930 sources = [ | 931 sources = [ |
| 931 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 932 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
| 932 ] | 933 ] |
| 933 deps = [ | 934 deps = [ |
| 934 ":media", | 935 ":media", |
| 935 "//base", | 936 "//base", |
| 936 ] | 937 ] |
| 937 } | 938 } |
| 938 } | 939 } |
| OLD | NEW |