| 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/test.gni") | 12 import("//testing/test.gni") |
| 13 | 13 |
| 14 buildflag_header("media_features") { | 14 buildflag_header("media_features") { |
| 15 header = "media_features.h" | 15 header = "media_features.h" |
| 16 | 16 |
| 17 flags = | 17 flags = [ |
| 18 [ "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser" ] | 18 "ENABLE_AC3_EAC3_AUDIO_DEMUXING=$enable_ac3_eac3_audio_demuxing", |
| 19 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=$enable_mse_mpeg2ts_stream_parser", |
| 20 ] |
| 19 } | 21 } |
| 20 | 22 |
| 21 # Common configuration for targets in the media directory. | 23 # Common configuration for targets in the media directory. |
| 22 # NOT for exporting. | 24 # NOT for exporting. |
| 23 config("media_config") { | 25 config("media_config") { |
| 24 defines = [] | 26 defines = [] |
| 25 if (!media_use_libvpx) { | 27 if (!media_use_libvpx) { |
| 26 defines += [ "MEDIA_DISABLE_LIBVPX" ] | 28 defines += [ "MEDIA_DISABLE_LIBVPX" ] |
| 27 } | 29 } |
| 28 if (!media_use_ffmpeg) { | 30 if (!media_use_ffmpeg) { |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 "//media/base:test_support", | 928 "//media/base:test_support", |
| 927 "//media/test:pipeline_integration_tests", | 929 "//media/test:pipeline_integration_tests", |
| 928 "//testing/gmock", | 930 "//testing/gmock", |
| 929 "//testing/gtest", | 931 "//testing/gtest", |
| 930 "//third_party/ffmpeg", | 932 "//third_party/ffmpeg", |
| 931 "//ui/gfx:test_support", | 933 "//ui/gfx:test_support", |
| 932 "//ui/gfx/geometry", | 934 "//ui/gfx/geometry", |
| 933 ] | 935 ] |
| 934 } | 936 } |
| 935 } | 937 } |
| OLD | NEW |