Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: webkit/tools/pepper_test_plugin/README

Issue 343070: Conditionally added pepper_test_plugin.gyp as all.gyp dependency based on whe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/pepper_test_plugin/README
===================================================================
--- webkit/tools/pepper_test_plugin/README (revision 30711)
+++ webkit/tools/pepper_test_plugin/README (working copy)
@@ -1,12 +1,22 @@
This is a test plugin for manual testing of the Pepper plugin API. See
https://wiki.mozilla.org/Plugins:PlatformIndependentNPAPI
-To generate a project from the gyp file, use:
- python ..\..\..\build\gyp_chromium pepper_test_plugin.gyp
+To generate a project from the gyp file, set the GYP_DEFINES environment
+variable to "enable_pepper=1". From a Windows command prompt:
+ set GYP_DEFINES=enable_pepper=1
+
+Then rebuild the project files:
+ gclient runhooks --force
+
+Then open the Chrome all.sln solution and rebuild the pepper_test_plugin and
+chrome projects.
-You need to enable PEPPER_APIS_ENABLED in src\chrome\renderer\render_view.cc in your Chrome build.
-
To load this plugin in Chrome, use the command line flags:
--no-sandbox
--load-plugin=<<<YOUR CHECKOUT ROOT>>\src\webkit\tools\pepper_test_plugin\Debug\pepper_test_plugin.dll
-
+
+A simple way to launch Chrome with these command line flags is to run the
+generated pepper_test_plugin project.
+
+Note that pepper_test_plugin is not dependent on the chrome project so you
+need to remember to build Chrome separately if necessary.
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698