OSDN Git Service

Revert "Merge Android R"
[android-x86/external-minigbm.git] / cros_gralloc / gralloc3 / Android.bp
1 /*
2  * Copyright 2020 The Chromium OS Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 cc_binary {
8     name: "android.hardware.graphics.allocator@3.0-service.minigbm",
9     relative_install_path: "hw",
10     vendor: true,
11     init_rc: ["android.hardware.graphics.allocator@3.0-service.minigbm.rc"],
12
13     cflags: [
14         "-Wall",
15         "-Werror",
16     ],
17
18     shared_libs: [
19         "android.hardware.graphics.allocator@3.0",
20         "android.hardware.graphics.mapper@3.0",
21         "libbase",
22         "libcutils",
23         "libhidlbase",
24         "liblog",
25         "libsync",
26         "libutils",
27     ],
28
29     static_libs: [
30         "libdrm",
31         "libminigbm_gralloc",
32     ],
33
34     srcs: [
35         "CrosGralloc3Allocator.cc",
36         "CrosGralloc3AllocatorService.cc",
37         "CrosGralloc3Utils.cc",
38     ],
39 }
40
41 cc_library_shared {
42     name: "android.hardware.graphics.mapper@3.0-impl.minigbm",
43     relative_install_path: "hw",
44     vendor: true,
45
46     cflags: [
47         "-Wall",
48         "-Werror",
49     ],
50
51     shared_libs: [
52         "android.hardware.graphics.mapper@3.0",
53         "libbase",
54         "libcutils",
55         "libhidlbase",
56         "liblog",
57         "libsync",
58         "libutils",
59     ],
60
61     static_libs: [
62         "libdrm",
63         "libminigbm_gralloc",
64     ],
65
66     srcs: [
67         "CrosGralloc3Mapper.cc",
68         "CrosGralloc3Utils.cc",
69     ],
70 }