1# 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 17# Don't build the library in unbundled branches. 18ifeq (,$(TARGET_BUILD_APPS)) 19 20LOCAL_PATH := $(call my-dir) 21 22include $(CLEAR_VARS) 23 24LOCAL_CFLAGS += -std=c++11 25 26LOCAL_MODULE := android-support-v8-renderscript 27LOCAL_SDK_VERSION := 23 28LOCAL_SRC_FILES := $(call all-java-files-under, java/src) 29LOCAL_SHARED_ANDROID_LIBRARIES := android-support-annotations 30 31LOCAL_JAVA_LANGUAGE_VERSION := 1.7 32include $(BUILD_STATIC_JAVA_LIBRARY) 33 34# API Check 35# --------------------------------------------- 36support_module := $(LOCAL_MODULE) 37support_module_api_dir := $(LOCAL_PATH)/api 38support_module_src_files := $(LOCAL_SRC_FILES) 39support_module_java_libraries := $(LOCAL_JAVA_LIBRARIES) 40support_module_java_packages := android.support.v8.renderscript 41include $(SUPPORT_API_CHECK) 42 43# TODO: Build the tests as an APK here 44 45include $(call all-makefiles-under, $(LOCAL_PATH)) 46 47endif 48