summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi.gyp
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 17:38:02 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 17:38:02 +0000
commitdf011f44d3a667486592705ed0eca9d4a47f58dc (patch)
tree6ff361b987a23d9cdb2079607cd7993a108c3f0a /ppapi/ppapi.gyp
parentbdc56e165fb7cf8a40dcd2dd274ede146d1c3e1d (diff)
downloadchromium_src-df011f44d3a667486592705ed0eca9d4a47f58dc.zip
chromium_src-df011f44d3a667486592705ed0eca9d4a47f58dc.tar.gz
chromium_src-df011f44d3a667486592705ed0eca9d4a47f58dc.tar.bz2
Allow C/C++ targets to be suffixed for use in Native Client checkout.
Review URL: http://codereview.chromium.org/7320002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi.gyp')
-rw-r--r--ppapi/ppapi.gyp11
1 files changed, 11 insertions, 0 deletions
diff --git a/ppapi/ppapi.gyp b/ppapi/ppapi.gyp
index f1eb48f..fa850d5 100644
--- a/ppapi/ppapi.gyp
+++ b/ppapi/ppapi.gyp
@@ -9,6 +9,17 @@
{
'variables': {
'chromium_code': 1, # Use higher warning level.
+
+ # NaCl also uses the C and C++ PPAPI targets. We want it to be able to use
+ # its own version of PPAPI when compiling into Chrome, which means we'll
+ # actually have two instances of each library in the checkout (though not
+ # compiled into the same binary since NaCl is a shared library).
+ #
+ # This value is the suffix that will be appended to the relevant projects.
+ # In Chrome, it's empty so the projects have the same name. NaCl sets this
+ # to "_nacl" and includes the .gypi files below, giving it different names
+ # for these projects.
+ 'nacl_ppapi_library_suffix': '',
},
'target_defaults': {
'conditions': [