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", | 20 "wait_set.h", |
21 ] | 21 ] |
22 | 22 |
23 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] | 23 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] |
24 } | 24 } |
25 | 25 |
26 # 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 |
27 # need to export the MojoSetSystemThunks symbol, like targets generated by the | 27 # need to export the MojoSetSystemThunks symbol, like targets generated by the |
28 # mojo_native_application template in //services/shell/public/cpp/service.gni. | 28 # mojo_native_application template in //services/service_manager/public/cpp/serv
ice.gni. |
29 source_set("set_thunks_for_app") { | 29 source_set("set_thunks_for_app") { |
30 sources = [ | 30 sources = [ |
31 "set_thunks_for_app.cc", | 31 "set_thunks_for_app.cc", |
32 ] | 32 ] |
33 | 33 |
34 public_deps = [ | 34 public_deps = [ |
35 ":system", | 35 ":system", |
36 ] | 36 ] |
37 } | 37 } |
OLD | NEW |