mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
51 lines
1.4 KiB
Python
51 lines
1.4 KiB
Python
# Copyright 2020 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
licenses(["notice"])
|
|
|
|
cc_library(
|
|
name = "ble",
|
|
srcs = [
|
|
"ble.cc",
|
|
],
|
|
hdrs = [
|
|
"ble.h",
|
|
],
|
|
compatible_with = ["//buildenv/target:non_prod"],
|
|
visibility = [
|
|
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
|
|
"//third_party/nearby_connections/cpp:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//third_party/nearby_connections/cpp/cal/api:ble",
|
|
"//third_party/nearby_connections/cpp/cal/base:types",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "cal_test",
|
|
size = "small",
|
|
timeout = "moderate",
|
|
srcs = [
|
|
"ble_test.cc",
|
|
],
|
|
deps = [
|
|
":ble",
|
|
"//testing/base/public:gunit",
|
|
"//testing/base/public:gunit_main",
|
|
"//third_party/nearby_connections/cpp/cal/api:ble",
|
|
"//third_party/nearby_connections/cpp/cal/base:types",
|
|
],
|
|
)
|