Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 1 | # |
Jakub Pawlowski | 5b790fe | 2017-09-18 09:00:20 -0700 | [diff] [blame] | 2 | # Copyright 2014 The Android Open Source Project |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 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 | |
Pavlin Radoslavov | 1377f93 | 2016-02-11 19:44:47 -0800 | [diff] [blame] | 19 | # Bluetooth tools for target |
| 20 | # ======================================================== |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 21 | include $(CLEAR_VARS) |
| 22 | |
| 23 | LOCAL_MODULE_TAGS := optional |
Sharvil Nanavati | 6168357 | 2014-12-29 00:56:46 -0800 | [diff] [blame] | 24 | LOCAL_MODULE := net_bdtool |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 25 | |
| 26 | LOCAL_SRC_FILES := \ |
| 27 | adapter.c \ |
| 28 | bdtool.c \ |
| 29 | ../../test/suite/support/callbacks.c \ |
Andre Eisenbach | 1f01b26 | 2015-04-02 01:01:34 -0700 | [diff] [blame] | 30 | ../../test/suite/support/gatt.c \ |
Chris Manton | a225336 | 2014-10-17 10:58:53 -0700 | [diff] [blame] | 31 | ../../test/suite/support/hal.c \ |
| 32 | ../../test/suite/support/pan.c |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 33 | |
| 34 | LOCAL_STATIC_LIBRARIES := \ |
| 35 | libbtcore \ |
| 36 | libosi |
| 37 | |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 38 | LOCAL_C_INCLUDES := \ |
| 39 | $(LOCAL_PATH)/../../test/suite \ |
| 40 | $(LOCAL_PATH)/../.. |
| 41 | |
Pavlin Radoslavov | 7aaf7c6 | 2016-08-23 12:24:03 -0700 | [diff] [blame] | 42 | LOCAL_SHARED_LIBRARIES := \ |
Pavlin Radoslavov | 45a94e1 | 2015-11-05 11:46:28 -0800 | [diff] [blame] | 43 | libhardware liblog |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 44 | |
Pavlin Radoslavov | 1377f93 | 2016-02-11 19:44:47 -0800 | [diff] [blame] | 45 | LOCAL_CFLAGS += $(bluetooth_CFLAGS) |
| 46 | LOCAL_CONLYFLAGS += $(bluetooth_CONLYFLAGS) |
| 47 | LOCAL_CPPFLAGS += $(bluetooth_CPPFLAGS) |
| 48 | |
Chris Manton | a6cee15 | 2014-10-09 16:04:05 -0700 | [diff] [blame] | 49 | include $(BUILD_EXECUTABLE) |