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