blob: 44c9e80d7ede8ed155189e7d51510cebd46996bc [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 Brouilletafbc6fb2014-11-17 18:43:09 -080019g++ gen_runtime.cpp -std=c++11 -Wall -o gen_runtime
Jean-Luc Brouilletd7199f92014-05-01 21:29:49 -070020./gen_runtime -v 21 rs_core_math.spec
Jean-Luc Brouillet225bdc52015-03-16 14:31:57 -070021mv GeneratedTest*.java ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/
22mv GeneratedTest*.rs ../../../cts/tests/tests/renderscript/src/android/renderscript/cts/
Jean-Luc Brouilletbcd5b9a2014-03-07 18:00:57 -080023mv rs_core_math.rsh ../scriptc/
24rm ./gen_runtime