aboutsummaryrefslogtreecommitdiffstats
path: root/tegra/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'tegra/Android.bp')
-rw-r--r--tegra/Android.bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tegra/Android.bp b/tegra/Android.bp
new file mode 100644
index 00000000..33eaf6c5
--- /dev/null
+++ b/tegra/Android.bp
@@ -0,0 +1,14 @@
+cc_library_shared {
+ name: "libdrm_tegra",
+ vendor: true,
+ shared_libs: ["libdrm"],
+
+ srcs: ["tegra.c"],
+
+ cflags: [
+ "-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1",
+ "-Wall",
+ "-Werror",
+ "-Wno-unused-variable",
+ ],
+}