1# 2# Copyright (C) 2015 Google, Inc. 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 19include $(CLEAR_VARS) 20 21LOCAL_MODULE_TAGS := optional 22LOCAL_MODULE := sl4n 23 24LOCAL_C_INCLUDES += \ 25 system/bt \ 26 $(LOCAL_PATH)/rapidjson/include \ 27 $(LOCAL_PATH)/facades 28 29LOCAL_SRC_FILES := \ 30 facades/bluetooth/bt_binder_facade.cpp \ 31 facades/test/test_facade.cpp \ 32 main.cpp \ 33 utils/command_receiver.cpp \ 34 utils/common_utils.cpp 35 36LOCAL_SHARED_LIBRARIES += \ 37 libbinder \ 38 libchrome \ 39 libcutils \ 40 libutils \ 41 libhardware \ 42 libwifi-system \ 43 liblog 44 45LOCAL_STATIC_LIBRARIES += \ 46 libbluetooth-types \ 47 libbtcore \ 48 libosi \ 49 libbluetooth-binder-common 50 51LOCAL_STATIC_LIBRARIES += \ 52 libnl \ 53 54 55LOCAL_CFLAGS += -std=c++11 -Wall -Wno-unused-parameter -Wno-missing-field-initializers 56 57include $(BUILD_EXECUTABLE) 58