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

Side by Side Diff: ipc/BUILD.gn

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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
« no previous file with comments | « content/BUILD.gn ('k') | ppapi/nacl_irt/irt_pnacl_translator_compile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
6 7
7 component("ipc") { 8 component("ipc") {
8 sources = [ 9 sources = [
9 "attachment_broker.cc", 10 "attachment_broker.cc",
10 "attachment_broker.h", 11 "attachment_broker.h",
11 "attachment_broker_messages.h", 12 "attachment_broker_messages.h",
12 "attachment_broker_privileged.cc", 13 "attachment_broker_privileged.cc",
13 "attachment_broker_privileged.h", 14 "attachment_broker_privileged.h",
14 "attachment_broker_privileged_mac.cc", 15 "attachment_broker_privileged_mac.cc",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 "param_traits_read_macros.h", 94 "param_traits_read_macros.h",
94 "param_traits_write_macros.h", 95 "param_traits_write_macros.h",
95 "placeholder_brokerable_attachment.cc", 96 "placeholder_brokerable_attachment.cc",
96 "placeholder_brokerable_attachment.h", 97 "placeholder_brokerable_attachment.h",
97 "struct_constructor_macros.h", 98 "struct_constructor_macros.h",
98 "struct_destructor_macros.h", 99 "struct_destructor_macros.h",
99 "unix_domain_socket_util.cc", 100 "unix_domain_socket_util.cc",
100 "unix_domain_socket_util.h", 101 "unix_domain_socket_util.h",
101 ] 102 ]
102 103
103 if (is_nacl) { 104 if (is_nacl && !is_nacl_nonsfi) {
104 sources -= [ 105 sources -= [
105 "ipc_channel.cc", 106 "ipc_channel.cc",
106 "ipc_channel_posix.cc", 107 "ipc_channel_posix.cc",
107 "unix_domain_socket_util.cc", 108 "unix_domain_socket_util.cc",
108 ] 109 ]
109 } else { 110 } else {
110 sources -= [ 111 sources -= [
111 "ipc_channel_nacl.cc", 112 "ipc_channel_nacl.cc",
112 "ipc_channel_nacl.h", 113 "ipc_channel_nacl.h",
113 ] 114 ]
114 } 115 }
115 116
116 if (is_win || is_ios) { 117 if (is_win || is_ios || is_nacl_nonsfi) {
117 sources -= [ "unix_domain_socket_util.cc" ] 118 sources -= [ "unix_domain_socket_util.cc" ]
118 } 119 }
119 120
120 defines = [ "IPC_IMPLEMENTATION" ] 121 defines = [ "IPC_IMPLEMENTATION" ]
121 122
122 deps = [ 123 deps = [
123 "//base", 124 "//base",
124 125
125 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. 126 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
126 "//base/third_party/dynamic_annotations", 127 "//base/third_party/dynamic_annotations",
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 "test_util_mac.cc", 239 "test_util_mac.cc",
239 "test_util_mac.h", 240 "test_util_mac.h",
240 ] 241 ]
241 deps = [ 242 deps = [
242 ":ipc", 243 ":ipc",
243 "//base", 244 "//base",
244 "//base/test:test_support", 245 "//base/test:test_support",
245 "//testing/gtest", 246 "//testing/gtest",
246 ] 247 ]
247 } 248 }
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | ppapi/nacl_irt/irt_pnacl_translator_compile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698