| 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 "mojo_publisher.h", |
| 14 "timeline_control_site.cc", |
| 15 "timeline_control_site.h", |
| 14 ] | 16 ] |
| 15 | 17 |
| 16 deps = [ | 18 deps = [ |
| 17 "//base", | 19 "//base", |
| 18 "//mojo/services/media/common/cpp", | 20 "//mojo/services/media/common/cpp", |
| 19 "//mojo/services/media/common/interfaces", | 21 "//mojo/services/media/common/interfaces", |
| 22 "//mojo/services/media/core/interfaces", |
| 20 ] | 23 ] |
| 21 } | 24 } |
| 22 | 25 |
| 23 mojo_native_application("apptests") { | 26 mojo_native_application("apptests") { |
| 24 output_name = "media_common_apptests" | 27 output_name = "media_common_apptests" |
| 25 | 28 |
| 26 testonly = true | 29 testonly = true |
| 27 | 30 |
| 28 sources = [ | 31 sources = [ |
| 29 "test/test_base.h", | 32 "test/test_base.h", |
| 30 "test/timeline_function_test.cc", | 33 "test/timeline_function_test.cc", |
| 31 "test/timeline_rate_test.cc", | 34 "test/timeline_rate_test.cc", |
| 32 ] | 35 ] |
| 33 | 36 |
| 34 deps = [ | 37 deps = [ |
| 35 "//base", | 38 "//base", |
| 36 "//mojo/application", | 39 "//mojo/application", |
| 37 "//mojo/application:test_support", | 40 "//mojo/application:test_support", |
| 38 "//mojo/services/media/common/cpp", | 41 "//mojo/services/media/common/cpp", |
| 39 ] | 42 ] |
| 40 } | 43 } |
| OLD | NEW |