| 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", | |
| 23 ] | 22 ] |
| 24 } | 23 } |
| 25 | 24 |
| 26 # Common configuration for targets in the media directory. | 25 # Common configuration for targets in the media directory. |
| 27 # NOT for exporting. | 26 # NOT for exporting. |
| 28 config("media_config") { | 27 config("media_config") { |
| 29 defines = [] | 28 defines = [] |
| 30 if (!media_use_libvpx) { | 29 if (!media_use_libvpx) { |
| 31 defines += [ "MEDIA_DISABLE_LIBVPX" ] | 30 defines += [ "MEDIA_DISABLE_LIBVPX" ] |
| 32 } | 31 } |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 fuzzer_test("media_vp9_parser_fuzzer") { | 834 fuzzer_test("media_vp9_parser_fuzzer") { |
| 836 sources = [ | 835 sources = [ |
| 837 "filters/vp9_parser_fuzzertest.cc", | 836 "filters/vp9_parser_fuzzertest.cc", |
| 838 ] | 837 ] |
| 839 deps = [ | 838 deps = [ |
| 840 ":media", | 839 ":media", |
| 841 "//base", | 840 "//base", |
| 842 ] | 841 ] |
| 843 libfuzzer_options = [ "max_len = 400000" ] | 842 libfuzzer_options = [ "max_len = 400000" ] |
| 844 } | 843 } |
| OLD | NEW |