mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
94 lines
2.1 KiB
Plaintext
94 lines
2.1 KiB
Plaintext
# Copyright 2018 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//chromecast/chromecast.gni")
|
|
|
|
cast_source_set("le") {
|
|
sources = [
|
|
"gatt_client_manager.h",
|
|
"gatt_client_manager_impl.cc",
|
|
"gatt_client_manager_impl.h",
|
|
"le_scan_manager.h",
|
|
"le_scan_manager_impl.cc",
|
|
"le_scan_manager_impl.h",
|
|
"le_scan_result.cc",
|
|
"le_scan_result.h",
|
|
"remote_characteristic.h",
|
|
"remote_characteristic_impl.cc",
|
|
"remote_characteristic_impl.h",
|
|
"remote_descriptor.cc",
|
|
"remote_descriptor.h",
|
|
"remote_descriptor_impl.cc",
|
|
"remote_descriptor_impl.h",
|
|
"remote_device.h",
|
|
"remote_device_impl.cc",
|
|
"remote_device_impl.h",
|
|
"remote_service.h",
|
|
"remote_service_impl.cc",
|
|
"remote_service_impl.h",
|
|
"scan_filter.cc",
|
|
"scan_filter.h",
|
|
]
|
|
|
|
public_deps = [
|
|
"//chromecast/public",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//chromecast/base",
|
|
"//chromecast/device/bluetooth:util",
|
|
"//chromecast/device/bluetooth/shlib",
|
|
"//chromecast/public",
|
|
"//third_party/re2",
|
|
]
|
|
}
|
|
|
|
cast_source_set("test_support") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"mock_gatt_client_manager.cc",
|
|
"mock_gatt_client_manager.h",
|
|
"mock_le_scan_manager.cc",
|
|
"mock_le_scan_manager.h",
|
|
"mock_remote_characteristic.cc",
|
|
"mock_remote_characteristic.h",
|
|
"mock_remote_descriptor.cc",
|
|
"mock_remote_descriptor.h",
|
|
"mock_remote_device.cc",
|
|
"mock_remote_device.h",
|
|
"mock_remote_service.cc",
|
|
"mock_remote_service.h",
|
|
]
|
|
deps = [
|
|
":le",
|
|
"//chromecast/public",
|
|
"//testing/gmock",
|
|
]
|
|
}
|
|
|
|
cast_source_set("unittests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"gatt_client_manager_impl_test.cc",
|
|
"instantiate_mocks.cc",
|
|
"le_scan_manager_impl_test.cc",
|
|
"le_scan_result_test.cc",
|
|
"scan_filter_test.cc",
|
|
]
|
|
deps = [
|
|
":le",
|
|
":test_support",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//chromecast/device/bluetooth:util",
|
|
"//chromecast/device/bluetooth/shlib:mock_shlib",
|
|
"//chromecast/public",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|