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_sdk_root/mojo/public/mojo_sdk.gni") | 6 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") |
7 | 7 |
8 mojo_sdk_source_set("cpp") { | 8 mojo_sdk_source_set("cpp") { |
9 restrict_external_deps = false | 9 restrict_external_deps = false |
10 sources = [ | 10 sources = [ |
11 "circular_buffer_media_pipe_adapter.cc", | 11 "circular_buffer_media_pipe_adapter.cc", |
12 "circular_buffer_media_pipe_adapter.h", | 12 "circular_buffer_media_pipe_adapter.h", |
13 "fifo_allocator.cc", | 13 "fifo_allocator.cc", |
14 "fifo_allocator.h", | 14 "fifo_allocator.h", |
15 "linear_transform.cc", | 15 "linear_transform.cc", |
16 "linear_transform.h", | 16 "linear_transform.h", |
17 "local_time.h", | 17 "local_time.h", |
18 "mapped_shared_buffer.cc", | 18 "mapped_shared_buffer.cc", |
19 "mapped_shared_buffer.h", | 19 "mapped_shared_buffer.h", |
20 "shared_media_buffer_allocator.cc", | 20 "shared_media_buffer_allocator.cc", |
21 "shared_media_buffer_allocator.h", | 21 "shared_media_buffer_allocator.h", |
| 22 "timeline.h", |
22 "timeline_function.cc", | 23 "timeline_function.cc", |
23 "timeline_function.h", | 24 "timeline_function.h", |
24 "timeline_rate.cc", | 25 "timeline_rate.cc", |
25 "timeline_rate.h", | 26 "timeline_rate.h", |
26 ] | 27 ] |
27 | 28 |
28 if (is_posix) { | 29 if (is_posix) { |
29 sources += [ | 30 sources += [ |
30 "platform/posix/local_time.cc", | 31 "platform/posix/local_time.cc", |
31 "platform/posix/local_time.h", | 32 "platform/posix/local_time.h", |
32 ] | 33 ] |
33 } else { | 34 } else { |
34 sources += [ "platform/generic/local_time.h" ] | 35 sources += [ "platform/generic/local_time.h" ] |
35 } | 36 } |
36 | 37 |
37 deps = [ | 38 deps = [ |
38 "$mojo_sdk_root/mojo/public/cpp/environment", | 39 "$mojo_sdk_root/mojo/public/cpp/environment", |
39 "$mojo_sdk_root/mojo/public/cpp/utility", | 40 "$mojo_sdk_root/mojo/public/cpp/utility", |
40 "$mojo_sdk_root/mojo/services/media/common/interfaces", | 41 "$mojo_sdk_root/mojo/services/media/common/interfaces", |
41 ] | 42 ] |
42 } | 43 } |
43 # Look for unit tests in services/media/common/test | 44 # Look for unit tests in services/media/common/test |
44 # TODO(dalesat): Move unit tests here using different test infrastructure. | 45 # TODO(dalesat): Move unit tests here using different test infrastructure. |
OLD | NEW |