Merge changes from topic "db845-minigbm-gralloc"
* changes: minigbm: Android.bp: Add msm varients of gralloc.minigbm and libminigbm_cros_gralloc minigbm: Andorid.bp: Use cc_defaults in defining libminigbm_cros_gralloc and users
This commit is contained in:
commit
59831098b8
3 changed files with 88 additions and 9 deletions
24
Android.bp
24
Android.bp
|
|
@ -147,8 +147,8 @@ cc_library {
|
|||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libminigbm_cros_gralloc",
|
||||
cc_defaults {
|
||||
name: "libminigbm_cros_gralloc_defaults",
|
||||
defaults: ["minigbm_cros_gralloc_defaults"],
|
||||
shared_libs: ["liblog"],
|
||||
static_libs: ["libdrm"],
|
||||
|
|
@ -156,6 +156,11 @@ cc_library_static {
|
|||
export_include_dirs: ["."],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libminigbm_cros_gralloc",
|
||||
defaults: ["libminigbm_cros_gralloc_defaults"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "gralloc.minigbm",
|
||||
defaults: ["minigbm_cros_gralloc_defaults"],
|
||||
|
|
@ -184,3 +189,18 @@ cc_library_shared {
|
|||
cflags: ["-DDRV_MESON"],
|
||||
srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "gralloc.minigbm_msm",
|
||||
defaults: ["minigbm_cros_gralloc_defaults"],
|
||||
cflags: ["-DDRV_MSM"],
|
||||
srcs: [
|
||||
"cros_gralloc/gralloc0/gralloc0.cc",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libminigbm_cros_gralloc_msm",
|
||||
defaults: ["libminigbm_cros_gralloc_defaults"],
|
||||
cflags: ["-DDRV_MSM"],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue