summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/all.gyp5
-rw-r--r--build/common.gypi6
2 files changed, 11 insertions, 0 deletions
diff --git a/build/all.gyp b/build/all.gyp
index bf37324..94cca3d 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -49,6 +49,11 @@
'../chrome_frame/chrome_frame.gyp:*',
],
}],
+ ['enable_pepper==1', {
+ 'dependencies': [
+ '../webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp:*',
+ ],
+ }],
['OS=="mac"', {
'dependencies': [
'../third_party/ocmock/ocmock.gyp:*',
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.