Alex Light | b270b9e | 2016-04-15 12:41:09 -0700 | [diff] [blame] | 1 | # Copyright (C) 2016 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | |
| 16 | LOCAL_PATH := $(my-dir) |
| 17 | |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_MODULE := libart_fake |
| 21 | LOCAL_INSTALLED_MODULE_STEM := libart.so |
| 22 | LOCAL_SDK_VERSION := 9 |
| 23 | LOCAL_CPP_EXTENSION := .cc |
| 24 | LOCAL_SRC_FILES := fake.cc |
Chih-Hung Hsieh | 32f2073 | 2017-11-16 11:33:14 -0800 | [diff] [blame] | 25 | LOCAL_CFLAGS := -Wall -Werror |
Alex Light | b270b9e | 2016-04-15 12:41:09 -0700 | [diff] [blame] | 26 | LOCAL_SHARED_LIBRARIES := liblog |
| 27 | |
| 28 | ifdef TARGET_2ND_ARCH |
| 29 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT)/fake-libs |
| 30 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT)/fake-libs64 |
| 31 | else |
| 32 | LOCAL_MODULE_PATH := $(TARGET_OUT)/fake-libs |
| 33 | endif |
| 34 | |
| 35 | include $(BUILD_SHARED_LIBRARY) |