hikey: Compile gralloc only for hikey am: 9e18cca0b5 am: 97314f5587
am: 31102c2d82
Change-Id: If643413487ffd7216d75a969619262c20a761bad
diff --git a/gralloc/Android.mk b/gralloc/Android.mk
index 82c6f8f..d843436 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_RELATIVE_PATH := hw
include $(BUILD_SHARED_LIBRARY)
+endif