Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: ppapi/proxy/BUILD.gn

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup the compiler configuration Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 config("proxy_implementation") { 7 config("proxy_implementation") {
6 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] 8 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ]
7 } 9 }
8 10
9 component("proxy") { 11 component("proxy") {
10 output_name = "ppapi_proxy" 12 output_name = "ppapi_proxy"
11 13
12 sources = [ 14 sources = [
13 # Take some standalone files from the C++ wrapper allowing us to more 15 # Take some standalone files from the C++ wrapper allowing us to more
14 # easily make async callbacks in the proxy. We can't depend on the 16 # easily make async callbacks in the proxy. We can't depend on the
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "video_source_resource.cc", 195 "video_source_resource.cc",
194 "video_source_resource.h", 196 "video_source_resource.h",
195 "websocket_resource.cc", 197 "websocket_resource.cc",
196 "websocket_resource.h", 198 "websocket_resource.h",
197 ] 199 ]
198 200
199 if (is_nacl) { 201 if (is_nacl) {
200 sources += [ 202 sources += [
201 "../nacl_irt/irt_interfaces.cc", 203 "../nacl_irt/irt_interfaces.cc",
202 "../nacl_irt/irt_interfaces.h", 204 "../nacl_irt/irt_interfaces.h",
203 "../nacl_irt/irt_pnacl_translator_compile.cc",
204 "../nacl_irt/irt_pnacl_translator_link.cc",
205 "../nacl_irt/irt_ppapi.cc", 205 "../nacl_irt/irt_ppapi.cc",
206 "../nacl_irt/irt_ppapi.h", 206 "../nacl_irt/irt_ppapi.h",
207 "../nacl_irt/irt_start.cc", 207 "../nacl_irt/irt_start.cc",
208 "../nacl_irt/manifest_service.cc", 208 "../nacl_irt/manifest_service.cc",
209 "../nacl_irt/manifest_service.h", 209 "../nacl_irt/manifest_service.h",
210 "../nacl_irt/plugin_main.cc", 210 "../nacl_irt/plugin_main.cc",
211 "../nacl_irt/plugin_main.h", 211 "../nacl_irt/plugin_main.h",
212 "../nacl_irt/plugin_startup.cc", 212 "../nacl_irt/plugin_startup.cc",
213 "../nacl_irt/plugin_startup.h", 213 "../nacl_irt/plugin_startup.h",
214 "../nacl_irt/ppapi_dispatcher.cc", 214 "../nacl_irt/ppapi_dispatcher.cc",
215 "../nacl_irt/ppapi_dispatcher.h", 215 "../nacl_irt/ppapi_dispatcher.h",
216 ] 216 ]
217 if (!is_nacl_nonsfi) {
218 sources += [
219 "../nacl_irt/irt_pnacl_translator_compile.cc",
Mark Seaborn 2015/10/22 21:48:30 Can you put "#if !defined(OS_NACL_NONSFI)" into th
Petr Hosek 2015/10/23 03:01:15 Done.
220 "../nacl_irt/irt_pnacl_translator_link.cc",
221 ]
222 }
217 } else { 223 } else {
218 sources += [ 224 sources += [
219 "audio_input_resource.cc", 225 "audio_input_resource.cc",
220 "audio_input_resource.h", 226 "audio_input_resource.h",
221 "broker_dispatcher.cc", 227 "broker_dispatcher.cc",
222 "broker_dispatcher.h", 228 "broker_dispatcher.h",
223 "browser_font_singleton_resource.cc", 229 "browser_font_singleton_resource.cc",
224 "browser_font_singleton_resource.h", 230 "browser_font_singleton_resource.h",
225 "device_enumeration_resource_helper.cc", 231 "device_enumeration_resource_helper.cc",
226 "device_enumeration_resource_helper.h", 232 "device_enumeration_resource_helper.h",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 280
275 deps = [ 281 deps = [
276 "//base", 282 "//base",
277 "//gpu/command_buffer/client:gles2_implementation", 283 "//gpu/command_buffer/client:gles2_implementation",
278 "//gpu/ipc", 284 "//gpu/ipc",
279 "//ipc", 285 "//ipc",
280 "//media:shared_memory_support", 286 "//media:shared_memory_support",
281 "//ppapi/c", 287 "//ppapi/c",
282 "//ppapi/proxy:ipc_sources", 288 "//ppapi/proxy:ipc_sources",
283 "//ppapi/shared_impl", 289 "//ppapi/shared_impl",
284 "//third_party/icu",
285 ] 290 ]
286 291
287 if (!is_nacl) { 292 if (!is_nacl) {
288 deps += [ 293 deps += [
289 "//base/third_party/dynamic_annotations", 294 "//base/third_party/dynamic_annotations",
290 "//gin", 295 "//gin",
291 "//skia", 296 "//skia",
292 "//ui/events:events_base", 297 "//ui/events:events_base",
293 "//ui/surface", 298 "//ui/surface",
294 ] 299 ]
295 } 300 }
301
302 if (!is_nacl_nonsfi) {
303 deps += [ "//third_party/icu" ]
304 }
296 } 305 }
297 306
298 group("ipc") { 307 group("ipc") {
299 if (is_component_build) { 308 if (is_component_build) {
300 public_deps = [ 309 public_deps = [
301 "//ppapi/proxy", 310 "//ppapi/proxy",
302 ] 311 ]
303 } else { 312 } else {
304 public_deps = [ 313 public_deps = [
305 ":ipc_sources", 314 ":ipc_sources",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 deps = [ 369 deps = [
361 "//base/test:test_support", 370 "//base/test:test_support",
362 "//ipc", 371 "//ipc",
363 "//ipc:test_support", 372 "//ipc:test_support",
364 "//ppapi/proxy", 373 "//ppapi/proxy",
365 "//ppapi/shared_impl", 374 "//ppapi/shared_impl",
366 "//testing/gmock", 375 "//testing/gmock",
367 "//testing/gtest", 376 "//testing/gtest",
368 ] 377 ]
369 } 378 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698