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