summaryrefslogtreecommitdiffstats
path: root/src/intel/Android.common.mk
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-22 14:47:55 -0700
committerJason Ekstrand <[email protected]>2016-09-03 08:23:06 -0700
commit55364ab5b7136e09a61d858f1167dee81e17bd9f (patch)
tree20a203dba078ac61790fa0896ae994f0d4355684 /src/intel/Android.common.mk
parent4218c3216648354b6c3d5a032a19418b7d0fc45b (diff)
intel: Add a new "common" library for more code sharing
The first thing to go in this new library is brw_device_info. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/Android.common.mk')
-rw-r--r--src/intel/Android.common.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/intel/Android.common.mk b/src/intel/Android.common.mk
new file mode 100644
index 00000000000..dcc01409ff0
--- /dev/null
+++ b/src/intel/Android.common.mk
@@ -0,0 +1,35 @@
+# Copyright © 2016 Intel Corporation
+# Copyright © 2016 Mauro Rossi <[email protected]>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+
+# ---------------------------------------
+# Build libmesa_intel_common
+# ---------------------------------------
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libmesa_intel_common
+
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+
+LOCAL_SRC_FILES := $(COMMON_FILES)
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)