OSDN Git Service

Do not build multinetwork tools when targeting the PDK
authorErik Kline <ek@google.com>
Mon, 6 Jun 2016 21:57:12 +0000 (06:57 +0900)
committerErik Kline <ek@google.com>
Tue, 7 Jun 2016 01:57:11 +0000 (10:57 +0900)
Bug: 29071416
Change-Id: Ie39cad3151907aabbf523895d6cde37b82ff29a2

multinetwork/Android.mk

index d1a9289..28e56d4 100644 (file)
@@ -1,5 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 
+# The PDK build does not have access to frameworks/native elements.
+ifneq ($(TARGET_BUILD_PDK), true)
+
 # Sample util binaries.
 include $(CLEAR_VARS)
 LOCAL_MODULE := dnschk
@@ -22,3 +25,5 @@ LOCAL_MODULE_TAGS := debug
 LOCAL_SHARED_LIBRARIES := libandroid libbase libc++
 LOCAL_SRC_FILES := httpurl.cpp common.cpp
 include $(BUILD_EXECUTABLE)
+
+endif  # ifneq ($(TARGET_BUILD_PDK), true)