1# 2# Copyright 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 17if (defined(use.android) && use.android) { 18 executable("net_test_bluetooth") { 19 sources = [ 20 "adapter/adapter_unittest.cc", 21 "adapter/bluetooth_test.cc", 22 ] 23 24 include_dirs = [ 25 "//bt/system", 26 "//bt/system/test/suite", 27 ] 28 29 deps = [ 30 "//bt/system/btcore", 31 "//bt/system/main:bluetooth", 32 "//bt/system/service:service", 33 "//bt/system/service:service_unittests", 34 "//bt/system/types:types_unittests", 35 "//bt/system/osi", 36 ] 37 38 configs += [ 39 "//bt/system:target_defaults", 40 "//bt/system:external_gtest_main", 41 ] 42 43 libs = [ 44 "pthread", 45 "rt", 46 "dl", 47 ] 48 } 49} 50