| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 $(warning Using chrome at: $(CHROME_PATH)) | 105 $(warning Using chrome at: $(CHROME_PATH)) |
| 106 endif | 106 endif |
| 107 | 107 |
| 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 LAUNCH_NEXE: CHECK_FOR_CHROME all | 115 CONFIG?=Debug |
| 116 » $(CHROME_PATH) $(NEXE_ARGS) "localhost:5103/index.html" | 116 PAGE?=index_$(TOOLCHAIN)_$(CONFIG).html |
| 117 |
| 118 ifeq (,$(wildcard $(PAGE))) |
| 119 » $(warning No valid HTML page found at $(PAGE)) |
| 120 » $(error Make sure TOOLCHAIN and CONFIG are properly set) |
| 121 endif |
| 122 |
| 123 LAUNCH: CHECK_FOR_CHROME all |
| 124 » $(CHROME_PATH) $(NEXE_ARGS) --register-pepper-plugins="$(PPAPI_DEBUG),$(
PPAPI_RELEASE)" localhost:5103/$(PAGE) |
| 117 | 125 |
| 118 __PROJECT_POSTLAUNCH__ | 126 __PROJECT_POSTLAUNCH__ |
| OLD | NEW |