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