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