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

Unified Diff: native_client_sdk/src/build_tools/template.mk

Issue 10827363: Add Linux Host builds to NaCl SDK (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « native_client_sdk/src/build_tools/make_rules.py ('k') | native_client_sdk/src/examples/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__
« no previous file with comments | « native_client_sdk/src/build_tools/make_rules.py ('k') | native_client_sdk/src/examples/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698