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_edk.gni") | 5 import("../mojo_edk.gni") |
6 | 6 |
7 mojo_edk_source_set("embedder") { | 7 mojo_edk_source_set("embedder") { |
8 # This isn't really a standalone target; it must be linked into the | 8 # This isn't really a standalone target; it must be linked into the |
9 # mojo_system_impl component. | 9 # mojo_system_impl component. |
10 visibility = [ | 10 visibility = [ |
(...skipping 19 matching lines...) Expand all Loading... |
30 defines = [ | 30 defines = [ |
31 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", | 31 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", |
32 "MOJO_SYSTEM_IMPLEMENTATION", | 32 "MOJO_SYSTEM_IMPLEMENTATION", |
33 ] | 33 ] |
34 | 34 |
35 configs = [ "//mojo/edk/system:system_config" ] | 35 configs = [ "//mojo/edk/system:system_config" ] |
36 | 36 |
37 public_deps = [ | 37 public_deps = [ |
38 ":delegates", | 38 ":delegates", |
39 ":platform", | 39 ":platform", |
40 "//third_party/mojo/src/mojo/public/cpp/system", | 40 "//mojo/public/cpp/system", |
41 ] | 41 ] |
42 | 42 |
43 deps = [ | 43 deps = [ |
44 "//base", | 44 "//base", |
45 ] | 45 ] |
46 } | 46 } |
47 | 47 |
48 mojo_edk_source_set("platform") { | 48 mojo_edk_source_set("platform") { |
49 # This isn't really a standalone target; it must be linked into the | 49 # This isn't really a standalone target; it must be linked into the |
50 # mojo_system_impl component. | 50 # mojo_system_impl component. |
(...skipping 25 matching lines...) Expand all Loading... |
76 "simple_platform_shared_buffer_win.cc", | 76 "simple_platform_shared_buffer_win.cc", |
77 "simple_platform_support.cc", | 77 "simple_platform_support.cc", |
78 "simple_platform_support.h", | 78 "simple_platform_support.h", |
79 ] | 79 ] |
80 | 80 |
81 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] | 81 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] |
82 | 82 |
83 configs = [ "//mojo/edk/system:system_config" ] | 83 configs = [ "//mojo/edk/system:system_config" ] |
84 | 84 |
85 public_deps = [ | 85 public_deps = [ |
86 "//third_party/mojo/src/mojo/public/cpp/system", | 86 "//mojo/public/cpp/system", |
87 ] | 87 ] |
88 | 88 |
89 deps = [ | 89 deps = [ |
90 "//base", | 90 "//base", |
91 ] | 91 ] |
92 | 92 |
93 if (is_android) { | 93 if (is_android) { |
94 deps += [ "//third_party/ashmem" ] | 94 deps += [ "//third_party/ashmem" ] |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 mojo_edk_source_set("delegates") { | 98 mojo_edk_source_set("delegates") { |
99 # This isn't really a standalone target; it must be linked into the | 99 # This isn't really a standalone target; it must be linked into the |
100 # mojo_system_impl component. | 100 # mojo_system_impl component. |
101 visibility = [ | 101 visibility = [ |
102 ":embedder", | 102 ":embedder", |
103 "//mojo/edk/system", | 103 "//mojo/edk/system", |
104 ] | 104 ] |
105 | 105 |
106 sources = [ | 106 sources = [ |
107 "process_delegate.h", | 107 "process_delegate.h", |
108 ] | 108 ] |
109 | 109 |
110 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] | 110 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] |
111 | 111 |
112 configs = [ "//mojo/edk/system:system_config" ] | 112 configs = [ "//mojo/edk/system:system_config" ] |
113 | 113 |
114 public_deps = [ | 114 public_deps = [ |
115 "//third_party/mojo/src/mojo/public/cpp/system", | 115 "//mojo/public/cpp/system", |
116 ] | 116 ] |
117 } | 117 } |
118 | 118 |
119 # TODO(use_chrome_edk): remove "2" | 119 # TODO(use_chrome_edk): remove "2" |
120 mojo_edk_source_set("embedder_unittests2") { | 120 mojo_edk_source_set("embedder_unittests2") { |
121 testonly = true | 121 testonly = true |
122 | 122 |
123 # TODO(use_chrome_edk): remove "2". Also enable this visibility check when we | 123 # TODO(use_chrome_edk): remove "2". Also enable this visibility check when we |
124 # figure out why it's failing just on Android. | 124 # figure out why it's failing just on Android. |
125 #visibility = [ "//mojo/edk/system:mojo_system_unittests2" ] | 125 #visibility = [ "//mojo/edk/system:mojo_system_unittests2" ] |
(...skipping 14 matching lines...) Expand all Loading... |
140 "//third_party/mojo/src/mojo/edk/system", | 140 "//third_party/mojo/src/mojo/edk/system", |
141 "//mojo/edk/system:test_utils", | 141 "//mojo/edk/system:test_utils", |
142 "//mojo/edk/test:test_support", | 142 "//mojo/edk/test:test_support", |
143 "//testing/gtest", | 143 "//testing/gtest", |
144 | 144 |
145 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are | 145 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are |
146 # declared in third party only for now. | 146 # declared in third party only for now. |
147 "//third_party/mojo/src/mojo/edk/system", | 147 "//third_party/mojo/src/mojo/edk/system", |
148 ] | 148 ] |
149 } | 149 } |
OLD | NEW |