Nicolas Noble | f358573 | 2015-03-15 20:05:24 -0700 | [diff] [blame] | 1 | #!/bin/sh |
Craig Tiller | 0605995 | 2015-02-18 08:34:56 -0800 | [diff] [blame] | 2 | # Copyright 2015, Google Inc. |
Craig Tiller | 8342881 | 2015-02-16 12:13:57 -0800 | [diff] [blame] | 3 | # All rights reserved. |
| 4 | # |
| 5 | # Redistribution and use in source and binary forms, with or without |
| 6 | # modification, are permitted provided that the following conditions are |
| 7 | # met: |
| 8 | # |
| 9 | # * Redistributions of source code must retain the above copyright |
| 10 | # notice, this list of conditions and the following disclaimer. |
| 11 | # * Redistributions in binary form must reproduce the above |
| 12 | # copyright notice, this list of conditions and the following disclaimer |
| 13 | # in the documentation and/or other materials provided with the |
| 14 | # distribution. |
| 15 | # * Neither the name of Google Inc. nor the names of its |
| 16 | # contributors may be used to endorse or promote products derived from |
| 17 | # this software without specific prior written permission. |
| 18 | # |
| 19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 20 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 22 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 23 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 24 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 25 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 31 | |
Craig Tiller | 3462982 | 2015-01-18 10:07:41 -0800 | [diff] [blame] | 32 | set -e |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 33 | |
Nicolas Noble | f358573 | 2015-03-15 20:05:24 -0700 | [diff] [blame] | 34 | if [ "x$TEST" = "x" ] ; then |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 35 | TEST=false |
| 36 | fi |
| 37 | |
| 38 | |
ctiller | 08c50d8 | 2015-01-09 12:47:03 -0800 | [diff] [blame] | 39 | cd `dirname $0`/../.. |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 40 | mako_renderer=tools/buildgen/mako_renderer.py |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 41 | |
Nicolas "Pixel" Noble | 7ad18e6 | 2015-04-22 01:57:33 +0200 | [diff] [blame] | 42 | if [ "x$TEST" != "x" ] ; then |
Craig Tiller | 1ebb7c8 | 2015-08-31 15:53:36 -0700 | [diff] [blame] | 43 | tools/buildgen/build-cleaner.py build.yaml |
Nicolas "Pixel" Noble | 7ad18e6 | 2015-04-22 01:57:33 +0200 | [diff] [blame] | 44 | fi |
Craig Tiller | 2651204 | 2015-02-20 13:44:31 -0800 | [diff] [blame] | 45 | |
Craig Tiller | 06e3f44 | 2015-05-28 14:01:26 -0700 | [diff] [blame] | 46 | . tools/buildgen/generate_build_additions.sh |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 47 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 48 | tools/buildgen/generate_projects.py build.yaml $gen_build_files $* |
Craig Tiller | 1a71811 | 2015-07-03 12:07:06 -0700 | [diff] [blame] | 49 | |
| 50 | rm $gen_build_files |