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

Unified Diff: components/nacl.gyp

Issue 193313002: Pepper: Move GetSandboxISA() to PPB_NaCl_Private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nexe_arch.h cleanup Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: components/nacl.gyp
diff --git a/components/nacl.gyp b/components/nacl.gyp
index 990221e48c945ef6f9bc8c37c59ed74f365ac52f..47fcda6c400b550bede31e9979ea9f18b66df997 100644
--- a/components/nacl.gyp
+++ b/components/nacl.gyp
@@ -149,6 +149,31 @@
'nacl/renderer/trusted_plugin_channel.cc',
'nacl/renderer/trusted_plugin_channel.h',
],
+ 'conditions': [
+ ['target_arch=="arm"', {
+ 'sources': [
+ 'nacl/renderer/arch_arm/sandbox_isa.cc',
+ ],
+ }],
+ ['target_arch=="mips"', {
+ 'sources': [
+ 'nacl/renderer/arch_mips/sandbox_isa.cc',
+ ],
+ }],
+ ['target_arch=="ia32"', {
+ 'sources': [
+ 'nacl/renderer/arch_x86/sandbox_isa.cc',
+ ],
+ }],
+ ['target_arch=="x64"', {
+ 'sources': [
+ 'nacl/renderer/arch_x86/sandbox_isa.cc',
dmichael (off chromium) 2014/03/10 22:49:35 I seem to remember that these sandbox_isa files ar
+ ],
+ 'defines': [
+ 'TARGET_ARCH_X64',
dmichael (off chromium) 2014/03/10 22:49:35 Can you just use ARCH_CPU_64_BITS? https://code.go
+ ],
+ }],
+ ],
'include_dirs': [
'..',
],
« no previous file with comments | « no previous file | components/nacl/renderer/arch_arm/sandbox_isa.cc » ('j') | components/nacl/renderer/arch_x86/sandbox_isa.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698