-
Notifications
You must be signed in to change notification settings - Fork 36
rename lib name to gralloc.broxton #91
base: android10-release
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,36 +2,21 @@ | |
// found in the LICENSE file. | ||
|
||
cc_defaults { | ||
name: "gralloc.minigbm_intel_defaults", | ||
name: "gralloc.minigbm_intel_defaults_pri", | ||
cflags: ["-DDRV_I915"], | ||
} | ||
|
||
cc_defaults { | ||
name: "gralloc.minigbm_meson_defaults", | ||
cflags: ["-DDRV_MESON"], | ||
} | ||
|
||
cc_defaults { | ||
name: "gralloc.minigbm_defaults", | ||
name: "gralloc.minigbm_defaults_pri", | ||
|
||
srcs: [ | ||
"amdgpu.c", | ||
"drv.c", | ||
"evdi.c", | ||
"exynos.c", | ||
"helpers_array.c", | ||
"helpers.c", | ||
"i915.c", | ||
"marvell.c", | ||
"mediatek.c", | ||
"meson.c", | ||
"msm.c", | ||
"nouveau.c", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nouveau is for nvidia card, should also be deleted There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this blueprint file is from upstream, it would be best to keep all these lines and avoid number of changes against upstream. It would be then easier to rebase in the future when we update our minigbm from upstream? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Due to we need change the Android.bp, then we prefer to keep the Android.bp clean. |
||
"radeon.c", | ||
"rockchip.c", | ||
"tegra.c", | ||
"udl.c", | ||
"vc4.c", | ||
"vgem.c", | ||
"virtio_gpu.c", | ||
|
||
|
@@ -76,15 +61,10 @@ cc_defaults { | |
} | ||
|
||
cc_library_shared { | ||
name: "gralloc.minigbm", | ||
defaults: ["gralloc.minigbm_defaults"], | ||
} | ||
|
||
cc_library_shared { | ||
name: "gralloc.minigbm_intel", | ||
name: "gralloc.intel", | ||
defaults: [ | ||
"gralloc.minigbm_defaults", | ||
"gralloc.minigbm_intel_defaults", | ||
"gralloc.minigbm_defaults_pri", | ||
"gralloc.minigbm_intel_defaults_pri", | ||
], | ||
enabled: false, | ||
arch: { | ||
|
@@ -96,25 +76,3 @@ cc_library_shared { | |
}, | ||
}, | ||
} | ||
|
||
cc_library_shared { | ||
name: "gralloc.minigbm_meson", | ||
defaults: [ | ||
"gralloc.minigbm_defaults", | ||
"gralloc.minigbm_meson_defaults", | ||
], | ||
} | ||
|
||
cc_library_shared { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is better still keep libminigbm, which can be used as test purpose |
||
name: "libminigbm", | ||
defaults: ["gralloc.minigbm_defaults"], | ||
shared_libs: ["liblog"], | ||
static_libs: ["libdrm"], | ||
|
||
srcs: [ | ||
"gbm.c", | ||
"gbm_helpers.c", | ||
], | ||
|
||
export_include_dirs: ["."], | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also delete evdi.c