1// Copyright (C) 2017 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // all of the 'license_kinds' from "system_tools_hidl_license"
19    // to get the below license kinds:
20    //   SPDX-license-identifier-Apache-2.0
21    default_applicable_licenses: ["system_tools_hidl_license"],
22}
23
24bootstrap_go_package {
25    name: "hidl-soong-rules",
26    pkgPath: "android/soong/hidl",
27    deps: [
28        "blueprint",
29        "soong",
30        "soong-android",
31        "soong-cc",
32        "soong-genrule",
33        "soong-java",
34    ],
35    srcs: [
36        "fqName.go",
37        "hidl_interface.go",
38        "hidl_package_root.go",
39        "properties.go",
40        "utils.go",
41    ],
42    pluginFor: ["soong_build"],
43}
44
45hidl_interfaces_metadata {
46    name: "hidl_metadata_json",
47    visibility: ["//system/tools/hidl:__subpackages__"],
48}
49