Index: native_client_sdk/src/build_tools/template.mk |
=================================================================== |
--- native_client_sdk/src/build_tools/template.mk (revision 151748) |
+++ native_client_sdk/src/build_tools/template.mk (working copy) |
@@ -112,7 +112,15 @@ |
RUN: all |
python ../httpd.py |
-LAUNCH_NEXE: CHECK_FOR_CHROME all |
- $(CHROME_PATH) $(NEXE_ARGS) "localhost:5103/index.html" |
+CONFIG?=Debug |
+PAGE?=index_$(TOOLCHAIN)_$(CONFIG).html |
+ifeq (,$(wildcard $(PAGE))) |
+ $(warning No valid HTML page found at $(PAGE)) |
+ $(error Make sure TOOLCHAIN and CONFIG are properly set) |
+endif |
+ |
+LAUNCH: CHECK_FOR_CHROME all |
+ $(CHROME_PATH) $(NEXE_ARGS) --register-pepper-plugins="$(PPAPI_DEBUG),$(PPAPI_RELEASE)" localhost:5103/$(PAGE) |
+ |
__PROJECT_POSTLAUNCH__ |