summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index e90321b..05c8de9d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -135,6 +135,9 @@
# Whether to add the experimental build define.
'chrome_frame_define%': 0,
+ # Whether pepper APIs are enabled.
+ 'enable_pepper%': 0,
+
# TODO(bradnelson): eliminate this when possible.
# To allow local gyp files to prevent release.vsprops from being included.
# Yes(1) means include release.vsprops.
@@ -286,6 +289,9 @@
['chromeos==1 or toolkit_views==1', {
'defines': ['OS_CHROMEOS=1'],
}],
+ ['enable_pepper==1', {
+ 'defines': ['ENABLE_PEPPER=1'],
+ }],
['fastbuild!=0', {
'conditions': [
# Finally, for Windows, we simply turn on profiling.