| 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", |
| 14 "fifo_allocator.h", |
| 13 "linear_transform.cc", | 15 "linear_transform.cc", |
| 14 "linear_transform.h", | 16 "linear_transform.h", |
| 15 "local_time.h", | 17 "local_time.h", |
| 18 "mapped_shared_buffer.cc", |
| 19 "mapped_shared_buffer.h", |
| 20 "shared_media_buffer_allocator.cc", |
| 21 "shared_media_buffer_allocator.h", |
| 16 ] | 22 ] |
| 17 | 23 |
| 18 if (is_posix) { | 24 if (is_posix) { |
| 19 sources += [ | 25 sources += [ |
| 20 "platform/posix/local_time.cc", | 26 "platform/posix/local_time.cc", |
| 21 "platform/posix/local_time.h", | 27 "platform/posix/local_time.h", |
| 22 ] | 28 ] |
| 23 } else { | 29 } else { |
| 24 sources += [ "platform/generic/local_time.h" ] | 30 sources += [ "platform/generic/local_time.h" ] |
| 25 } | 31 } |
| 26 | 32 |
| 27 deps = [ | 33 deps = [ |
| 28 "$mojo_sdk_root/mojo/public/cpp/environment", | 34 "$mojo_sdk_root/mojo/public/cpp/environment", |
| 29 "$mojo_sdk_root/mojo/public/cpp/utility", | 35 "$mojo_sdk_root/mojo/public/cpp/utility", |
| 30 "$mojo_sdk_root/mojo/services/media/common/interfaces", | 36 "$mojo_sdk_root/mojo/services/media/common/interfaces", |
| 31 ] | 37 ] |
| 32 } | 38 } |
| OLD | NEW |