OLD | NEW |
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # | 5 # |
6 # GNU Make based build file. For details on GNU Make see: | 6 # GNU Make based build file. For details on GNU Make see: |
7 # http://www.gnu.org/software/make/manual/make.html | 7 # http://www.gnu.org/software/make/manual/make.html |
8 # | 8 # |
9 | 9 |
10 # | 10 # |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 __PROJECT_RULES__ | 108 __PROJECT_RULES__ |
109 | 109 |
110 __PROJECT_PRERUN__ | 110 __PROJECT_PRERUN__ |
111 | 111 |
112 RUN: all | 112 RUN: all |
113 python ../httpd.py | 113 python ../httpd.py |
114 | 114 |
115 CONFIG?=Debug | 115 CONFIG?=Debug |
116 PAGE?=index_$(TOOLCHAIN)_$(CONFIG).html | 116 PAGE?=index_$(TOOLCHAIN)_$(CONFIG).html |
117 | 117 |
| 118 LAUNCH: CHECK_FOR_CHROME all |
118 ifeq (,$(wildcard $(PAGE))) | 119 ifeq (,$(wildcard $(PAGE))) |
119 $(warning No valid HTML page found at $(PAGE)) | 120 $(warning No valid HTML page found at $(PAGE)) |
120 $(error Make sure TOOLCHAIN and CONFIG are properly set) | 121 $(error Make sure TOOLCHAIN and CONFIG are properly set) |
121 endif | 122 endif |
122 | |
123 LAUNCH: CHECK_FOR_CHROME all | |
124 $(CHROME_PATH) $(NEXE_ARGS) --register-pepper-plugins="$(PPAPI_DEBUG),$(
PPAPI_RELEASE)" localhost:5103/$(PAGE) | 123 $(CHROME_PATH) $(NEXE_ARGS) --register-pepper-plugins="$(PPAPI_DEBUG),$(
PPAPI_RELEASE)" localhost:5103/$(PAGE) |
125 | 124 |
126 __PROJECT_POSTLAUNCH__ | 125 __PROJECT_POSTLAUNCH__ |
OLD | NEW |