diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-08 02:08:08 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-08 02:08:08 +0000 |
commit | 752179c0367f8483d4f5764eaab1d11ae44b8644 (patch) | |
tree | 2ce706853c51b2a3c1696f836b2b663fae8c318a /content | |
parent | 52c65fba168eac9edcf887c517d79eec2bdf5861 (diff) | |
download | chromium_src-752179c0367f8483d4f5764eaab1d11ae44b8644.zip chromium_src-752179c0367f8483d4f5764eaab1d11ae44b8644.tar.gz chromium_src-752179c0367f8483d4f5764eaab1d11ae44b8644.tar.bz2 |
enable component build for content and appcache.
R=jam@chromium.org
BUG=90442
TEST=
Review URL: http://codereview.chromium.org/7888053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/common/content_export.h | 2 | ||||
-rw-r--r-- | content/content.gyp | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/content/common/content_export.h b/content/common/content_export.h index fc91b72c..b39cdd5 100644 --- a/content/common/content_export.h +++ b/content/common/content_export.h @@ -6,7 +6,7 @@ #define CONTENT_COMMON_CONTENT_EXPORT_H_ #pragma once -#if 0 // TODO(dpranke): Uncomment: defined(COMPONENT_BUILD). +#if defined(COMPONENT_BUILD) && !defined(COMPILE_CONTENT_STATICALLY) #if defined(WIN32) #if defined(CONTENT_IMPLEMENTATION) diff --git a/content/content.gyp b/content/content.gyp index be3f85c..0e8fa51 100644 --- a/content/content.gyp +++ b/content/content.gyp @@ -22,8 +22,11 @@ # 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', { + # + # TODO(dpranke): Remove the mac conditional once the circular + # dependencies in WebKit.gyp are fixed. + # See https://bugs.webkit.org/show_bug.cgi?id=68463 + ['OS == "mac" or component == "static_library"', { 'targets': [ {'target_name': 'content', 'type': 'none', |