google_pixel: Re-introduce GoogleCamera

* Only build on Pixels
* Use the old marlin/sailfish GoogleCamera to maintain
  compatibility, newer Pixels will be prompted to update
  the app via the Play Store.
* Also, use Android.bp to avoid included static library
  checks.

Change-Id: I6845f1feeee7a432bc24ae03996c1622399e9f78
lineage-19.1
Nolen Johnson 3 years ago
parent b96b80b376
commit d80d320e67
  1. 11
      apps/Android.bp
  2. 13
      apps/Android.mk

@ -0,0 +1,11 @@
android_app_import {
name: "GoogleCamera",
owner: "google",
apk: "apks/GoogleCamera.apk",
overrides: ["Camera2", "Snap"],
presigned: true,
dex_preopt: {
enabled: false,
},
product_specific: true,
}

@ -26,19 +26,6 @@ LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := GoogleCamera
LOCAL_MODULE_OWNER := google
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := apks/$(LOCAL_MODULE).apk
LOCAL_OVERRIDES_PACKAGES := Camera Camera2 MotCamera Snap
LOCAL_PRODUCT_MODULE := true
LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := GoogleExtServices
LOCAL_MODULE_OWNER := google

Loading…
Cancel
Save