Chromium Code Reviews| 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("//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 | 15 |
| 16 buildflag_header("media_features") { | 16 buildflag_header("media_features") { |
| 17 header = "media_features.h" | 17 header = "media_features.h" |
| 18 | 18 |
| 19 flags = [ | 19 flags = [ |
| 20 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", | 20 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", |
| 21 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", | 21 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", |
| 22 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", | 22 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", |
| 23 | |
| 24 # Flags for Mojo audio. | |
|
Henrik Grunell
2016/09/01 15:09:07
Same here, what will these be used for?
| |
| 25 "ENABLE_MOJO_AUDIO=$enable_mojo_audio", | |
| 26 "ENABLE_MOJO_AUDIO_IN_BROWSER_PROCESS=$enable_mojo_audio", | |
| 27 "ENABLE_MOJO_AUDIO_IN_GPU_PROCESS=false", | |
| 28 "ENABLE_MOJO_AUDIO_IN_UTILITY_PROCESS=false", | |
| 23 ] | 29 ] |
| 24 } | 30 } |
| 25 | 31 |
| 26 if (proprietary_codecs && media_use_ffmpeg) { | 32 if (proprietary_codecs && media_use_ffmpeg) { |
| 27 assert( | 33 assert( |
| 28 ffmpeg_branding != "Chromium", | 34 ffmpeg_branding != "Chromium", |
| 29 "proprietary codecs and ffmpeg_branding set to Chromium are incompatible") | 35 "proprietary codecs and ffmpeg_branding set to Chromium are incompatible") |
| 30 } | 36 } |
| 31 | 37 |
| 32 # Common configuration for targets in the media directory. | 38 # Common configuration for targets in the media directory. |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 888 sources = [ | 894 sources = [ |
| 889 "filters/vpx_video_decoder_fuzzertest.cc", | 895 "filters/vpx_video_decoder_fuzzertest.cc", |
| 890 ] | 896 ] |
| 891 deps = [ | 897 deps = [ |
| 892 ":media", | 898 ":media", |
| 893 "//base", | 899 "//base", |
| 894 ] | 900 ] |
| 895 libfuzzer_options = [ "max_len = 400000" ] | 901 libfuzzer_options = [ "max_len = 400000" ] |
| 896 seed_corpus = "//media/test/data" | 902 seed_corpus = "//media/test/data" |
| 897 } | 903 } |
| OLD | NEW |