OSDN Git Service

Fix the x86 build.
authorAndy McFadden <fadden@android.com>
Fri, 11 Jun 2010 17:57:38 +0000 (10:57 -0700)
committerAndy McFadden <fadden@android.com>
Fri, 11 Jun 2010 17:57:38 +0000 (10:57 -0700)
We're not currently building V8 for x86, and mock-ril was changed to
depend on it.  This updates the makefile to skip building mock-ril on
non-ARM builds (e.g. sim-eng).

Change-Id: I50e1b6859d4d221316c87c2fdd5cb4d29fa5afbf

mock-ril/Android.mk

index d2c2357..5c367b6 100644 (file)
@@ -1,5 +1,8 @@
 # Copyright 2010 The Android Open Source Project
 
+# not currently building V8 for x86 targets
+ifeq ($(TARGET_ARCH),arm)
+
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
@@ -35,3 +38,5 @@ LOCAL_CFLAGS += -DMOCK_RIL -DRIL_SHLIB
 LOCAL_MODULE:= libmock_ril
 
 include $(BUILD_SHARED_LIBRARY)
+
+endif