summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2014-10-23 15:02:38 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-23 22:03:00 +0000
commit52a87b3b54cffd55558d614ef45c78f796c18253 (patch)
tree65f3eb8ff3721ebe6addedc86382ef9bb846117a /extensions/common/extension.h
parent26f63992473dda66e4ed2b22f35d4ccd0702ddcd (diff)
downloadchromium_src-52a87b3b54cffd55558d614ef45c78f796c18253.zip
chromium_src-52a87b3b54cffd55558d614ef45c78f796c18253.tar.gz
chromium_src-52a87b3b54cffd55558d614ef45c78f796c18253.tar.bz2
Android: Do not build any extensions code except for extensions_constants.
BUG=424746 Review URL: https://codereview.chromium.org/673663004 Cr-Commit-Position: refs/heads/master@{#300958}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 668f52f..4c76478 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -28,6 +28,10 @@
#include "ui/gfx/size.h"
#include "url/gurl.h"
+#if !defined(ENABLE_EXTENSIONS)
+#error "Extensions must be enabled"
+#endif
+
namespace base {
class DictionaryValue;
class Version;