summaryrefslogtreecommitdiffstats
path: root/chrome/nacl.gypi
diff options
context:
space:
mode:
authormcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-15 00:13:18 +0000
committermcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-15 00:13:18 +0000
commite1aa037489f67d133ac287df9836ae7ec817badc (patch)
treeb28f61e5e9dbda0cf127418e044c6f1078d6a578 /chrome/nacl.gypi
parent4ea32eca4da84df77415f1326095eca47308fbde (diff)
downloadchromium_src-e1aa037489f67d133ac287df9836ae7ec817badc.zip
chromium_src-e1aa037489f67d133ac287df9836ae7ec817badc.tar.gz
chromium_src-e1aa037489f67d133ac287df9836ae7ec817badc.tar.bz2
Move content::MakeSharedMemorySegmentViaIPC into its own file
The nacl_helper program uses content::MakeSharedMemorySegmentViaIPC but none of the other proxy functions in the same source file. Some of those functions refer to symbols that bring in a great deal of other code, e.g. most of v8. We don't want all that code linked into nacl_helper--it bloats the binary by a factor of ten or so. Moving the function out to its own file prevents the other dependencies coming in unnecessarily. BUG= http://code.google.com/p/chromium/issues/detail?id=106986 TEST= still builds and nacl_helper binary is much smaller R=jam@chromium.org,bradchen@google.com Review URL: http://codereview.chromium.org/8893009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl.gypi')
-rw-r--r--chrome/nacl.gypi8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/nacl.gypi b/chrome/nacl.gypi
index 0ab96d4..40212e2 100644
--- a/chrome/nacl.gypi
+++ b/chrome/nacl.gypi
@@ -67,10 +67,7 @@
'nacl_target': 1,
},
'dependencies': [
- 'chrome_resources.gyp:chrome_resources',
- 'chrome_resources.gyp:chrome_strings',
- 'common',
- '../webkit/support/webkit_support.gyp:glue',
+ '../ipc/ipc.gyp:ipc',
'../ppapi/native_client/src/trusted/plugin/plugin.gyp:ppGoogleNaClPluginChrome',
'../native_client/src/trusted/service_runtime/service_runtime.gyp:sel',
'../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib',
@@ -145,6 +142,9 @@
],
'sources': [
'nacl/nacl_helper_linux.cc',
+ '../chrome/common/nacl_messages.cc',
+ '../content/common/child_process_sandbox_support_impl_shm_linux.cc',
+ '../content/common/unix_domain_socket_posix.cc',
],
'conditions': [
['toolkit_uses_gtk == 1', {