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

Unified Diff: webkit/tools/pepper_test_plugin/README

Issue 546041: Make the Pepper test run on the mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months 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 | « webkit/tools/pepper_test_plugin/Info.plist ('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 36261)
+++ webkit/tools/pepper_test_plugin/README (working copy)
@@ -14,3 +14,29 @@
Note that pepper_test_plugin is not dependent on the chrome project so you
need to remember to build Chrome separately if necessary.
+
+- Mac Instructions -
+In the pepper_test_plugin.xcodeproj that gets generated in this dir by GYP:
+
+[There isn't a way to add an Xcode Custom Executable via GYP, so you have to do
+this by hand each time the .xcoeproj is generated. Sorry.]
+
+Right (ctrl)-click 'Executables', then "Add -> New Custom Executable..."
+Call the Executable "Chromium"
+Set the Executable Path to ${BUILT_PRODUCTS_DIR}/Chromium.app/Contents/MacOS/Chromium
+When the Info panel comes up, add these arguments using the '+' button:
+ --no-sandbox
+ --internal-pepper
+ file://${SRCROOT}/test_page.html
+ # Add this if you want Chromium to pause before loading a render view.
+ --renderer-startup-dialog
+ # Add this to run Chromium as a single process.
+ --single-process
+
+Before you run the executable, copy the plugin into the Chromium.app bundle,
+into Chromium.app/Contents/PlugIns. You might have to create the PlugIns
+directory first.
+
+Once all this is set up, you can use "Build and run" (or cmd-r) in Xcode to
+run the pepper plugin test.
+
« no previous file with comments | « webkit/tools/pepper_test_plugin/Info.plist ('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