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("//mojo/system.gni") | |
6 | |
7 # GYP version: media/media.gyp:mojo_media_lib | 5 # GYP version: media/media.gyp:mojo_media_lib |
8 source_set("lib") { | 6 source_set("lib") { |
9 deps = [ | 7 deps = [ |
10 "//base", | 8 "//base", |
11 "//media", | 9 "//media", |
12 "//media/mojo/interfaces" | 10 "//media/mojo/interfaces" |
13 "//mojo/common", | 11 "//mojo/common", |
14 "//mojo/environment:chromium", | 12 "//mojo/environment:chromium", |
| 13 "//mojo/public/c/system:for_component", |
15 ] | 14 ] |
16 | 15 |
17 deps += mojo_system_for_component | |
18 | |
19 sources = [ | 16 sources = [ |
20 "media_type_converters.cc", | 17 "media_type_converters.cc", |
21 "media_type_converters.h", | 18 "media_type_converters.h", |
22 ] | 19 ] |
23 } | 20 } |
24 | 21 |
25 test("mojo_media_lib_unittests") { | 22 test("mojo_media_lib_unittests") { |
26 sources = [ | 23 sources = [ |
27 "media_type_converters_unittest.cc", | 24 "media_type_converters_unittest.cc", |
28 ] | 25 ] |
29 | 26 |
30 deps = [ | 27 deps = [ |
31 "//base/test:test_support", | 28 "//base/test:test_support", |
32 "//mojo/environment:chromium", | 29 "//mojo/environment:chromium", |
33 "//testing/gtest", | 30 "//testing/gtest", |
34 ":lib" | 31 ":lib" |
35 ] | 32 ] |
36 } | 33 } |
OLD | NEW |