blob: c7e9268275e29b0cdfc11381feba4c5ef55e355c [file] [log] [blame]
Jason Sams98a28132012-08-15 16:58:24 -07001#
2# Copyright (C) 2012 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
Tim Murray289d8592013-02-01 11:57:33 -080017# Don't build the library in unbundled branches.
18ifeq (,$(TARGET_BUILD_APPS))
19
Jason Sams98a28132012-08-15 16:58:24 -070020LOCAL_PATH := $(call my-dir)
21
22include $(CLEAR_VARS)
23
Chris Wailes66256342014-07-22 19:54:20 -070024LOCAL_CFLAGS += -std=c++11
25
Scott Main099deb82013-05-28 15:32:19 -070026LOCAL_MODULE := android-support-v8-renderscript
Tim Murrayc04b2aa2014-09-03 12:07:40 -070027LOCAL_SDK_VERSION := 18
Jason Sams98a28132012-08-15 16:58:24 -070028LOCAL_SRC_FILES := $(call all-java-files-under, java/src)
29
30include $(BUILD_STATIC_JAVA_LIBRARY)
31
Jason Sams98a28132012-08-15 16:58:24 -070032# TODO: Build the tests as an APK here
33
34include $(call all-makefiles-under, $(LOCAL_PATH))
35
Tim Murray289d8592013-02-01 11:57:33 -080036endif