blob: 522adbcb11a1adb52380de28b166d49cb14fe6d9 [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
Miao Wang0cc36052015-03-06 14:45:12 -080027LOCAL_SDK_VERSION := 21
Jason Sams98a28132012-08-15 16:58:24 -070028LOCAL_SRC_FILES := $(call all-java-files-under, java/src)
29
30include $(BUILD_STATIC_JAVA_LIBRARY)
31
Miao Wangbcf90682015-04-14 17:59:06 -070032# API Check
33# ---------------------------------------------
34support_module := $(LOCAL_MODULE)
35support_module_api_dir := $(LOCAL_PATH)/api
36support_module_src_files := $(LOCAL_SRC_FILES)
37support_module_java_libraries := $(LOCAL_MODULE)
38support_module_java_packages := android.support.v8.renderscript
39include $(SUPPORT_API_CHECK)
40
Jason Sams98a28132012-08-15 16:58:24 -070041# TODO: Build the tests as an APK here
42
43include $(call all-makefiles-under, $(LOCAL_PATH))
44
Tim Murray289d8592013-02-01 11:57:33 -080045endif