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 import("//build/config/nacl/config.gni") |
| 6 |
5 component("shared_impl") { | 7 component("shared_impl") { |
6 output_name = "ppapi_shared" | 8 output_name = "ppapi_shared" |
7 | 9 |
8 sources = [ | 10 sources = [ |
9 "array_var.cc", | 11 "array_var.cc", |
10 "array_var.h", | 12 "array_var.h", |
11 "array_writer.cc", | 13 "array_writer.cc", |
12 "array_writer.h", | 14 "array_writer.h", |
13 "callback_tracker.cc", | 15 "callback_tracker.cc", |
14 "callback_tracker.h", | 16 "callback_tracker.h", |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "PPAPI_THUNK_IMPLEMENTATION", | 161 "PPAPI_THUNK_IMPLEMENTATION", |
160 ] | 162 ] |
161 | 163 |
162 public_deps = [ | 164 public_deps = [ |
163 "//ppapi/c", | 165 "//ppapi/c", |
164 "//ppapi/thunk", | 166 "//ppapi/thunk", |
165 ] | 167 ] |
166 | 168 |
167 deps = [ | 169 deps = [ |
168 "//base", | 170 "//base", |
169 "//base:i18n", | |
170 "//base/third_party/dynamic_annotations", | |
171 "//gpu/command_buffer/client", | 171 "//gpu/command_buffer/client", |
172 "//gpu/command_buffer/client:gles2_cmd_helper", | 172 "//gpu/command_buffer/client:gles2_cmd_helper", |
173 "//gpu/command_buffer/client:gles2_implementation", | 173 "//gpu/command_buffer/client:gles2_implementation", |
174 "//gpu/command_buffer/common", | 174 "//gpu/command_buffer/common", |
175 "//ipc", | 175 "//ipc", |
176 "//media:shared_memory_support", | 176 "//media:shared_memory_support", |
177 "//third_party/icu:icuuc", | |
178 "//url", | |
179 ] | 177 ] |
180 | 178 |
181 if (!is_nacl) { | 179 if (!is_nacl) { |
182 deps += [ | 180 deps += [ |
183 "//skia", | 181 "//skia", |
184 "//ui/events:events_base", | 182 "//ui/events:events_base", |
185 "//ui/surface", | 183 "//ui/surface", |
186 ] | 184 ] |
187 } | 185 } |
188 | 186 |
| 187 if (!is_nacl_nonsfi) { |
| 188 deps += [ |
| 189 "//base:i18n", |
| 190 "//base/third_party/dynamic_annotations", |
| 191 "//third_party/icu:icuuc", |
| 192 "//url", |
| 193 ] |
| 194 } |
| 195 |
189 if (is_mac) { | 196 if (is_mac) { |
190 libs = [ "QuartzCore.framework" ] | 197 libs = [ "QuartzCore.framework" ] |
191 } | 198 } |
192 } | 199 } |
193 | 200 |
194 source_set("test_support") { | 201 source_set("test_support") { |
195 testonly = true | 202 testonly = true |
196 | 203 |
197 sources = [ | 204 sources = [ |
198 "test_globals.cc", | 205 "test_globals.cc", |
199 "test_globals.h", | 206 "test_globals.h", |
200 "test_utils.cc", | 207 "test_utils.cc", |
201 "test_utils.h", | 208 "test_utils.h", |
202 ] | 209 ] |
203 | 210 |
204 deps = [ | 211 deps = [ |
205 "//base/test:test_support", | 212 "//base/test:test_support", |
206 "//ipc", | 213 "//ipc", |
207 "//ipc:test_support", | 214 "//ipc:test_support", |
208 "//ppapi/proxy", | 215 "//ppapi/proxy", |
209 "//ppapi/shared_impl", | 216 "//ppapi/shared_impl", |
210 "//testing/gmock", | 217 "//testing/gmock", |
211 "//testing/gtest", | 218 "//testing/gtest", |
212 ] | 219 ] |
213 } | 220 } |
OLD | NEW |