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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//media/media_options.gni") | |
watk
2015/10/14 21:51:42
Order alphabetically?
Tima Vaisburd
2015/10/14 22:08:31
Done.
| |
6 | 7 |
7 component("blink") { | 8 component("blink") { |
8 output_name = "media_blink" | 9 output_name = "media_blink" |
9 | 10 |
10 deps = [ | 11 deps = [ |
11 "//base", | 12 "//base", |
12 "//cc", | 13 "//cc", |
13 "//cc/blink", | 14 "//cc/blink", |
14 "//gpu/blink", | 15 "//gpu/blink", |
15 "//media", | 16 "//media", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 "webmediaplayer_params.cc", | 69 "webmediaplayer_params.cc", |
69 "webmediaplayer_params.h", | 70 "webmediaplayer_params.h", |
70 "webmediaplayer_util.cc", | 71 "webmediaplayer_util.cc", |
71 "webmediaplayer_util.h", | 72 "webmediaplayer_util.h", |
72 "webmediasource_impl.cc", | 73 "webmediasource_impl.cc", |
73 "webmediasource_impl.h", | 74 "webmediasource_impl.h", |
74 "websourcebuffer_impl.cc", | 75 "websourcebuffer_impl.cc", |
75 "websourcebuffer_impl.h", | 76 "websourcebuffer_impl.h", |
76 ] | 77 ] |
77 | 78 |
78 if (is_android) { | 79 if (is_android && !media_use_ffmpeg) { |
watk
2015/10/14 21:51:42
I think this would be more idiomatic gn (and clear
Tima Vaisburd
2015/10/14 22:08:31
Done.
| |
79 sources -= [ | 80 sources -= [ |
80 "encrypted_media_player_support.cc", | 81 "encrypted_media_player_support.cc", |
81 "encrypted_media_player_support.h", | 82 "encrypted_media_player_support.h", |
82 "webmediaplayer_impl.cc", | 83 "webmediaplayer_impl.cc", |
83 "webmediaplayer_impl.h", | 84 "webmediaplayer_impl.h", |
84 ] | 85 ] |
85 } | 86 } |
86 } | 87 } |
87 | 88 |
88 test("media_blink_unittests") { | 89 test("media_blink_unittests") { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 } | 132 } |
132 | 133 |
133 # TODO(GYP): Delete this after we've converted everything to GN. | 134 # TODO(GYP): Delete this after we've converted everything to GN. |
134 # The _run targets exist only for compatibility w/ GYP. | 135 # The _run targets exist only for compatibility w/ GYP. |
135 group("media_blink_unittests_run") { | 136 group("media_blink_unittests_run") { |
136 testonly = true | 137 testonly = true |
137 deps = [ | 138 deps = [ |
138 ":media_blink_unittests", | 139 ":media_blink_unittests", |
139 ] | 140 ] |
140 } | 141 } |
OLD | NEW |