1 # 2 # Copyright (C) 2017 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 LOCAL_PATH := $(call my-dir) 18 19 ######################################################## 20 # CHRE 1.0 Library 21 ######################################################## 22 23 include $(CLEAR_NANO_VARS) 24 25 LOCAL_MODULE := libnanochre10 26 LOCAL_MODULE_TAGS := optional 27 28 LOCAL_SRC_FILES := \ 29 chre10_app.c \ 30 chre10_app_syscalls.c \ 31 32 LOCAL_STATIC_LIBRARIES += libnanobuiltins 33 LOCAL_STATIC_LIBRARIES += libnanolibc 34 35 include $(BUILD_NANOHUB_APP_STATIC_LIBRARY) 36 37 ######################################################## 38 # CHRE 1.1 Library 39 ######################################################## 40 41 include $(CLEAR_NANO_VARS) 42 43 LOCAL_MODULE := libnanochre11 44 LOCAL_MODULE_TAGS := optional 45 46 LOCAL_SRC_FILES := \ 47 chre_app.c \ 48 chre11_app_syscalls.c \ 49 50 LOCAL_STATIC_LIBRARIES += libnanobuiltins 51 LOCAL_STATIC_LIBRARIES += libnanolibc 52 53 include $(BUILD_NANOHUB_APP_STATIC_LIBRARY) 54 55 ######################################################## 56 # CHRE 1.2 Library 57 ######################################################## 58 59 include $(CLEAR_NANO_VARS) 60 61 LOCAL_MODULE := libnanochre 62 LOCAL_MODULE_TAGS := optional 63 64 LOCAL_SRC_FILES := \ 65 chre_app.c \ 66 chre_app_syscalls.c \ 67 68 LOCAL_STATIC_LIBRARIES += libnanobuiltins 69 LOCAL_STATIC_LIBRARIES += libnanolibc 70 71 include $(BUILD_NANOHUB_APP_STATIC_LIBRARY) 72