summaryrefslogtreecommitdiffstats
path: root/extensions/extensions.gyp
diff options
context:
space:
mode:
authorbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 13:07:38 +0000
committerbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 13:07:38 +0000
commitd6ec84afaa637fb057ad1cbf5a7c03b02b6a456c (patch)
tree8b0e7c2d2a8ace6fa88a2eca6901564156cea539 /extensions/extensions.gyp
parent62f9063b7cb9bc8cc3bc1aa5ebe19a5d216a54cf (diff)
downloadchromium_src-d6ec84afaa637fb057ad1cbf5a7c03b02b6a456c.zip
chromium_src-d6ec84afaa637fb057ad1cbf5a7c03b02b6a456c.tar.gz
chromium_src-d6ec84afaa637fb057ad1cbf5a7c03b02b6a456c.tar.bz2
Moved extension_api to src/extensions/common
This is part of the move of extensions code into the extensions component. This change does not move the generated API data and API resources. TBR=darin@chromium.org BUG=162530 Review URL: https://codereview.chromium.org/50743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/extensions.gyp')
-rw-r--r--extensions/extensions.gyp19
1 files changed, 19 insertions, 0 deletions
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp
index e54d965..f58a442 100644
--- a/extensions/extensions.gyp
+++ b/extensions/extensions.gyp
@@ -11,6 +11,11 @@
'target_name': 'extensions_common',
'type': 'static_library',
'dependencies': [
+ # TODO(benwells): figure out what to do with the api target and
+ # api resources compiled into the chrome resource bundle.
+ # http://crbug.com/162530
+ '../chrome/chrome_resources.gyp:chrome_resources',
+ '../chrome/common/extensions/api/api.gyp:api',
'../content/content.gyp:content_common',
'../third_party/re2/re2.gyp:re2',
],
@@ -31,6 +36,9 @@
'common/event_filtering_info.h',
'common/event_matcher.cc',
'common/event_matcher.h',
+ 'common/extension_api.cc',
+ 'common/extension_api.h',
+ 'common/extension_api_stub.cc',
'common/extension_paths.cc',
'common/extension_paths.h',
'common/extension_resource.cc',
@@ -95,6 +103,17 @@
],
# Disable c4267 warnings until we fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
+ 'conditions': [
+ ['enable_extensions==1', {
+ 'sources!': [
+ 'common/extension_api_stub.cc',
+ ],
+ }, { # enable_extensions == 0
+ 'sources!': [
+ 'common/extension_api.cc',
+ ],
+ }],
+ ],
},
{
'target_name': 'extensions_browser',