Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13c3ded9 authored by codeworkx's avatar codeworkx Committed by Michael Bestas
Browse files

FMRadio: make libfmjni optional and change guard to BOARD_HAVE_QCOM_FM

Change-Id: Ica4883bc5addf5b10fb0ef68832fabbde8466608
parent a5405a8a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ifneq ($(BOARD_HAVE_QCOM_FM),true)
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
@@ -32,7 +33,7 @@ LOCAL_SHARED_LIBRARIES := \
    liblog

LOCAL_MODULE := libfmjni
LOCAL_MODULE_TAGS := optional

ifneq ($(BOARD_USES_QCOM_HARDWARE),true)
include $(BUILD_SHARED_LIBRARY)
endif
endif # BOARD_HAVE_QCOM_FM
 No newline at end of file