librmnetctl: disable if QMAA flag is set

Disable compilation of librmnetctl and rmnetcli if the flag
TARGET_USES_QMAA is set.

Change-Id: I21f4e0d07b1bcc3117abd417c11c0adf0ee935df
This commit is contained in:
Subash Abhinov Kasiviswanathan
2019-08-30 17:00:06 -07:00
committed by Gerrit - the friendly Code Review server
parent a0c4bfb0cd
commit a226fc5ec0
2 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
TARGET_DISABLE_RMNT := false
ifeq ($(TARGET_USES_QMAA),true)
ifneq ($(TARGET_USES_QMAA_OVERRIDE_DATA),true)
TARGET_DISABLE_RMNT := true
endif
endif
ifneq ($(TARGET_DISABLE_RMNT),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -17,3 +25,4 @@ LOCAL_SHARED_LIBRARIES := librmnetctl
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/bin
include $(BUILD_EXECUTABLE)
endif

View File

@@ -1,3 +1,11 @@
TARGET_DISABLE_RMNT := false
ifeq ($(TARGET_USES_QMAA),true)
ifneq ($(TARGET_USES_QMAA_OVERRIDE_DATA),true)
TARGET_DISABLE_RMNT := true
endif
endif
ifneq ($(TARGET_DISABLE_RMNT),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -21,3 +29,4 @@ LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64
include $(BUILD_SHARED_LIBRARY)
endif