summaryrefslogtreecommitdiff
path: root/gralloc
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2017-05-03 15:37:20 -0700
committerDmitry Shmidt <dimitrysh@google.com>2017-05-03 15:40:37 -0700
commit9e18cca0b575ad8ca3e6a158cab4795b345c0960 (patch)
treecca163bda0b051289a92a565087e9258a30bcc50 /gralloc
parent58c515baa9c4033f0e2ab2dd24face545a396970 (diff)
downloadhikey-9e18cca0b575ad8ca3e6a158cab4795b345c0960.tar.gz
hikey: Compile gralloc only for hikey
Test: Manual Bug: 37957838 Change-Id: I1f639b31eb9c95f0845b0571b5535f5d44aabff7 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'gralloc')
-rw-r--r--gralloc/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/gralloc/Android.mk b/gralloc/Android.mk
index 82c6f8f5..d843436c 100644
--- a/gralloc/Android.mk
+++ b/gralloc/Android.mk
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
+ifeq ($(TARGET_PRODUCT),hikey)
LOCAL_PATH := $(call my-dir)
# HAL module implemenation, not prelinked and stored in
@@ -34,3 +34,4 @@ LOCAL_MODULE := gralloc.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_RELATIVE_PATH := hw
include $(BUILD_SHARED_LIBRARY)
+endif