| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 1 | # | 
| Zonr Chang | c72c4dd | 2012-04-12 15:38:53 +0800 | [diff] [blame] | 2 | # Copyright (C) 2012 The Android Open Source Project | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 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 |  | 
 | 18 | LOCAL_PATH := $(call my-dir) | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 19 |  | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 20 | #===================================================================== | 
| Stephen Hines | e198abe | 2012-07-27 18:05:41 -0700 | [diff] [blame] | 21 | # Common: libbccRenderscript | 
| Stephen Hines | 2f6a493 | 2012-05-03 12:27:13 -0700 | [diff] [blame] | 22 | #===================================================================== | 
 | 23 |  | 
| Zonr Chang | c72c4dd | 2012-04-12 15:38:53 +0800 | [diff] [blame] | 24 | libbcc_renderscript_SRC_FILES := \ | 
| Zonr Chang | c72c4dd | 2012-04-12 15:38:53 +0800 | [diff] [blame] | 25 |   RSCompilerDriver.cpp \ | 
| Stephen Hines | 86a0b79 | 2012-11-06 20:04:47 -0800 | [diff] [blame] | 26 |   RSEmbedInfo.cpp \ | 
| Zonr Chang | c72c4dd | 2012-04-12 15:38:53 +0800 | [diff] [blame] | 27 |   RSForEachExpand.cpp \ | 
| Stephen Hines | 750ee65 | 2015-04-16 16:24:18 -0700 | [diff] [blame] | 28 |   RSGlobalInfoPass.cpp \ | 
| David Gross | 1d93a19 | 2015-03-25 14:59:27 -0700 | [diff] [blame] | 29 |   RSInvariant.cpp \ | 
| Tim Murray | b7bce74 | 2014-11-03 16:17:30 -0800 | [diff] [blame] | 30 |   RSScript.cpp \ | 
| Pirama Arumuga Nainar | 1e0557a | 2014-12-02 15:02:18 -0800 | [diff] [blame] | 31 |   RSInvokeHelperPass.cpp \ | 
| Pirama Arumuga Nainar | 9fe081b | 2015-01-27 14:09:19 -0800 | [diff] [blame] | 32 |   RSIsThreadablePass.cpp \ | 
| Pirama Arumuga Nainar | 1e0557a | 2014-12-02 15:02:18 -0800 | [diff] [blame] | 33 |   RSScreenFunctionsPass.cpp \ | 
| Yang Ni | a4ded13 | 2014-11-17 17:44:08 -0800 | [diff] [blame] | 34 |   RSStubsWhiteList.cpp \ | 
| Pirama Arumuga Nainar | 8c24f8d | 2015-03-17 13:11:25 -0700 | [diff] [blame] | 35 |   RSScriptGroupFusion.cpp \ | 
 | 36 |   RSX86CallConvPass.cpp | 
| Stephen Hines | 2f6a493 | 2012-05-03 12:27:13 -0700 | [diff] [blame] | 37 |  | 
 | 38 | #===================================================================== | 
| Stephen Hines | e198abe | 2012-07-27 18:05:41 -0700 | [diff] [blame] | 39 | # Device Static Library: libbccRenderscript | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 40 | #===================================================================== | 
| Tim Murray | c6e6ee4 | 2014-04-07 14:13:26 -0700 | [diff] [blame] | 41 | ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 42 | include $(CLEAR_VARS) | 
 | 43 |  | 
| Stephen Hines | e198abe | 2012-07-27 18:05:41 -0700 | [diff] [blame] | 44 | LOCAL_MODULE := libbccRenderscript | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 45 | LOCAL_MODULE_TAGS := optional | 
 | 46 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES | 
| Zonr Chang | ddf5661 | 2012-04-12 15:38:42 +0800 | [diff] [blame] | 47 |  | 
| Zonr Chang | c72c4dd | 2012-04-12 15:38:53 +0800 | [diff] [blame] | 48 | LOCAL_SRC_FILES := $(libbcc_renderscript_SRC_FILES) | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 49 |  | 
| Zonr Chang | ddf5661 | 2012-04-12 15:38:42 +0800 | [diff] [blame] | 50 | include $(LIBBCC_DEVICE_BUILD_MK) | 
| Zonr Chang | ddf5661 | 2012-04-12 15:38:42 +0800 | [diff] [blame] | 51 | include $(LLVM_DEVICE_BUILD_MK) | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 52 | include $(BUILD_STATIC_LIBRARY) | 
| Tim Murray | c6e6ee4 | 2014-04-07 14:13:26 -0700 | [diff] [blame] | 53 | endif | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 54 |  | 
 | 55 | #===================================================================== | 
| Stephen Hines | e198abe | 2012-07-27 18:05:41 -0700 | [diff] [blame] | 56 | # Host Static Library: libbccRenderscript | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 57 | #===================================================================== | 
 | 58 |  | 
 | 59 | include $(CLEAR_VARS) | 
 | 60 |  | 
| Stephen Hines | e198abe | 2012-07-27 18:05:41 -0700 | [diff] [blame] | 61 | LOCAL_MODULE := libbccRenderscript | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 62 | LOCAL_MODULE_TAGS := optional | 
 | 63 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES | 
| Stephen Hines | 2f6a493 | 2012-05-03 12:27:13 -0700 | [diff] [blame] | 64 | LOCAL_IS_HOST_MODULE := true | 
| Logan Chien | 6700527 | 2011-07-14 19:51:54 +0800 | [diff] [blame] | 65 |  | 
| Zonr Chang | c72c4dd | 2012-04-12 15:38:53 +0800 | [diff] [blame] | 66 | LOCAL_SRC_FILES := $(libbcc_renderscript_SRC_FILES) | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 67 |  | 
| Zonr Chang | ddf5661 | 2012-04-12 15:38:42 +0800 | [diff] [blame] | 68 | include $(LIBBCC_HOST_BUILD_MK) | 
| Zonr Chang | ddf5661 | 2012-04-12 15:38:42 +0800 | [diff] [blame] | 69 | include $(LLVM_HOST_BUILD_MK) | 
| Logan Chien | 7439685 | 2011-07-12 15:50:26 +0800 | [diff] [blame] | 70 | include $(BUILD_HOST_STATIC_LIBRARY) |