Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59bcb4c6d5 | ||
|
|
2f2c2296f5 | ||
|
|
177d1f1ce1 | ||
|
|
d6035b9d9f | ||
|
|
ea10299451 | ||
|
|
8dab22a84a | ||
|
|
4fe3f73006 | ||
|
|
be8e53eb32 | ||
|
|
4557509f55 | ||
|
|
ccacac122a | ||
|
|
0dfbc1825a | ||
|
|
1d1a30c107 | ||
|
|
bc019515f6 | ||
|
|
94437f53f2 |
65
arm/Android.bp
Normal file
65
arm/Android.bp
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (C) 2019-2022 The LineageOS Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
* This file is generated by device/gapps/arm/setup-makefiles.sh
|
||||||
|
*/
|
||||||
|
|
||||||
|
soong_namespace {
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "PrebuiltGmsCore",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "MarkupGoogle",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/app/MarkupGoogle/MarkupGoogle.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "SetupWizardPrebuilt",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
|
||||||
|
overrides: ["Provision"],
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "Velvet",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/Velvet/Velvet.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,47 +12,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/arm/setup-makefiles.sh
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifneq ($(filter arm,$(TARGET_ARCH)),)
|
ifeq ($(TARGET_ARCH),arm)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := PrebuiltGmsCore
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := MarkupGoogle
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/app/MarkupGoogle/MarkupGoogle.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := Velvet
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/Velvet/Velvet.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,5 +12,5 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/arm/setup-makefiles.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,19 +12,23 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/arm/setup-makefiles.sh
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/gapps/arm
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/gapps/arm/proprietary/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so
|
vendor/gapps/arm/proprietary/lib/libjni_latinimegoogle.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libjni_latinimegoogle.so
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
PrebuiltGmsCore
|
PrebuiltGmsCore
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
ifeq ($(TARGET_IS_GROUPER),)
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/gapps/arm/proprietary/app/MarkupGoogle/lib/arm/libsketchology_native.so:system/app/MarkupGoogle/lib/arm/libsketchology_native.so
|
vendor/gapps/arm/proprietary/app/MarkupGoogle/lib/arm/libsketchology_native.so:$(TARGET_COPY_OUT_SYSTEM)/app/MarkupGoogle/lib/arm/libsketchology_native.so
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
MarkupGoogle \
|
MarkupGoogle \
|
||||||
|
SetupWizardPrebuilt \
|
||||||
Velvet
|
Velvet
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
65
arm64/Android.bp
Normal file
65
arm64/Android.bp
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (C) 2019-2022 The LineageOS Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
* This file is generated by device/gapps/arm64/setup-makefiles.sh
|
||||||
|
*/
|
||||||
|
|
||||||
|
soong_namespace {
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "PrebuiltGmsCore",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "MarkupGoogle",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/app/MarkupGoogle/MarkupGoogle.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "SetupWizardPrebuilt",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
|
||||||
|
overrides: ["Provision"],
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "Velvet",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/Velvet/Velvet.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,47 +12,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/arm64/setup-makefiles.sh
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifneq ($(filter arm64,$(TARGET_ARCH)),)
|
ifeq ($(TARGET_ARCH),arm64)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := PrebuiltGmsCore
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := MarkupGoogle
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/app/MarkupGoogle/MarkupGoogle.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := Velvet
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/Velvet/Velvet.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,5 +12,5 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/arm64/setup-makefiles.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,20 +12,24 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/arm64/setup-makefiles.sh
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/gapps/arm64
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/gapps/arm64/proprietary/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so \
|
vendor/gapps/arm64/proprietary/lib/libjni_latinimegoogle.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libjni_latinimegoogle.so \
|
||||||
vendor/gapps/arm64/proprietary/lib64/libjni_latinimegoogle.so:system/lib64/libjni_latinimegoogle.so
|
vendor/gapps/arm64/proprietary/lib64/libjni_latinimegoogle.so:$(TARGET_COPY_OUT_SYSTEM)/lib64/libjni_latinimegoogle.so
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
PrebuiltGmsCore
|
PrebuiltGmsCore
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
ifeq ($(TARGET_IS_GROUPER),)
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/gapps/arm64/proprietary/app/MarkupGoogle/lib/arm64/libsketchology_native.so:system/app/MarkupGoogle/lib/arm64/libsketchology_native.so
|
vendor/gapps/arm64/proprietary/app/MarkupGoogle/lib/arm64/libsketchology_native.so:$(TARGET_COPY_OUT_SYSTEM)/app/MarkupGoogle/lib/arm64/libsketchology_native.so
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
MarkupGoogle \
|
MarkupGoogle \
|
||||||
|
SetupWizardPrebuilt \
|
||||||
Velvet
|
Velvet
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -8,8 +8,11 @@
|
|||||||
#
|
#
|
||||||
DATE=$(date -u +%Y%m%d_%H%M%S)
|
DATE=$(date -u +%Y%m%d_%H%M%S)
|
||||||
TOP=$(realpath .)
|
TOP=$(realpath .)
|
||||||
ANDROIDV=9.0.0
|
ANDROIDV=10.0.0
|
||||||
|
SDKV=29
|
||||||
GARCH=$1
|
GARCH=$1
|
||||||
|
CPUARCH=$GARCH
|
||||||
|
[ ! -z "$2" ] && CPUARCH=$2
|
||||||
OUT=$TOP/out
|
OUT=$TOP/out
|
||||||
BUILD=$TOP/build
|
BUILD=$TOP/build
|
||||||
METAINF=$BUILD/meta
|
METAINF=$BUILD/meta
|
||||||
@@ -45,12 +48,17 @@ function create() {
|
|||||||
echo "Build directories are now ready" >> $GLOG
|
echo "Build directories are now ready" >> $GLOG
|
||||||
echo "Getting prebuilts..."
|
echo "Getting prebuilts..."
|
||||||
echo "Copying stuff" >> $GLOG
|
echo "Copying stuff" >> $GLOG
|
||||||
|
cp $TOP/toybox-$GARCH $OUT/$GARCH/toybox >> $GLOG
|
||||||
cp -r $PREBUILT/* $OUT/$GARCH/system >> $GLOG
|
cp -r $PREBUILT/* $OUT/$GARCH/system >> $GLOG
|
||||||
cp -r $COMMON/* $OUT/$GARCH/system >> $GLOG
|
cp -r $COMMON/* $OUT/$GARCH/system >> $GLOG
|
||||||
echo "Generating addon.d script" >> $GLOG
|
echo "Generating addon.d script" >> $GLOG
|
||||||
test -d $OUT/$GARCH/system/addon.d || mkdir -p $OUT/$GARCH/system/addon.d
|
test -d $OUT/$GARCH/system/addon.d || mkdir -p $OUT/$GARCH/system/addon.d
|
||||||
cp -f addond_head $OUT/$GARCH/system/addon.d
|
cp -f addond_head $OUT/$GARCH/system/addon.d
|
||||||
cp -f addond_tail $OUT/$GARCH/system/addon.d
|
cp -f addond_tail $OUT/$GARCH/system/addon.d
|
||||||
|
echo "Writing build props..."
|
||||||
|
echo "arch=$CPUARCH" > $OUT/$GARCH/build.prop
|
||||||
|
echo "version=$SDKV" >> $OUT/$GARCH/build.prop
|
||||||
|
echo "version_nice=$ANDROIDV" >> $OUT/$GARCH/build.prop
|
||||||
}
|
}
|
||||||
|
|
||||||
function zipit() {
|
function zipit() {
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ distclean:
|
|||||||
|
|
||||||
gapps_arm:
|
gapps_arm:
|
||||||
@echo "Compiling GApps for arm..."
|
@echo "Compiling GApps for arm..."
|
||||||
@bash $(BUILD_GAPPS) arm 2>&1
|
@bash $(BUILD_GAPPS) arm armv7l 2>&1
|
||||||
|
|
||||||
gapps_arm64:
|
gapps_arm64:
|
||||||
@echo "Compiling GApps for arm64..."
|
@echo "Compiling GApps for arm64..."
|
||||||
@bash $(BUILD_GAPPS) arm64 2>&1
|
@bash $(BUILD_GAPPS) arm64 aarch64 2>&1
|
||||||
|
|
||||||
gapps_x86:
|
gapps_x86:
|
||||||
@echo "Compiling GApps for x86..."
|
@echo "Compiling GApps for x86..."
|
||||||
|
|||||||
@@ -3,21 +3,17 @@
|
|||||||
OUTFD="/proc/self/fd/$2"
|
OUTFD="/proc/self/fd/$2"
|
||||||
ZIP=$3
|
ZIP=$3
|
||||||
|
|
||||||
exec_util() {
|
|
||||||
LD_LIBRARY_PATH=$LD_PATH $UTILS $1
|
|
||||||
}
|
|
||||||
|
|
||||||
set_con() {
|
set_con() {
|
||||||
exec_util "chcon -h u:object_r:"$1":s0 $2"
|
chcon -h u:object_r:"$1":s0 $2
|
||||||
exec_util "chcon u:object_r:"$1":s0 $2"
|
chcon u:object_r:"$1":s0 $2
|
||||||
}
|
}
|
||||||
|
|
||||||
set_perm() {
|
set_perm() {
|
||||||
exec_util "chmod $1 $2"
|
chmod $1 $2
|
||||||
}
|
}
|
||||||
|
|
||||||
set_owner() {
|
set_owner() {
|
||||||
exec_util "chown $1:$2 $3"
|
chown $1:$2 $3
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_print() {
|
ui_print() {
|
||||||
@@ -25,129 +21,238 @@ ui_print() {
|
|||||||
echo "ui_print" > "$OUTFD";
|
echo "ui_print" > "$OUTFD";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getprop2() {
|
||||||
|
grep -m 1 "^$2=" $1 | cut -d= -f2
|
||||||
|
}
|
||||||
|
|
||||||
|
nice_arch() {
|
||||||
|
case $1 in
|
||||||
|
aarch64*|armv8*)
|
||||||
|
echo "arm64"
|
||||||
|
;;
|
||||||
|
arm*)
|
||||||
|
echo "arm"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo $1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
ui_print "Cleaning up files"
|
||||||
|
rm -rf $TMP/system
|
||||||
|
rm -rf $TMP/bin
|
||||||
|
rm $TMP/toybox
|
||||||
|
|
||||||
|
ui_print "Unmounting partitions"
|
||||||
|
umount -l "$SYSTEM_MNT"
|
||||||
|
umount -l /product || true
|
||||||
|
}
|
||||||
|
|
||||||
|
error() {
|
||||||
|
ui_print "$1"
|
||||||
|
cleanup
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
error_no_space() {
|
||||||
|
error "Not enough space for GApps! Aborting"
|
||||||
|
}
|
||||||
|
|
||||||
|
error_mounting() {
|
||||||
|
error "Could not mount $1! Aborting"
|
||||||
|
}
|
||||||
|
|
||||||
|
get_block_for_mount_point() {
|
||||||
|
grep -v "^#" /etc/recovery.fstab | grep "[[:blank:]]$1[[:blank:]]" | tail -n1 | tr -s [:blank:] ' ' | cut -d' ' -f1
|
||||||
|
}
|
||||||
|
|
||||||
|
find_block() {
|
||||||
|
local name="$1"
|
||||||
|
local fstab_entry=$(get_block_for_mount_point "/$name")
|
||||||
|
# P-SAR hacks
|
||||||
|
[ -z "$fstab_entry" ] && [ "$name" = "system" ] && fstab_entry=$(get_block_for_mount_point "/")
|
||||||
|
[ -z "$fstab_entry" ] && [ "$name" = "system" ] && fstab_entry=$(get_block_for_mount_point "/system_root")
|
||||||
|
|
||||||
|
local dev
|
||||||
|
if [ "$DYNAMIC_PARTITIONS" = "true" ]; then
|
||||||
|
if [ -n "$fstab_entry" ]; then
|
||||||
|
dev="${BLK_PATH}/${fstab_entry}${SLOT_SUFFIX}"
|
||||||
|
else
|
||||||
|
dev="${BLK_PATH}/${name}${SLOT_SUFFIX}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if [ -n "$fstab_entry" ]; then
|
||||||
|
dev="${fstab_entry}${SLOT_SUFFIX}"
|
||||||
|
else
|
||||||
|
dev="${BLK_PATH}/${name}${SLOT_SUFFIX}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -b "$dev" ]; then
|
||||||
|
echo "$dev"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
compute_apps_size() {
|
||||||
|
NEEDED_STORAGE_SYSTEM=$(expr $(du -cs `find -maxdepth 1 -mindepth 1` | tail -n1 | cut -f1) + $STORAGE_BUFFER)
|
||||||
|
RECLAIMABLE_STORAGE_SYSTEM=$(find . -type f | sed "s|^./|$SYSTEM_OUT/|" | xargs ls -d 2>/dev/null | xargs du -cs PLACEHOLDER 2>/dev/null | tail -n1 | cut -f1)
|
||||||
|
NEEDED_STORAGE_SYSTEM=$(expr $NEEDED_STORAGE_SYSTEM - $RECLAIMABLE_STORAGE_SYSTEM)
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_big_optional_apps() {
|
||||||
|
ui_print "Low resource device detected, removing large extras"
|
||||||
|
rm -rf app/MarkupGoogle
|
||||||
|
rm -rf priv-app/AndroidMigratePrebuilt
|
||||||
|
rm -rf priv-app/SetupWizardPrebuilt
|
||||||
|
rm -rf priv-app/Velvet
|
||||||
|
}
|
||||||
|
|
||||||
ui_print "**********************"
|
ui_print "**********************"
|
||||||
ui_print "MindTheGapps installer"
|
ui_print "MindTheGapps installer"
|
||||||
ui_print "**********************"
|
ui_print "**********************"
|
||||||
|
|
||||||
SYSTEMASROOT=`getprop ro.build.system_root_image`
|
ui_print "Extracting files"
|
||||||
|
TMP=/tmp
|
||||||
|
cd "$TMP"
|
||||||
|
unzip -o "$ZIP"
|
||||||
|
rm -rf META-INF
|
||||||
|
|
||||||
ui_print "Mounting system partition"
|
# Check for arch. We need to do this before extracting our toybox, since that might be
|
||||||
|
# compiled for a different architecture. Just hope that all environments have at least
|
||||||
|
# a proper `grep` and `uname`.
|
||||||
|
GAPPS_ARCH=$(getprop2 $TMP/build.prop arch)
|
||||||
|
CPU_ARCH=$(uname -m)
|
||||||
|
if [ $GAPPS_ARCH != $CPU_ARCH ]; then
|
||||||
|
error "This package is built for $(nice_arch $GAPPS_ARCH) but your device is $(nice_arch $CPU_ARCH)! Aborting"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ui_print "Setting up environment"
|
||||||
|
TOYBOX="${TMP}/toybox"
|
||||||
|
chmod +x "$TOYBOX"
|
||||||
|
|
||||||
|
TOYS_PATH="${TMP}/bin"
|
||||||
|
rm -rf "$TOYS_PATH";
|
||||||
|
$TOYBOX install -d "$TOYS_PATH"
|
||||||
|
for toy in $($TOYBOX); do
|
||||||
|
$TOYBOX ln -sf "$TOYBOX" "${TOYS_PATH}/${toy}"
|
||||||
|
done
|
||||||
|
PATH="${TOYS_PATH}:${PATH}"
|
||||||
|
|
||||||
|
ui_print "Mounting partitions"
|
||||||
|
|
||||||
# Ensure system is unmounted so mounting succeeds
|
# Ensure system is unmounted so mounting succeeds
|
||||||
umount /system || true
|
umount /system || umount /mnt/system || true
|
||||||
|
umount /product || true
|
||||||
|
|
||||||
if [ "$SYSTEMASROOT" == "true" ]; then
|
# Find partitions
|
||||||
CURRENTSLOT=`getprop ro.boot.slot_suffix`
|
DYNAMIC_PARTITIONS=`getprop ro.boot.dynamic_partitions`
|
||||||
if [ ! -z "$CURRENTSLOT" ]; then
|
if [ "$DYNAMIC_PARTITIONS" = "true" ]; then
|
||||||
if [ "$CURRENTSLOT" == "_a" ]; then
|
BLK_PATH="/dev/block/mapper"
|
||||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system_a
|
|
||||||
else
|
|
||||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system_b
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
TARGETSYSTEM=/dev/block/bootdevice/by-name/system
|
|
||||||
fi
|
|
||||||
mkdir -p /system_root
|
|
||||||
if mount -o rw $TARGETSYSTEM /system_root && mount -o bind /system_root/system /system; then
|
|
||||||
ui_print "/system mounted"
|
|
||||||
else
|
|
||||||
ui_print "Could not mount /system! Aborting"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
if mount /system; then
|
BLK_PATH=/dev/block/bootdevice/by-name
|
||||||
ui_print "/system mounted"
|
fi
|
||||||
|
|
||||||
|
CURRENTSLOT=`getprop ro.boot.slot_suffix`
|
||||||
|
if [ ! -z "$CURRENTSLOT" ]; then
|
||||||
|
if [ "$CURRENTSLOT" == "_a" ]; then
|
||||||
|
SLOT_SUFFIX="_a"
|
||||||
else
|
else
|
||||||
ui_print "Could not mount /system! Aborting"
|
SLOT_SUFFIX="_b"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /system/bin/toybox ]; then
|
SYSTEM_BLOCK=$(find_block "system")
|
||||||
UTILS=/system/bin/toybox
|
PRODUCT_BLOCK=$(find_block "product")
|
||||||
LD_PATH=/system/lib
|
|
||||||
|
# Disable rw protection on dynamic partitions
|
||||||
|
if [ "$DYNAMIC_PARTITIONS" = "true" ]; then
|
||||||
|
blockdev --setrw "$SYSTEM_BLOCK"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Mount and define SYSTEM_OUT
|
||||||
|
SYSTEM_MNT=/mnt/system
|
||||||
|
mkdir -p "$SYSTEM_MNT" || true
|
||||||
|
if mount -o rw "$SYSTEM_BLOCK" "$SYSTEM_MNT"; then
|
||||||
|
ui_print "$SYSTEM_MNT mounted"
|
||||||
else
|
else
|
||||||
ui_print "Could not find /system/bin/toybox! Aborting"
|
error_mounting "$SYSTEM_MNT"
|
||||||
exit 1
|
fi
|
||||||
|
SYSTEM_OUT="${SYSTEM_MNT}/system"
|
||||||
|
|
||||||
|
# Compare sdk version
|
||||||
|
GAPPS_VERSION=$(getprop2 $TMP/build.prop version)
|
||||||
|
ANDROID_VERSION=$(getprop2 $SYSTEM_OUT/build.prop ro.build.version.sdk)
|
||||||
|
if [ "$GAPPS_VERSION" != "$ANDROID_VERSION" ]; then
|
||||||
|
gapps_version_nice=$(getprop2 $TMP/build.prop version_nice)
|
||||||
|
android_version_nice=$(getprop2 $SYSTEM_OUT/build.prop ro.build.version.release)
|
||||||
|
error "This package is for Android $gapps_version_nice (SDK $GAPPS_VERSION) but your system is Android $android_version_nice (SDK $ANDROID_VERSION)! Aborting"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DIRS="addon.d app priv-app framework etc lib"
|
# Ignore product block device in case it's a symlink
|
||||||
|
# This is common on devices where maintainers have chosen not to use
|
||||||
if [ -d /system/lib64 ]; then
|
# real partitions because of their size being too small to be useful
|
||||||
DIRS="$DIRS lib64"
|
if [ -L "${SYSTEM_MNT}/product" ]; then
|
||||||
LD_PATH=/system/lib64
|
PRODUCT_BLOCK=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LOWMEM=1572864
|
if [ -n "$PRODUCT_BLOCK" ]; then
|
||||||
MEM=`grep MemTotal /proc/meminfo | awk '{ print $2 }'`
|
mkdir /product || true
|
||||||
STORAGE=`exec_util "df /system" | grep -v Filesystem | awk '{ print $4 }'`
|
if mount -o rw "$PRODUCT_BLOCK" /product; then
|
||||||
|
ui_print "/product mounted"
|
||||||
|
else
|
||||||
|
error_mounting "/product"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Compute storage requirements
|
||||||
|
SYSTEM_STORAGE=`df $SYSTEM_MNT | tail -1 | tr -s ' ' | cut -d ' ' -f4`
|
||||||
STORAGE_BUFFER=10240
|
STORAGE_BUFFER=10240
|
||||||
|
|
||||||
ui_print "Extracting files"
|
|
||||||
cd /tmp
|
|
||||||
unzip -o "$ZIP"
|
|
||||||
exec_util "rm -rf META-INF"
|
|
||||||
cd system
|
cd system
|
||||||
|
compute_apps_size
|
||||||
|
|
||||||
NEEDED_STORAGE=`expr $(exec_util "du -s ." | awk '{ print $1 }') + $STORAGE_BUFFER`
|
if [ "$SYSTEM_STORAGE" -lt "$NEEDED_STORAGE_SYSTEM" ]; then
|
||||||
|
remove_big_optional_apps
|
||||||
if [ "$MEM" -lt "$LOWMEM" ] || [ "$STORAGE" -lt "$NEEDED_STORAGE" ]; then
|
compute_apps_size
|
||||||
ui_print "Low resource device detected, removing large extras"
|
if [ "$SYSTEM_STORAGE" -lt "$NEEDED_STORAGE_SYSTEM" ]; then
|
||||||
exec_util "rm -rf app/MarkupGoogle"
|
error_no_space
|
||||||
exec_util "rm -rf priv-app/AndroidMigratePrebuilt"
|
|
||||||
exec_util "rm -rf priv-app/SetupWizard"
|
|
||||||
exec_util "rm -rf priv-app/Velvet"
|
|
||||||
NEEDED_STORAGE=`expr $(exec_util "du -s ." | awk '{ print $1 }') + $STORAGE_BUFFER`
|
|
||||||
if [ "$STORAGE" -lt "$NEEDED_STORAGE" ]; then
|
|
||||||
ui_print "Not enough space for GApps! Aborting"
|
|
||||||
cd ..
|
|
||||||
exec_util "rm -rf system"
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ui_print "Generating addon.d file"
|
ui_print "Generating addon.d file"
|
||||||
cat addon.d/addond_head > addon.d/30-gapps.sh
|
cat addon.d/addond_head > addon.d/30-gapps.sh
|
||||||
for f in `exec_util "find . -type f"`; do
|
for f in `find . ! -path "./addon.d/*" -type f`; do
|
||||||
line=$(echo "$f" | sed 's/\.\///')
|
line=$(echo "$f" | sed 's/\.\///')
|
||||||
echo "$line" >> addon.d/30-gapps.sh
|
echo "$line" >> addon.d/30-gapps.sh
|
||||||
done
|
done
|
||||||
cat addon.d/addond_tail >> addon.d/30-gapps.sh
|
cat addon.d/addond_tail >> addon.d/30-gapps.sh
|
||||||
rm addon.d/addond_head addon.d/addond_tail
|
rm addon.d/addond_head addon.d/addond_tail
|
||||||
|
|
||||||
ui_print "Preparing files for copying"
|
ui_print "Preparing files for copying"
|
||||||
for dirs in $DIRS; do
|
for d in `find . -mindepth 1 -type d -type d`; do
|
||||||
set_perm 0755 $dir
|
set_perm 0755 $d
|
||||||
for d in `exec_util "find ./$dir -type d"`; do
|
set_owner root root $d
|
||||||
set_perm 0755 $d
|
done
|
||||||
set_owner root root $d
|
for f in `find . -type f`; do
|
||||||
done
|
type=$(echo "$f" | sed 's/.*\.//')
|
||||||
for f in `exec_util "find ./$dir -type f"`; do
|
if [ "$type" == "sh" ] || [ "$type" == "$f" ]; then
|
||||||
type=$(echo "$f" | sed 's/.*\.//')
|
set_perm 0755 $f
|
||||||
if [ "$type" == "sh" ] || [ "$type" == "$f" ]; then
|
else
|
||||||
set_perm 0755 $f
|
set_perm 0644 $f
|
||||||
else
|
fi
|
||||||
set_perm 0644 $f
|
set_owner root root $f
|
||||||
fi
|
set_con system_file $f
|
||||||
set_owner root root $f
|
|
||||||
set_con system_file $f
|
|
||||||
done
|
|
||||||
done
|
done
|
||||||
|
|
||||||
ui_print "Copying files"
|
ui_print "Copying files"
|
||||||
exec_util "cp --preserve=a -r ./* /system/"
|
cp --preserve=a -r ./* "${SYSTEM_OUT}/"
|
||||||
if [ -e priv-app/SetupWizard ] ; then
|
if [ -e priv-app/SetupWizardPrebuilt ] ; then
|
||||||
exec_util "rm -rf /system/priv-app/Provision"
|
rm -rf "${SYSTEM_OUT}/product/priv-app/Provision"
|
||||||
fi
|
fi
|
||||||
ui_print "Cleaning up files"
|
|
||||||
cd ../
|
|
||||||
exec_util "rm -rf system"
|
|
||||||
|
|
||||||
ui_print "Unmounting system partition"
|
cleanup
|
||||||
if umount -l /system; then
|
|
||||||
if [ "$SYSTEMASROOT" == "true" ]; then
|
|
||||||
umount -l /system_root
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
ui_print "Done!"
|
ui_print "Done!"
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
118
common/Android.bp
Normal file
118
common/Android.bp
Normal file
@@ -0,0 +1,118 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (C) 2019-2022 The LineageOS Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
* This file is generated by device/gapps/common/setup-makefiles.sh
|
||||||
|
*/
|
||||||
|
|
||||||
|
soong_namespace {
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "GoogleCalendarSyncAdapter",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "GoogleContactsSyncAdapter",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "PrebuiltExchange3Google",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "GoogleFeedback",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "GooglePartnerSetup",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "GoogleServicesFramework",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "Phonesky",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/Phonesky/Phonesky.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
dex_import {
|
||||||
|
name: "com.google.android.dialer.support",
|
||||||
|
owner: "gapps",
|
||||||
|
jars: ["proprietary/framework/com.google.android.dialer.support.jar"],
|
||||||
|
}
|
||||||
|
|
||||||
|
dex_import {
|
||||||
|
name: "com.google.android.maps",
|
||||||
|
owner: "gapps",
|
||||||
|
jars: ["proprietary/framework/com.google.android.maps.jar"],
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "AndroidMigratePrebuilt",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,138 +12,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/common/setup-makefiles.sh
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifneq ($(filter arm arm64 x86,$(TARGET_ARCH)),)
|
ifneq ($(filter arm arm64 x86,$(TARGET_ARCH)),)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := GoogleCalendarSyncAdapter
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := GoogleContactsSyncAdapter
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := PrebuiltExchange3Google
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := GoogleFeedback
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := GooglePartnerSetup
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := GoogleServicesFramework
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := Phonesky
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/Phonesky/Phonesky.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := com.google.android.dialer.support
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/framework/com.google.android.dialer.support.jar
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
|
||||||
LOCAL_MODULE_SUFFIX := .jar
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := com.google.android.maps
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/framework/com.google.android.maps.jar
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
|
||||||
LOCAL_MODULE_SUFFIX := .jar
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := AndroidMigratePrebuilt
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := SetupWizardPrebuilt
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk
|
|
||||||
LOCAL_OVERRIDES_PACKAGES := Provision
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,5 +12,5 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/common/setup-makefiles.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,17 +12,20 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/common/setup-makefiles.sh
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/gapps/common
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/gapps/common/proprietary/etc/permissions/com.google.android.dialer.support.xml:system/etc/permissions/com.google.android.dialer.support.xml \
|
vendor/gapps/common/proprietary/etc/permissions/com.google.android.dialer.support.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.google.android.dialer.support.xml \
|
||||||
vendor/gapps/common/proprietary/etc/permissions/com.google.android.maps.xml:system/etc/permissions/com.google.android.maps.xml \
|
vendor/gapps/common/proprietary/etc/permissions/com.google.android.maps.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.google.android.maps.xml \
|
||||||
vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google-p.xml:system/etc/permissions/privapp-permissions-google-p.xml \
|
vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google-p.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google-p.xml \
|
||||||
vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google-ps.xml:system/etc/permissions/privapp-permissions-google-ps.xml \
|
vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google-ps.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google-ps.xml \
|
||||||
vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google.xml:system/etc/permissions/privapp-permissions-google.xml \
|
vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-google.xml \
|
||||||
vendor/gapps/common/proprietary/etc/sysconfig/google-hiddenapi-package-whitelist.xml:system/etc/sysconfig/google-hiddenapi-package-whitelist.xml \
|
vendor/gapps/common/proprietary/etc/sysconfig/google-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google-hiddenapi-package-whitelist.xml \
|
||||||
vendor/gapps/common/proprietary/etc/sysconfig/google.xml:system/etc/sysconfig/google.xml \
|
vendor/gapps/common/proprietary/etc/sysconfig/google.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google.xml \
|
||||||
vendor/gapps/common/proprietary/etc/sysconfig/google_build.xml:system/etc/sysconfig/google_build.xml
|
vendor/gapps/common/proprietary/etc/sysconfig/google_build.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/google_build.xml
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
GoogleCalendarSyncAdapter \
|
GoogleCalendarSyncAdapter \
|
||||||
@@ -37,6 +40,5 @@ PRODUCT_PACKAGES += \
|
|||||||
ifeq ($(TARGET_IS_GROUPER),)
|
ifeq ($(TARGET_IS_GROUPER),)
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
AndroidMigratePrebuilt \
|
AndroidMigratePrebuilt
|
||||||
SetupWizardPrebuilt
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
Binary file not shown.
@@ -1,3 +1,4 @@
|
|||||||
-app/MarkupGoogle/MarkupGoogle.apk;PRESIGNED|012bf4c0622d9d0aa4361a62e7ce07a1eb056b8f
|
-app/MarkupGoogle/MarkupGoogle.apk;PRESIGNED|012bf4c0622d9d0aa4361a62e7ce07a1eb056b8f
|
||||||
|
-priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED|3656ccfa12fd73e6f130e947e4fd1699c9e5be12
|
||||||
-priv-app/Velvet/Velvet.apk;PRESIGNED|1bd57d7a32d77ec007ca7ad8032cca8d9038c555
|
-priv-app/Velvet/Velvet.apk;PRESIGNED|1bd57d7a32d77ec007ca7ad8032cca8d9038c555
|
||||||
app/MarkupGoogle/lib/arm/libsketchology_native.so|479720ba394500786e5b5a39deb09a93d5bce9db
|
app/MarkupGoogle/lib/arm/libsketchology_native.so|479720ba394500786e5b5a39deb09a93d5bce9db
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
-app/MarkupGoogle/MarkupGoogle.apk;PRESIGNED|012bf4c0622d9d0aa4361a62e7ce07a1eb056b8f
|
-app/MarkupGoogle/MarkupGoogle.apk;PRESIGNED|012bf4c0622d9d0aa4361a62e7ce07a1eb056b8f
|
||||||
|
-priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED|d7756e156c070b0acabe76c0df74229d5a25ab29
|
||||||
-priv-app/Velvet/Velvet.apk;PRESIGNED|314043242c4253b61d9d4fcf656489d3fa0265be
|
-priv-app/Velvet/Velvet.apk;PRESIGNED|314043242c4253b61d9d4fcf656489d3fa0265be
|
||||||
app/MarkupGoogle/lib/arm64/libsketchology_native.so|71898873b8d07af8f0589ac6faf64770300b2e21
|
app/MarkupGoogle/lib/arm64/libsketchology_native.so|71898873b8d07af8f0589ac6faf64770300b2e21
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
-priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk;PRESIGNED|eb965010832814a84afc32db11bf1c89586b78bc
|
-priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk;PRESIGNED|eb965010832814a84afc32db11bf1c89586b78bc
|
||||||
-priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED
|
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
|
-priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED|6032fa4174bf17062099c3dded3a2f22c9c51bf3
|
||||||
-priv-app/Velvet/Velvet.apk;PRESIGNED|cd13e9ea9d5b3337b8a22b9ea7939132458cbced
|
-priv-app/Velvet/Velvet.apk;PRESIGNED|cd13e9ea9d5b3337b8a22b9ea7939132458cbced
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ set -e
|
|||||||
|
|
||||||
export INITIAL_COPYRIGHT_YEAR=2017
|
export INITIAL_COPYRIGHT_YEAR=2017
|
||||||
|
|
||||||
export GAPPS_COMMON=common
|
export DEVICE_COMMON=common
|
||||||
export VENDOR=gapps
|
export VENDOR=gapps
|
||||||
|
|
||||||
# Load extract_utils and do some sanity checks
|
# Load extract_utils and do some sanity checks
|
||||||
@@ -37,7 +37,7 @@ fi
|
|||||||
. "$HELPER"
|
. "$HELPER"
|
||||||
|
|
||||||
# Initialize the helper for common gapps
|
# Initialize the helper for common gapps
|
||||||
setup_vendor "$GAPPS_COMMON" "$VENDOR" "$LINEAGE_ROOT" true
|
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" true
|
||||||
|
|
||||||
# Copyright headers
|
# Copyright headers
|
||||||
write_headers "arm arm64 x86"
|
write_headers "arm arm64 x86"
|
||||||
@@ -47,40 +47,36 @@ write_makefiles "$MY_DIR"/proprietary-files-common.txt
|
|||||||
|
|
||||||
# Gapps that are too large for grouper
|
# Gapps that are too large for grouper
|
||||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$PRODUCTMK"
|
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$PRODUCTMK"
|
||||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$ANDROIDMK"
|
|
||||||
write_makefiles "$MY_DIR"/proprietary-files-common-nongrouper.txt
|
write_makefiles "$MY_DIR"/proprietary-files-common-nongrouper.txt
|
||||||
echo "endif" >> "$PRODUCTMK"
|
echo "endif" >> "$PRODUCTMK"
|
||||||
echo "endif" >> "$ANDROIDMK"
|
|
||||||
|
|
||||||
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
|
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
|
||||||
|
|
||||||
# Make Google SuW override Provision
|
|
||||||
sed -i 's/\(SetupWizardPrebuilt.apk\)/\1\nLOCAL_OVERRIDES_PACKAGES := Provision/' "$ANDROIDMK"
|
|
||||||
|
|
||||||
# We are done with common
|
# We are done with common
|
||||||
write_footers
|
write_footers
|
||||||
|
|
||||||
for TARGET in arm arm64 x86; do
|
for DEVICE in arm arm64 x86; do
|
||||||
|
|
||||||
# Reinitialize the helper for target gapps
|
# Reinitialize the helper for target gapps
|
||||||
setup_vendor "$TARGET" "$VENDOR" "$LINEAGE_ROOT" true
|
setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT"
|
||||||
|
|
||||||
# Copyright headers and guards
|
# Copyright headers and guards
|
||||||
write_headers "$TARGET"
|
write_headers "$DEVICE"
|
||||||
|
|
||||||
write_makefiles "$MY_DIR"/proprietary-files-$TARGET.txt
|
write_makefiles "$MY_DIR"/proprietary-files-$DEVICE.txt
|
||||||
|
|
||||||
# Gapps that are too large for grouper
|
# Gapps that are too large for grouper
|
||||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$PRODUCTMK"
|
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$PRODUCTMK"
|
||||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$ANDROIDMK"
|
write_makefiles "$MY_DIR"/proprietary-files-$DEVICE-nongrouper.txt
|
||||||
write_makefiles "$MY_DIR"/proprietary-files-$TARGET-nongrouper.txt
|
|
||||||
echo "endif" >> "$PRODUCTMK"
|
echo "endif" >> "$PRODUCTMK"
|
||||||
echo "endif" >> "$ANDROIDMK"
|
|
||||||
|
|
||||||
printf '\n%s\n' "\$(call inherit-product, vendor/gapps/common/common-vendor.mk)" >> "$PRODUCTMK"
|
printf '\n%s\n' "\$(call inherit-product, vendor/gapps/common/common-vendor.mk)" >> "$PRODUCTMK"
|
||||||
|
|
||||||
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
|
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
|
||||||
|
|
||||||
|
# Make Google SuW override Provision
|
||||||
|
sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
|
||||||
|
|
||||||
# We are done with target
|
# We are done with target
|
||||||
write_footers
|
write_footers
|
||||||
|
|
||||||
|
|||||||
BIN
toybox-arm
Normal file
BIN
toybox-arm
Normal file
Binary file not shown.
BIN
toybox-arm64
Normal file
BIN
toybox-arm64
Normal file
Binary file not shown.
BIN
toybox-x86
Normal file
BIN
toybox-x86
Normal file
Binary file not shown.
55
x86/Android.bp
Normal file
55
x86/Android.bp
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (C) 2019-2022 The LineageOS Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
* This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||||
|
*/
|
||||||
|
|
||||||
|
soong_namespace {
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "PrebuiltGmsCore",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "SetupWizardPrebuilt",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
|
||||||
|
overrides: ["Provision"],
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
android_app_import {
|
||||||
|
name: "Velvet",
|
||||||
|
owner: "gapps",
|
||||||
|
apk: "proprietary/priv-app/Velvet/Velvet.apk",
|
||||||
|
presigned: true,
|
||||||
|
dex_preopt: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
privileged: true,
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,36 +12,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifneq ($(filter x86,$(TARGET_ARCH)),)
|
ifeq ($(TARGET_ARCH),x86)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := PrebuiltGmsCore
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := Velvet
|
|
||||||
LOCAL_MODULE_OWNER := gapps
|
|
||||||
LOCAL_SRC_FILES := proprietary/priv-app/Velvet/Velvet.apk
|
|
||||||
LOCAL_CERTIFICATE := PRESIGNED
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := APPS
|
|
||||||
LOCAL_DEX_PREOPT := false
|
|
||||||
LOCAL_MODULE_SUFFIX := .apk
|
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,5 +12,5 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2017-2019 The LineageOS Project
|
# Copyright (C) 2017-2022 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -12,16 +12,20 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This file is generated by device/gapps//setup-makefiles.sh
|
# This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/gapps/x86
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/gapps/x86/proprietary/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so
|
vendor/gapps/x86/proprietary/lib/libjni_latinimegoogle.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libjni_latinimegoogle.so
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
PrebuiltGmsCore
|
PrebuiltGmsCore
|
||||||
ifeq ($(TARGET_IS_GROUPER),)
|
ifeq ($(TARGET_IS_GROUPER),)
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
SetupWizardPrebuilt \
|
||||||
Velvet
|
Velvet
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user