Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: chrome/chrome_common.gypi

Issue 11411324: Exclude chrome/common/extensions/api/ from build if enable_extensions==0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_resources.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_common.gypi
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index 84d26ef93af062e9a9febb66a82dcccdf8846f54..39e8eed267dfc263a6adc30828e8f517e83aae33 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -212,6 +212,7 @@
'common/extensions/value_counter.h',
'common/extensions/api/extension_api.cc',
'common/extensions/api/extension_api.h',
+ 'common/extensions/api/extension_api_stub.cc',
'common/external_ipc_fuzzer.h',
'common/external_ipc_fuzzer.cc',
'common/favicon_url.cc',
@@ -423,6 +424,16 @@
'common/chrome_version_info_posix.cc',
],
}],
+ ['enable_extensions==1', {
+ 'sources!': [
+ 'common/extensions/api/extension_api_stub.cc',
+ ],
+ }, { # enable_extensions == 0
+ 'sources/': [
+ ['exclude', '^common/extensions/api/'],
+ ['include', 'common/extensions/api/extension_api_stub.cc'],
+ ],
+ }],
['remoting==1', {
'dependencies': [
'../remoting/remoting.gyp:remoting_client_plugin',
« no previous file with comments | « no previous file | chrome/chrome_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698