summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 20:41:28 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 20:41:28 +0000
commit63e39a28e492e8f9a10d05cd970da2a1d539c0f3 (patch)
tree60271c1be8eceb87e0f8206d18f65a88b5a3d286 /ipc
parent8c01b7f619cb7a166c2b78269aed9f2333ad89c9 (diff)
downloadchromium_src-63e39a28e492e8f9a10d05cd970da2a1d539c0f3.zip
chromium_src-63e39a28e492e8f9a10d05cd970da2a1d539c0f3.tar.gz
chromium_src-63e39a28e492e8f9a10d05cd970da2a1d539c0f3.tar.bz2
Add COMPONENT_BUILD global define.
This avoids the need to define FOO_DLL macros for each project that we wish to optionally build as a DLL (when component=="shared_library"). This in turn means that we do not need direct_dependent_settings to define FOO_DLL, and that means that we don't need to update projects to convert transitive dependencies into explicit dependencies. This makes the component build more consistent with the static build. An alternative would be to use all_dependent_settings, but I feel that the global approach is simpler as it creates less repetition in each target definition for components. A side-effect of this change is that I needed to make base_nacl_win64 be a shared_library in the component build. R=rvargas,bradnelson,evan Review URL: http://codereview.chromium.org/7344022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc.gypi b/ipc/ipc.gypi
index 65966af..38aead2 100644
--- a/ipc/ipc.gypi
+++ b/ipc/ipc.gypi
@@ -84,6 +84,7 @@
},
'dependencies': [
'../base/base.gyp:base_nacl_win64',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
],
# TODO(gregoryd): direct_dependent_settings should be shared with the
# 32-bit target, but it doesn't work due to a bug in gyp