blob: 08816902c350b8e490cea14a539cc7f0d3a8d323 [file] [log] [blame]
Jean-Luc Brouilletbcd5b9a2014-03-07 18:00:57 -08001#!/bin/bash
2#
3# Copyright (C) 2014 The Android Open Source Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18set -e
Jean-Luc Brouilletc5184e22015-03-13 13:51:24 -070019g++ Generator.cpp Specification.cpp GenerateHtmlDocumentation.cpp GenerateHeaderFiles.cpp GenerateTestFiles.cpp Scanner.cpp Utilities.cpp -g -std=c++11 -Wall -o generator
20
21./generator rs_allocation.spec rs_atomic.spec rs_core_math.spec rs_core.spec rs_debug.spec rs_element.spec rs_graphics.spec rs_math.spec rs_matrix.spec rs_mesh.spec rs_object.spec rs_program.spec rs_quaternion.spec rs_sampler.spec rs_time.spec rs_types.spec
22
23rm ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/GeneratedTest*
24mv GeneratedTest* ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/
25
26mv *.rsh ../scriptc
27
28rm *.html # TODO handle the documentation files.
29rm generator