OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 component("system") { | 5 component("system") { |
6 output_name = "mojo_public_system" | 6 output_name = "mojo_public_system" |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "buffer.h", | 9 "buffer.h", |
10 "core.h", | 10 "core.h", |
11 "data_pipe.h", | 11 "data_pipe.h", |
12 "functions.h", | 12 "functions.h", |
13 "macros.h", | 13 "macros.h", |
14 "message_pipe.h", | 14 "message_pipe.h", |
15 "platform_handle.h", | 15 "platform_handle.h", |
16 "system_export.h", | 16 "system_export.h", |
17 "thunks.cc", | 17 "thunks.cc", |
18 "thunks.h", | 18 "thunks.h", |
19 "types.h", | 19 "types.h", |
20 "wait_set.h", | |
21 "watcher.h", | 20 "watcher.h", |
22 ] | 21 ] |
23 | 22 |
24 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] | 23 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] |
25 } | 24 } |
26 | 25 |
27 # This should ONLY be depended upon directly by shared_library targets which | 26 # This should ONLY be depended upon directly by shared_library targets which |
28 # need to export the MojoSetSystemThunks symbol, like targets generated by the | 27 # need to export the MojoSetSystemThunks symbol, like targets generated by the |
29 # mojo_native_application template in //services/service_manager/public/cpp/serv
ice.gni. | 28 # mojo_native_application template in //services/service_manager/public/cpp/serv
ice.gni. |
30 source_set("set_thunks_for_app") { | 29 source_set("set_thunks_for_app") { |
31 sources = [ | 30 sources = [ |
32 "set_thunks_for_app.cc", | 31 "set_thunks_for_app.cc", |
33 ] | 32 ] |
34 | 33 |
35 public_deps = [ | 34 public_deps = [ |
36 ":system", | 35 ":system", |
37 ] | 36 ] |
38 } | 37 } |
OLD | NEW |