summaryrefslogtreecommitdiffstats
path: root/chrome/nacl.gypi
diff options
context:
space:
mode:
authormcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 17:38:58 +0000
committermcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 17:38:58 +0000
commitcce7a930dc8a161f5a09ad98a8cc6c2f34cede72 (patch)
treeb1b26aeb6fe91eba62c689d2f6ee5edaed65f4d0 /chrome/nacl.gypi
parent82dcf699fb06d6e291bd620f23ffe9b76e3cf493 (diff)
downloadchromium_src-cce7a930dc8a161f5a09ad98a8cc6c2f34cede72.zip
chromium_src-cce7a930dc8a161f5a09ad98a8cc6c2f34cede72.tar.gz
chromium_src-cce7a930dc8a161f5a09ad98a8cc6c2f34cede72.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/8970003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl.gypi')
-rw-r--r--chrome/nacl.gypi9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/nacl.gypi b/chrome/nacl.gypi
index 0ab96d4..a23bb38 100644
--- a/chrome/nacl.gypi
+++ b/chrome/nacl.gypi
@@ -67,10 +67,8 @@
'nacl_target': 1,
},
'dependencies': [
- 'chrome_resources.gyp:chrome_resources',
- 'chrome_resources.gyp:chrome_strings',
- 'common',
- '../webkit/support/webkit_support.gyp:glue',
+ '../base/base.gyp:base',
+ '../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 +143,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', {