OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") | 7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") |
8 | 8 |
9 source_set("common") { | 9 source_set("common") { |
10 sources = [ | 10 sources = [ |
11 "media_pipe_base.cc", | 11 "media_pipe_base.cc", |
12 "media_pipe_base.h", | 12 "media_pipe_base.h", |
13 "rate_control_base.cc", | 13 "rate_control_base.cc", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//mojo/services/media/common/cpp", | 18 "//mojo/services/media/common/cpp", |
19 "//mojo/services/media/common/interfaces", | 19 "//mojo/services/media/common/interfaces", |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 mojo_native_application("apptests") { | 23 mojo_native_application("apptests") { |
24 output_name = "media_common_apptests" | 24 output_name = "media_common_apptests" |
25 | 25 |
26 testonly = true | 26 testonly = true |
27 | 27 |
28 sources = [ | 28 sources = [ |
29 "test/linear_function_test.cc", | |
30 "test/ratio_test.cc", | |
31 "test/test_base.h", | 29 "test/test_base.h", |
| 30 "test/timeline_function_test.cc", |
| 31 "test/timeline_rate_test.cc", |
32 ] | 32 ] |
33 | 33 |
34 deps = [ | 34 deps = [ |
35 "//base", | 35 "//base", |
36 "//mojo/application", | 36 "//mojo/application", |
37 "//mojo/application:test_support", | 37 "//mojo/application:test_support", |
38 "//mojo/services/media/common/cpp", | 38 "//mojo/services/media/common/cpp", |
39 ] | 39 ] |
40 } | 40 } |
OLD | NEW |