OSDN Git Service

Adds Android.bp files back after merge.
[android-x86/external-minigbm.git] / cros_gralloc / gralloc4 / Android.bp
1 //
2 // Copyright (C) 2020 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 cc_binary {
17     name: "android.hardware.graphics.allocator@4.0-service.minigbm",
18     relative_install_path: "hw",
19     vendor: true,
20     init_rc: ["android.hardware.graphics.allocator@4.0-service.minigbm.rc"],
21
22     cflags: [
23         "-Wall",
24         "-Werror",
25     ],
26
27     shared_libs: [
28         "android.hardware.graphics.allocator@4.0",
29         "android.hardware.graphics.mapper@4.0",
30         "libbase",
31         "libcutils",
32         "libgralloctypes",
33         "libhidlbase",
34         "liblog",
35         "libsync",
36         "libutils",
37     ],
38
39     static_libs: [
40         "libdrm",
41         "libminigbm_cros_gralloc",
42     ],
43
44     srcs: [
45         "CrosGralloc4Allocator.cc",
46         "CrosGralloc4AllocatorService.cc",
47         "CrosGralloc4Utils.cc",
48     ],
49 }
50
51 cc_library_shared {
52     name: "android.hardware.graphics.mapper@4.0-impl.minigbm",
53     relative_install_path: "hw",
54     vendor: true,
55
56     cflags: [
57         "-Wall",
58         "-Werror",
59     ],
60
61     shared_libs: [
62         "android.hardware.graphics.mapper@4.0",
63         "libbase",
64         "libcutils",
65         "libgralloctypes",
66         "libhidlbase",
67         "liblog",
68         "libsync",
69         "libutils",
70     ],
71
72     static_libs: [
73         "libdrm",
74         "libminigbm_cros_gralloc",
75     ],
76
77     srcs: [
78         "CrosGralloc4Mapper.cc",
79         "CrosGralloc4Utils.cc",
80     ],
81 }