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_overrides/v8.gni") |
5 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
7 | 8 |
8 component("blink") { | 9 component("blink") { |
9 output_name = "media_blink" | 10 output_name = "media_blink" |
10 | 11 |
11 deps = [ | 12 deps = [ |
12 "//base", | 13 "//base", |
13 "//cc", | 14 "//cc", |
14 "//cc/blink", | 15 "//cc/blink", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 "run_all_unittests.cc", | 119 "run_all_unittests.cc", |
119 "test_response_generator.cc", | 120 "test_response_generator.cc", |
120 "test_response_generator.h", | 121 "test_response_generator.h", |
121 "video_frame_compositor_unittest.cc", | 122 "video_frame_compositor_unittest.cc", |
122 "webaudiosourceprovider_impl_unittest.cc", | 123 "webaudiosourceprovider_impl_unittest.cc", |
123 ] | 124 ] |
124 | 125 |
125 if (is_android) { | 126 if (is_android) { |
126 deps += [ "//ui/gl" ] | 127 deps += [ "//ui/gl" ] |
127 } | 128 } |
| 129 |
| 130 if (v8_use_external_startup_data) { |
| 131 configs += [ "//v8:external_startup_data" ] |
| 132 } |
128 } | 133 } |
129 | 134 |
130 # TODO(GYP): Delete this after we've converted everything to GN. | 135 # TODO(GYP): Delete this after we've converted everything to GN. |
131 # The _run targets exist only for compatibility w/ GYP. | 136 # The _run targets exist only for compatibility w/ GYP. |
132 group("media_blink_unittests_run") { | 137 group("media_blink_unittests_run") { |
133 testonly = true | 138 testonly = true |
134 deps = [ | 139 deps = [ |
135 ":media_blink_unittests", | 140 ":media_blink_unittests", |
136 ] | 141 ] |
137 } | 142 } |
OLD | NEW |