blob: ca186e0bce5d09ed0f529eec53ebba6fe3176273 [file] [log] [blame]
Huan Song9b03aa42021-08-19 22:14:21 -07001// Copyright (C) 2021 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-device-state",
30 vendor: true,
31 srcs: [
32 "qemu-device-state.cpp",
33 ],
34 shared_libs: [
35 "libbase",
36 "liblog",
37 ],
38 static_libs: [
39 "libfstab",
40 ],
41 cflags: [
42 "-DLOG_TAG=\"qemu-device-state\"",
43 ],
44}