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 | 14 |
15 buildflag_header("media_features") { | 15 buildflag_header("media_features") { |
16 header = "media_features.h" | 16 header = "media_features.h" |
17 | 17 |
18 flags = [ | 18 flags = [ |
19 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", | 19 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", |
20 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", | 20 "ENABLE_HEVC_DEMUXING=$enable_hevc_demuxing", |
21 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", | 21 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", |
22 "ENABLE_MP4_VP9_DEMUXING=0", | 22 "ENABLE_MP4_VP9_DEMUXING=0", |
| 23 "FORCE_MOJO_MEDIA_PLAYER_RENDERER=$force_mojo_media_player_renderer", |
23 ] | 24 ] |
24 } | 25 } |
25 | 26 |
26 # Common configuration for targets in the media directory. | 27 # Common configuration for targets in the media directory. |
27 # NOT for exporting. | 28 # NOT for exporting. |
28 config("media_config") { | 29 config("media_config") { |
29 defines = [] | 30 defines = [] |
30 if (!media_use_libvpx) { | 31 if (!media_use_libvpx) { |
31 defines += [ "MEDIA_DISABLE_LIBVPX" ] | 32 defines += [ "MEDIA_DISABLE_LIBVPX" ] |
32 } | 33 } |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 sources = [ | 884 sources = [ |
884 "filters/vpx_video_decoder_fuzzertest.cc", | 885 "filters/vpx_video_decoder_fuzzertest.cc", |
885 ] | 886 ] |
886 deps = [ | 887 deps = [ |
887 ":media", | 888 ":media", |
888 "//base", | 889 "//base", |
889 ] | 890 ] |
890 libfuzzer_options = [ "max_len = 400000" ] | 891 libfuzzer_options = [ "max_len = 400000" ] |
891 seed_corpus = "//media/test/data" | 892 seed_corpus = "//media/test/data" |
892 } | 893 } |
OLD | NEW |