summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi.gyp
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-17 22:25:10 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-17 22:25:10 +0000
commitb11afaf2c35bca16adae6595bda8999b8d0bcf60 (patch)
tree2364f73563b2491ff5c3aa4191113308eb8981fa /ppapi/ppapi.gyp
parent188ed7c8712ce0cbe5aa58e76cf9c4301004f195 (diff)
downloadchromium_src-b11afaf2c35bca16adae6595bda8999b8d0bcf60.zip
chromium_src-b11afaf2c35bca16adae6595bda8999b8d0bcf60.tar.gz
chromium_src-b11afaf2c35bca16adae6595bda8999b8d0bcf60.tar.bz2
PPAPI/NaCl: Make a gyp flag for including the untrusted IPC proxy.
This way, those of us working on the proxy switch need only add: { 'variables': { 'build_ppapi_ipc_proxy_untrusted': '1', }, } to "~/.gyp/include.gypi" ...and we'll be able to build our untrusted targets without editing all.gyp. For anybody who doesn't set that flag, our ppapi_proxy_untrusted.gypi file will still be parsed, but it doesn't matter if the source files build (or even exist). BUG=116317 TEST= Review URL: https://chromiumcodereview.appspot.com/10399068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi.gyp')
-rw-r--r--ppapi/ppapi.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/ppapi.gyp b/ppapi/ppapi.gyp
index 2c3323a..7d490f7 100644
--- a/ppapi/ppapi.gyp
+++ b/ppapi/ppapi.gyp
@@ -7,6 +7,11 @@
# in the .gyp files (since ppapi_internal depends on parts of Chrome).
{
+ 'conditions': [
+ ['disable_nacl==0 and build_ppapi_ipc_proxy_untrusted==1', {
+ 'includes': ['ppapi_proxy_untrusted.gypi'],
+ }],
+ ],
'variables': {
'chromium_code': 1, # Use higher warning level.
},