mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Don't build evdev_reader for the non-root variant
This commit is contained in:
parent
6264781539
commit
5c69f6716c
@ -23,11 +23,23 @@ android {
|
|||||||
// version to devices running O on the Play Store.
|
// version to devices running O on the Play Store.
|
||||||
maxSdkVersion 25
|
maxSdkVersion 25
|
||||||
|
|
||||||
|
externalNativeBuild {
|
||||||
|
ndkBuild {
|
||||||
|
arguments "PRODUCT_FLAVOR=root"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
applicationId "com.limelight.root"
|
applicationId "com.limelight.root"
|
||||||
dimension "root"
|
dimension "root"
|
||||||
}
|
}
|
||||||
|
|
||||||
nonRoot {
|
nonRoot {
|
||||||
|
externalNativeBuild {
|
||||||
|
ndkBuild {
|
||||||
|
arguments "PRODUCT_FLAVOR=nonRoot"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
applicationId "com.limelight"
|
applicationId "com.limelight"
|
||||||
dimension "root"
|
dimension "root"
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,8 @@ include $(call all-subdir-makefiles)
|
|||||||
|
|
||||||
LOCAL_PATH := $(MY_LOCAL_PATH)
|
LOCAL_PATH := $(MY_LOCAL_PATH)
|
||||||
|
|
||||||
|
# Only build evdev_reader for the rooted APK flavor
|
||||||
|
ifeq (root,$(PRODUCT_FLAVOR))
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := evdev_reader
|
LOCAL_MODULE := evdev_reader
|
||||||
LOCAL_SRC_FILES := evdev_reader.c
|
LOCAL_SRC_FILES := evdev_reader.c
|
||||||
@ -30,3 +32,5 @@ $(call handle-module-built)
|
|||||||
|
|
||||||
LOCAL_MODULE_CLASS := EXECUTABLE
|
LOCAL_MODULE_CLASS := EXECUTABLE
|
||||||
include $(BUILD_SYSTEM)/build-module.mk
|
include $(BUILD_SYSTEM)/build-module.mk
|
||||||
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user