1// Copyright (C) 2009 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
15// this file is used to build emulator-specific program tools
16// that should only run in the emulator.
17//
18
19package {
20    // See: http://go/android-license-faq
21    // A large-scale-change added 'default_applicable_licenses' to import
22    // all of the 'license_kinds' from "device_generic_goldfish_license"
23    // to get the below license kinds:
24    //   SPDX-license-identifier-Apache-2.0
25    default_applicable_licenses: ["device_generic_goldfish_license"],
26}
27
28cc_binary {
29    name: "qemu-props",
30    vendor: true,
31    srcs: [
32        "qemu-props.cpp",
33        "vport_parser.cpp",
34    ],
35    shared_libs: [
36        "libbase",
37        "libcutils",
38        "liblog",
39    ],
40    static_libs: [
41        "libqemud.ranchu",
42        "libqemupipe.ranchu",
43    ],
44    header_libs: [
45        "libdebug.ranchu",
46    ],
47    cflags: [
48        "-DLOG_TAG=\"qemu-props\"",
49        "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION",
50    ],
51}
52