198a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# 298a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# Copyright (C) 2012 The Android Open Source Project 398a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# 498a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# Licensed under the Apache License, Version 2.0 (the "License"); 598a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# you may not use this file except in compliance with the License. 698a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# You may obtain a copy of the License at 798a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# 898a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# http://www.apache.org/licenses/LICENSE-2.0 998a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# 1098a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# Unless required by applicable law or agreed to in writing, software 1198a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# distributed under the License is distributed on an "AS IS" BASIS, 1298a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1398a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# See the License for the specific language governing permissions and 1498a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# limitations under the License. 1598a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# 1698a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 17289d859f054a02de6eaaaa1b9452cf6b484bab0eTim Murray# Don't build the library in unbundled branches. 18289d859f054a02de6eaaaa1b9452cf6b484bab0eTim Murrayifeq (,$(TARGET_BUILD_APPS)) 19289d859f054a02de6eaaaa1b9452cf6b484bab0eTim Murray 2098a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason SamsLOCAL_PATH := $(call my-dir) 2198a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 2298a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Samsinclude $(CLEAR_VARS) 2398a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 246625634eb9430e9c9af6bfef4772f72baa28bd15Chris WailesLOCAL_CFLAGS += -std=c++11 256625634eb9430e9c9af6bfef4772f72baa28bd15Chris Wailes 26099deb8fb1715e62bcb24513f8e9305ab4f7743aScott MainLOCAL_MODULE := android-support-v8-renderscript 27e214512fee6106909d3c6de59d28c307d71236c1Yang NiLOCAL_SDK_VERSION := 23 2898a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason SamsLOCAL_SRC_FILES := $(call all-java-files-under, java/src) 29d805095048f6be52cddbd572ee343c4639ba8187Alan ViveretteLOCAL_SHARED_ANDROID_LIBRARIES := android-support-annotations 3098a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 31e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 3298a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Samsinclude $(BUILD_STATIC_JAVA_LIBRARY) 3398a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 34bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wang# API Check 35bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wang# --------------------------------------------- 36bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wangsupport_module := $(LOCAL_MODULE) 37bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wangsupport_module_api_dir := $(LOCAL_PATH)/api 38bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wangsupport_module_src_files := $(LOCAL_SRC_FILES) 39d805095048f6be52cddbd572ee343c4639ba8187Alan Viverettesupport_module_java_libraries := $(LOCAL_JAVA_LIBRARIES) 40bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wangsupport_module_java_packages := android.support.v8.renderscript 41bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wanginclude $(SUPPORT_API_CHECK) 42bcf90680a12c32c1a9158e105b6ac8aec7a5c85fMiao Wang 4398a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams# TODO: Build the tests as an APK here 4498a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 4598a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Samsinclude $(call all-makefiles-under, $(LOCAL_PATH)) 4698a281354fe06d1f970d0521c9a08d9eb0aa1a45Jason Sams 47289d859f054a02de6eaaaa1b9452cf6b484bab0eTim Murrayendif 48