OSDN Git Service

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