OSDN Git Service

android-x86/external-minigbm.git
9 years agoSupport pkg-config
Stéphane Marchesin [Fri, 19 Sep 2014 01:27:41 +0000 (18:27 -0700)]
Support pkg-config

Let's add pkg-config and install headers since this is needed for
ozone to build with a gbm platform.

BUG=chromium:394868,chromium:402597,chromium:413947,chromium:412508
TEST=emerge minigbm, then try pkg-config-board --libs --cflags. Rejoice that it works!

Change-Id: I94a26b1986db76e2d0dad638feda80ec10f48a9f
Reviewed-on: https://chromium-review.googlesource.com/218979
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
9 years agoUse libdir from the ebuild
Stéphane Marchesin [Mon, 15 Sep 2014 22:38:37 +0000 (15:38 -0700)]
Use libdir from the ebuild

Instead of overriding with our own, let's use the libdir passed down
from the ebuild.

BUG=none
TEST=emerge minigbm

Change-Id: Ic38fd538add6d4c85e502b9dc0feeabaa8378e2e
Reviewed-on: https://chromium-review.googlesource.com/218978
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
9 years agoFix type warning
Stéphane Marchesin [Mon, 15 Sep 2014 22:38:25 +0000 (15:38 -0700)]
Fix type warning

ARRAY_SIZE is unsigned, which leads to a warning. Let's fix this by
iterating with an unsigned.

BUG=none
TEST=emerge minigbm

Change-Id: I9b683d19d8ce5208bb4ec25d69292bbefcc4f91d
Reviewed-on: https://chromium-review.googlesource.com/218977
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
9 years agoRemove test file
Stéphane Marchesin [Mon, 15 Sep 2014 22:38:15 +0000 (15:38 -0700)]
Remove test file

This isn't needed.

BUG=none
TEST=minigbm still builds

Change-Id: If82545066b6f1f5bea7d2fb03a24b72d07d0d791
Reviewed-on: https://chromium-review.googlesource.com/218976
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
9 years agoImport minigbm
Stéphane Marchesin [Fri, 12 Sep 2014 23:18:59 +0000 (16:18 -0700)]
Import minigbm

Minigbm is a gbm implementation for a few DRM targets. Currently the
targets are:
- cirrus
- exynos
- gma500
- i915
- rockchip
- tegra
- udl

Right some targets are controlled with GBM_{TARGET} flags. I would
like to get to a place where we can just build all the targets in a
single library, but we need the drm headers for all targets for that
to happen so this needs more thinking.

BUG=chromium:394868,chromium:402597,chromium:413947,chromium:412508
TEST=unit tests, which I will need to import later

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Change-Id: I36ae07f2a59827a807e19e1432891ca196b28803
Reviewed-on: https://chromium-review.googlesource.com/218030

9 years agoInitial empty repository
Aviv Keshet [Thu, 11 Sep 2014 20:53:55 +0000 (20:53 +0000)]
Initial empty repository