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

Side by Side Diff: components/nacl.gyp

Issue 196793023: Add seccomp sandbox for non-SFI NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 'nacl/nacl_defines.gypi', 10 'nacl/nacl_defines.gypi',
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 ], 176 ],
177 'conditions': [ 177 'conditions': [
178 ['OS=="linux"', { 178 ['OS=="linux"', {
179 'targets': [ 179 'targets': [
180 { 180 {
181 'target_name': 'nacl_helper', 181 'target_name': 'nacl_helper',
182 'type': 'executable', 182 'type': 'executable',
183 'include_dirs': [ 183 'include_dirs': [
184 '..', 184 '..',
185 ], 185 ],
186 'sources': [
187 'nacl/loader/nacl_helper_linux.cc',
188 'nacl/loader/nacl_helper_linux.h',
189 ],
186 'dependencies': [ 190 'dependencies': [
187 'nacl', 191 'nacl_loader',
188 'nacl_common', 192 ],
189 '../components/tracing.gyp:tracing', 193 'cflags': ['-fPIE'],
190 '../crypto/crypto.gyp:crypto', 194 'link_settings': {
191 '../sandbox/sandbox.gyp:libc_urandom_override', 195 'ldflags': ['-pie'],
192 '../sandbox/sandbox.gyp:sandbox', 196 },
193 '../ppapi/ppapi_internal.gyp:ppapi_proxy', 197 }, {
198 'target_name': 'nacl_loader',
199 'type': 'static_library',
200 'include_dirs': [
201 '..',
194 ], 202 ],
195 'defines': [ 203 'defines': [
196 '<@(nacl_defines)', 204 '<@(nacl_defines)',
197 # Allow .cc files to know if they're being compiled as part 205 # Allow .cc files to know if they're being compiled as part
198 # of nacl_helper. 206 # of nacl_helper.
199 'IN_NACL_HELPER=1', 207 'IN_NACL_HELPER=1',
200 ], 208 ],
201 'sources': [ 209 'sources': [
202 'nacl/loader/nacl_helper_linux.cc',
203 'nacl/loader/nacl_helper_linux.h',
204 'nacl/loader/nacl_sandbox_linux.cc', 210 'nacl/loader/nacl_sandbox_linux.cc',
205 'nacl/loader/nonsfi/abi_conversion.cc', 211 'nacl/loader/nonsfi/abi_conversion.cc',
206 'nacl/loader/nonsfi/abi_conversion.h', 212 'nacl/loader/nonsfi/abi_conversion.h',
207 'nacl/loader/nonsfi/elf_loader.cc', 213 'nacl/loader/nonsfi/elf_loader.cc',
208 'nacl/loader/nonsfi/elf_loader.h', 214 'nacl/loader/nonsfi/elf_loader.h',
209 'nacl/loader/nonsfi/irt_basic.cc', 215 'nacl/loader/nonsfi/irt_basic.cc',
210 'nacl/loader/nonsfi/irt_clock.cc', 216 'nacl/loader/nonsfi/irt_clock.cc',
211 'nacl/loader/nonsfi/irt_fdio.cc', 217 'nacl/loader/nonsfi/irt_fdio.cc',
212 'nacl/loader/nonsfi/irt_filename.cc', 218 'nacl/loader/nonsfi/irt_filename.cc',
213 'nacl/loader/nonsfi/irt_futex.cc', 219 'nacl/loader/nonsfi/irt_futex.cc',
214 'nacl/loader/nonsfi/irt_interfaces.cc', 220 'nacl/loader/nonsfi/irt_interfaces.cc',
215 'nacl/loader/nonsfi/irt_interfaces.h', 221 'nacl/loader/nonsfi/irt_interfaces.h',
216 'nacl/loader/nonsfi/irt_memory.cc', 222 'nacl/loader/nonsfi/irt_memory.cc',
217 'nacl/loader/nonsfi/irt_ppapi.cc', 223 'nacl/loader/nonsfi/irt_ppapi.cc',
218 'nacl/loader/nonsfi/irt_resource_open.cc', 224 'nacl/loader/nonsfi/irt_resource_open.cc',
219 'nacl/loader/nonsfi/irt_thread.cc', 225 'nacl/loader/nonsfi/irt_thread.cc',
220 'nacl/loader/nonsfi/irt_util.h', 226 'nacl/loader/nonsfi/irt_util.h',
221 'nacl/loader/nonsfi/nonsfi_main.cc', 227 'nacl/loader/nonsfi/nonsfi_main.cc',
222 'nacl/loader/nonsfi/nonsfi_main.h', 228 'nacl/loader/nonsfi/nonsfi_main.h',
229 'nacl/loader/nonsfi/nonsfi_sandbox.cc',
230 'nacl/loader/nonsfi/nonsfi_sandbox.h',
223 '../ppapi/proxy/plugin_main_irt.cc', 231 '../ppapi/proxy/plugin_main_irt.cc',
224 '../ppapi/proxy/plugin_main_irt.h', 232 '../ppapi/proxy/plugin_main_irt.h',
225 ], 233 ],
234 'dependencies': [
235 'nacl',
236 'nacl_common',
237 '../components/tracing.gyp:tracing',
238 '../crypto/crypto.gyp:crypto',
239 '../sandbox/sandbox.gyp:libc_urandom_override',
240 '../sandbox/sandbox.gyp:sandbox',
241 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
242 ],
226 'conditions': [ 243 'conditions': [
227 ['toolkit_uses_gtk == 1', { 244 ['toolkit_uses_gtk == 1', {
228 'dependencies': [ 245 'dependencies': [
229 '../build/linux/system.gyp:gtk', 246 '../build/linux/system.gyp:gtk',
230 ], 247 ],
231 }], 248 }],
232 ['use_glib == 1', { 249 ['use_glib == 1', {
233 'dependencies': [ 250 'dependencies': [
234 '../build/linux/system.gyp:glib', 251 '../build/linux/system.gyp:glib',
235 ], 252 ],
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 ], 418 ],
402 'include_dirs': [ 419 'include_dirs': [
403 '..', 420 '..',
404 ], 421 ],
405 'dependencies': [ 422 'dependencies': [
406 '../content/content.gyp:content_common', 423 '../content/content.gyp:content_common',
407 ], 424 ],
408 }, 425 },
409 ] 426 ]
410 } 427 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698