Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: mojo/services/media/common/cpp/BUILD.gn

Issue 1460693004: Add helper classes to for managing shared buffers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sync Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .gitignore ('k') | mojo/services/media/common/cpp/fifo_allocator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « .gitignore ('k') | mojo/services/media/common/cpp/fifo_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698