| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium 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 # Always use cmd.exe as the shell on Windows. Otherwise Make may try to search |
| 11 # the path for sh.exe. If it is found in a path with a space, the command will |
| 12 # fail. |
| 13 ifeq ($(OS),Windows_NT) |
| 14 SHELL := cmd.exe |
| 15 endif |
| 16 |
| 10 PROJECTS := \ | 17 PROJECTS := \ |
| 11 [[for project in projects:]] | 18 [[for project in projects:]] |
| 12 {{project}} \ | 19 {{project}} \ |
| 13 [[]] | 20 [[]] |
| 14 | 21 |
| 15 [[for dep,vals in deps.iteritems():]] | 22 [[for dep,vals in deps.iteritems():]] |
| 16 {{dep}}_DEPS:={{'_ALL_TARGET '.join(vals) + '_ALL_TARGET'}} | 23 {{dep}}_DEPS:={{'_ALL_TARGET '.join(vals) + '_ALL_TARGET'}} |
| 17 [[]] | 24 [[]] |
| 18 | 25 |
| 19 HTTPD_PY := python {{rel_sdk}}/tools/httpd.py | 26 HTTPD_PY := python {{rel_sdk}}/tools/httpd.py |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 @$(HTTPD_PY) | 71 @$(HTTPD_PY) |
| 65 | 72 |
| 66 # Phony aliases for backward compatibility | 73 # Phony aliases for backward compatibility |
| 67 RUN: run | 74 RUN: run |
| 68 run: serve | 75 run: serve |
| 69 | 76 |
| 70 all_versions: | 77 all_versions: |
| 71 +$(MAKE) TOOLCHAIN=all | 78 +$(MAKE) TOOLCHAIN=all |
| 72 | 79 |
| 73 .PHONY: RUN all_versions | 80 .PHONY: RUN all_versions |
| OLD | NEW |