DescriptionRefactor use of ppapi_cpp and ppapi_tests to avoid include of untrusted.gypi
Unfortunately a conditional include does not prevent GYP from attempting to load the include file. It just loads the file and ignores it.
For this reason, a conditional include can not be used to work around a non-existent file.
Since WebKit doesn't care about anything other than the ppapi_c target, we remove the ppapi_c target from ppapi_cpp.gypi, and put it in it's own file.
This allows us to remove the include of untrusted.gypi from the ppapi.gyp file. We do a similar thing to ppapi_internal.gyp.
So instead we put pull in untrusted.gypi into ppapi_cpp and ppapi_tests which are the places where we actually need it.
Since ppapi_cpp and ppapi_tests have become their own gyp files, all references to them also need to be updated.
I am also working on a CL which moves the list of sources into ppapi_sources.gypi as a variable so that we can share the file list in both the trusted and untrusted versions of teh tests and ppapi_cpp library.
So this CL is currently for comparison against that technique which I will upload shortly.
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|