1/*
2 * Copyright (C) 2017 The Android Open Source Project
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
17package {
18    default_team: "trendy_team_context_hub",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "system_chre_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["system_chre_license"],
25}
26
27cc_library_static {
28    name: "wifi_offload_types",
29    export_include_dirs: [
30        "include",
31    ],
32    srcs: [
33        "channel_histogram.cc",
34        "flatbuffers_serialization.cc",
35        "preferred_network.cc",
36        "rpc_log_record.cc",
37        "scan_config.cc",
38        "scan_filter.cc",
39        "scan_params.cc",
40        "scan_record.cc",
41        "scan_result.cc",
42        "scan_result_message.cc",
43        "scan_stats.cc",
44        "ssid.cc",
45        "utility.cc",
46    ],
47    cflags: [
48        "-Wall",
49        "-Werror",
50    ],
51    shared_libs: [
52        "libcutils",
53        "liblog",
54        "libutils",
55    ],
56    header_libs: [
57        "chre_api",
58        "chre_flatbuffers",
59    ],
60    export_header_lib_headers: [
61        "chre_api",
62        "chre_flatbuffers",
63    ],
64    vendor: true,
65    proprietary: true,
66}
67