OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 | 6 |
7 assert(media_use_ffmpeg) | 7 assert(media_use_ffmpeg) |
8 | 8 |
9 source_set("ffmpeg") { | 9 source_set("ffmpeg") { |
10 visibility = [ "//media/*" ] | 10 visibility = [ "//media/*" ] |
11 allow_circular_includes_from = [ "//media/base" ] | 11 allow_circular_includes_from = [ "//media/base" ] |
12 configs += [ "//media/base:base_config" ] | 12 configs += [ "//media/base:base_config" ] |
13 sources = [ | 13 sources = [ |
14 "ffmpeg_common.cc", | 14 "ffmpeg_common.cc", |
15 "ffmpeg_common.h", | 15 "ffmpeg_common.h", |
16 "ffmpeg_deleters.h", | 16 "ffmpeg_deleters.h", |
17 ] | 17 ] |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//media:media_features", | 20 "//media:media_features", |
21 "//media:shared_memory_support", | 21 "//media:shared_memory_support", |
22 "//media/base", | 22 "//media/base", |
23 "//third_party/ffmpeg", | 23 "//third_party/ffmpeg", |
| 24 "//third_party/ffmpeg:ffmpeg_features", |
24 ] | 25 ] |
25 } | 26 } |
26 | 27 |
27 source_set("ffmpeg_unittests") { | 28 source_set("ffmpeg_unittests") { |
28 testonly = true | 29 testonly = true |
29 sources = [ | 30 sources = [ |
30 "ffmpeg_common_unittest.cc", | 31 "ffmpeg_common_unittest.cc", |
31 ] | 32 ] |
32 deps = [ | 33 deps = [ |
33 "//base", | 34 "//base", |
(...skipping 10 matching lines...) Expand all Loading... |
44 "ffmpeg_regression_tests.cc", | 45 "ffmpeg_regression_tests.cc", |
45 ] | 46 ] |
46 deps = [ | 47 deps = [ |
47 "//base", | 48 "//base", |
48 "//media", | 49 "//media", |
49 "//media/test:pipeline_integration_test_base", | 50 "//media/test:pipeline_integration_test_base", |
50 "//testing/gmock", | 51 "//testing/gmock", |
51 "//third_party/ffmpeg", | 52 "//third_party/ffmpeg", |
52 ] | 53 ] |
53 } | 54 } |
OLD | NEW |