Skip to content

Commit

Permalink
modules: Load TrichromeLibrary module only on API >= 29.
Browse files Browse the repository at this point in the history
The APK for this module only exists on API level 29. Builds for Android
9 and below will fail due to the missing APK on a lower or matching API
level.
Besides, this module is never added to LOCAL_REQUIRED_MODULES on API
levels lower than 29 anyway.

Fixes: 191c464
Signed-off-by: MarijnS95 <[email protected]>
  • Loading branch information
MarijnS95 authored and acr92 committed Feb 8, 2020
1 parent 55ed81d commit 85625c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/TrichromeLibrary/Android.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
ifneq ($(filter 29,$(call get-allowed-api-levels)),)

LOCAL_PATH := .
include $(CLEAR_VARS)
include $(GAPPS_CLEAR_VARS)
LOCAL_MODULE := TrichromeLibraryGoogle
LOCAL_PACKAGE_NAME := com.google.android.trichromelibrary

include $(BUILD_GAPPS_PREBUILT_APK)

endif # API >= 29

0 comments on commit 85625c1

Please sign in to comment.