| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium OS Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 release: pnacl_for_release vulcanized-polymer | |
| 6 PNACL_TARGET=Release PACKAGE_DIR=release $(MAKE) -f Makefile.package | |
| 7 | |
| 8 debug: pnacl_for_debug vulcanized-polymer | |
| 9 PNACL_TARGET=Debug PACKAGE_DIR=debug $(MAKE) -f Makefile.package | |
| 10 | |
| 11 vulcanized-polymer: third-party/polymer.html | |
| 12 mkdir vulcanized-polymer | |
| 13 `npm bin`/vulcanize third-party/polymer.html --inline --csp -o \ | |
| 14 vulcanized-polymer/polymer.html | |
| 15 | |
| 16 .PHONY: pnacl_for_release | |
| 17 pnacl_for_release: | |
| 18 CONFIG=Release $(MAKE) -f Makefile.pnacl | |
| 19 | |
| 20 .PHONY: pnacl_for_debug | |
| 21 pnacl_for_debug: | |
| 22 CONFIG=Debug $(MAKE) -f Makefile.pnacl | |
| 23 | |
| 24 .PHONY: clean | |
| 25 clean: | |
| 26 $(MAKE) -f Makefile.pnacl clean | |
| 27 PNACL_TARGET=Release PACKAGE_DIR=release $(MAKE) -f Makefile.package cle
an | |
| 28 PNACL_TARGET=Debug PACKAGE_DIR=debug $(MAKE) -f Makefile.package clean | |
| 29 rm -rf vulcanized-polymer | |
| 30 rm -rf pnacl | |
| OLD | NEW |