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 # See comments in mojo/public/c/system/BUILD.gn which this is based on. | 5 # See comments in mojo/public/c/system/BUILD.gn which this is based on. |
6 # Summary: depend on this target to use the platform handle functions without | 6 # Summary: depend on this target to use the platform handle functions without |
7 # linking against a specific implementation. | 7 # linking against a specific implementation. |
8 # For component targets, add //mojo/platform_handle:for_component to your deps | 8 # For component targets, add //mojo/platform_handle:for_component to your deps |
9 # section. | 9 # section. |
10 # For shared_library targets (e.g., a Mojo App), add | 10 # For shared_library targets (e.g., a Mojo App), add |
(...skipping 12 matching lines...) Expand all Loading... |
23 output_name = "platform_handle_impl" | 23 output_name = "platform_handle_impl" |
24 public_deps = [ | 24 public_deps = [ |
25 ":platform_handle", | 25 ":platform_handle", |
26 ] | 26 ] |
27 sources = [ | 27 sources = [ |
28 "platform_handle_functions.cc", | 28 "platform_handle_functions.cc", |
29 ] | 29 ] |
30 defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ] | 30 defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ] |
31 deps = [ | 31 deps = [ |
32 "//base", | 32 "//base", |
| 33 "//mojo/edk/embedder:headers", |
33 "//mojo/public/c/system:for_component", | 34 "//mojo/public/c/system:for_component", |
34 "//third_party/mojo/src/mojo/edk/embedder:headers", | |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 source_set("platform_handle_thunks") { | 38 source_set("platform_handle_thunks") { |
39 public_deps = [ | 39 public_deps = [ |
40 ":platform_handle", | 40 ":platform_handle", |
41 ] | 41 ] |
42 sources = [ | 42 sources = [ |
43 "platform_handle_private_thunks.cc", | 43 "platform_handle_private_thunks.cc", |
44 "platform_handle_private_thunks.h", | 44 "platform_handle_private_thunks.h", |
(...skipping 22 matching lines...) Expand all Loading... |
67 group("for_component") { | 67 group("for_component") { |
68 public_deps = [ | 68 public_deps = [ |
69 ":platform_handle", | 69 ":platform_handle", |
70 ] | 70 ] |
71 if (is_component_build) { | 71 if (is_component_build) { |
72 deps = [ | 72 deps = [ |
73 ":platform_handle_impl", | 73 ":platform_handle_impl", |
74 ] | 74 ] |
75 } | 75 } |
76 } | 76 } |
OLD | NEW |