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 import("../../mojo_sdk.gni") | 5 import("../../mojo_sdk.gni") |
6 | 6 |
7 # Depend on this target to use the types etc defined in the system without | 7 # Depend on this target to use the types etc defined in the system without |
8 # linking against a specific implementation of the system. To link against a | 8 # linking against a specific implementation of the system. To link against a |
9 # particular implementation, use the :for_component or | 9 # particular implementation, use the :for_component or |
10 # :for_shared_library targets, depending on the type of target you are. | 10 # :for_shared_library targets, depending on the type of target you are. |
(...skipping 21 matching lines...) Expand all Loading... |
32 # | 32 # |
33 # For shared_library targets (e.g., a Mojo App), add | 33 # For shared_library targets (e.g., a Mojo App), add |
34 # //mojo/public/c/system:for_shared_library to your deps | 34 # //mojo/public/c/system:for_shared_library to your deps |
35 | 35 |
36 group("for_shared_library") { | 36 group("for_shared_library") { |
37 public_deps = [ | 37 public_deps = [ |
38 ":system", | 38 ":system", |
39 ] | 39 ] |
40 if (is_component_build) { | 40 if (is_component_build) { |
41 deps = [ | 41 deps = [ |
42 "../../../edk/system", | 42 "//third_party/mojo/src/mojo/edk/system", |
43 ] | 43 ] |
44 } else { | 44 } else { |
45 deps = [ | 45 deps = [ |
46 "../../platform/native:system", | 46 "../../platform/native:system", |
47 ] | 47 ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 group("for_component") { | 51 group("for_component") { |
52 public_deps = [ | 52 public_deps = [ |
53 ":system", | 53 ":system", |
54 ] | 54 ] |
55 if (is_component_build) { | 55 if (is_component_build) { |
56 deps = [ | 56 deps = [ |
57 "../../../edk/system", | 57 "//third_party/mojo/src/mojo/edk/system", |
58 ] | 58 ] |
59 } | 59 } |
60 } | 60 } |
OLD | NEW |