summaryrefslogtreecommitdiffstats
path: root/content/content.gyp
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 00:10:42 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 00:10:42 +0000
commit2124e7b3ab4af2d4e00813518ea4595457106c16 (patch)
tree26eba6ad096abf7d62457b1bfa737abfafda0c75 /content/content.gyp
parent4c1c4fbae251ae5d39f80b74c9ce1dbed07ff9f5 (diff)
downloadchromium_src-2124e7b3ab4af2d4e00813518ea4595457106c16.zip
chromium_src-2124e7b3ab4af2d4e00813518ea4595457106c16.tar.gz
chromium_src-2124e7b3ab4af2d4e00813518ea4595457106c16.tar.bz2
Revert r100988 (gpy refactoring for content dll).
TBR=darin BUG= TEST= Review URL: http://codereview.chromium.org/7892021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content.gyp')
-rw-r--r--content/content.gyp177
1 files changed, 9 insertions, 168 deletions
diff --git a/content/content.gyp b/content/content.gyp
index 20b8581..fd7776d 100644
--- a/content/content.gyp
+++ b/content/content.gyp
@@ -5,178 +5,19 @@
{
'variables': {
'chromium_code': 1, # Use higher warning level.
- 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/directxsdk)',
},
'includes': [
'../build/win_precompile.gypi',
+ 'content_app.gypi',
+ 'content_browser.gypi',
+ 'content_common.gypi',
+ 'content_gpu.gypi',
+ 'content_plugin.gypi',
+ 'content_ppapi_plugin.gypi',
+ 'content_renderer.gypi',
'content_shell.gypi',
'content_tests.gypi',
- ],
- 'conditions': [
- # In component mode, we build all of content as a single DLL.
- # However, in the static mode, we need to build content as multiple
- # targets in order to prevent dependencies from getting introduced
- # upstream unnecessarily (e.g., content_renderer depends on allocator
- # and chrome_exe depends on content_common but we don't want
- # chrome_exe to have to depend on allocator).
- # TODO(dpranke): Uncomment: ['component == "static_library"', {
- ['1 == 1', {
- 'target_defaults': {
- 'defines': [
- 'CONTENT_IMPLEMENTATION',
- ],
- },
- 'targets': [
- {'target_name': 'content',
- 'type': 'none',
- 'dependencies': [
- 'content_app',
- 'content_browser',
- 'content_common',
- 'content_gpu',
- 'content_plugin',
- 'content_ppapi_plugin',
- 'content_renderer',
- 'content_utility',
- 'content_worker',
- ],
- },
- {'target_name': 'content_app',
- 'type': 'static_library',
- 'includes': [
- 'content_app.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- {'target_name': 'content_browser',
- 'type': 'static_library',
- 'includes': [
- 'content_browser.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- {'target_name': 'content_common',
- 'type': 'static_library',
- 'includes': [
- 'content_common.gypi',
- ],
- },
- {'target_name': 'content_gpu',
- 'type': 'static_library',
- 'includes': [
- 'content_gpu.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- {'target_name': 'content_plugin',
- 'type': 'static_library',
- 'includes': [
- 'content_plugin.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- {'target_name': 'content_ppapi_plugin',
- 'type': 'static_library',
- 'includes': [
- 'content_ppapi_plugin.gypi',
- ],
- },
- {'target_name': 'content_renderer',
- 'type': 'static_library',
- 'includes': [
- 'content_renderer.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- {'target_name': 'content_utility',
- 'type': 'static_library',
- 'includes': [
- 'content_utility.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- {'target_name': 'content_worker',
- 'type': 'static_library',
- 'includes': [
- 'content_worker.gypi',
- ],
- 'dependencies': [
- 'content_common',
- ],
- },
- ],
- },
- { # component != static_library
- 'target_defaults': {
- 'defines': [
- 'CONTENT_IMPLEMENTATION',
- ],
- },
- 'targets': [
- {'target_name': 'content',
- 'type': 'shared_library',
- 'includes': [
- 'content_app.gypi',
- 'content_browser.gypi',
- 'content_common.gypi',
- 'content_gpu.gypi',
- 'content_plugin.gypi',
- 'content_ppapi_plugin.gypi',
- 'content_renderer.gypi',
- 'content_utility.gypi',
- 'content_worker.gypi',
- ],
- },
- {'target_name': 'content_app',
- 'type': 'none',
- 'dependencies': ['content', 'content_browser'],
- },
- {'target_name': 'content_browser',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_common',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_gpu',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_plugin',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_ppapi_plugin',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_renderer',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_utility',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- {'target_name': 'content_worker',
- 'type': 'none',
- 'dependencies': ['content'],
- },
- ],
- },
- ],
+ 'content_utility.gypi',
+ 'content_worker.gypi',
],
}