blob: 4c8321eb90893a3322369f0637497fce77c96f40 [file] [log] [blame]
Chris Mantona6cee152014-10-09 16:04:05 -07001#
Jakub Pawlowski5b790fe2017-09-18 09:00:20 -07002# Copyright 2014 The Android Open Source Project
Chris Mantona6cee152014-10-09 16:04:05 -07003#
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
Pavlin Radoslavov1377f932016-02-11 19:44:47 -080019# Bluetooth tools for target
20# ========================================================
Chris Mantona6cee152014-10-09 16:04:05 -070021include $(CLEAR_VARS)
22
23LOCAL_MODULE_TAGS := optional
Sharvil Nanavati61683572014-12-29 00:56:46 -080024LOCAL_MODULE := net_bdtool
Chris Mantona6cee152014-10-09 16:04:05 -070025
26LOCAL_SRC_FILES := \
27 adapter.c \
28 bdtool.c \
29 ../../test/suite/support/callbacks.c \
Andre Eisenbach1f01b262015-04-02 01:01:34 -070030 ../../test/suite/support/gatt.c \
Chris Mantona2253362014-10-17 10:58:53 -070031 ../../test/suite/support/hal.c \
32 ../../test/suite/support/pan.c
Chris Mantona6cee152014-10-09 16:04:05 -070033
34LOCAL_STATIC_LIBRARIES := \
35 libbtcore \
36 libosi
37
Chris Mantona6cee152014-10-09 16:04:05 -070038LOCAL_C_INCLUDES := \
39 $(LOCAL_PATH)/../../test/suite \
40 $(LOCAL_PATH)/../..
41
Pavlin Radoslavov7aaf7c62016-08-23 12:24:03 -070042LOCAL_SHARED_LIBRARIES := \
Pavlin Radoslavov45a94e12015-11-05 11:46:28 -080043 libhardware liblog
Chris Mantona6cee152014-10-09 16:04:05 -070044
Pavlin Radoslavov1377f932016-02-11 19:44:47 -080045LOCAL_CFLAGS += $(bluetooth_CFLAGS)
46LOCAL_CONLYFLAGS += $(bluetooth_CONLYFLAGS)
47LOCAL_CPPFLAGS += $(bluetooth_CPPFLAGS)
48
Chris Mantona6cee152014-10-09 16:04:05 -070049include $(BUILD_EXECUTABLE)