Regen makefiles

This commit is contained in:
Alessandro Astone
2022-02-24 14:49:45 +01:00
parent ea10299451
commit d6035b9d9f
17 changed files with 318 additions and 259 deletions

53
arm/Android.bp Normal file
View File

@@ -0,0 +1,53 @@
/**
* 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//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: "Velvet",
owner: "gapps",
apk: "proprietary/priv-app/Velvet/Velvet.apk",
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
}

View File

@@ -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.
@@ -18,41 +18,4 @@ LOCAL_PATH := $(call my-dir)
ifneq ($(filter arm,$(TARGET_ARCH)),) ifneq ($(filter arm,$(TARGET_ARCH)),)
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

View File

@@ -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.

View File

@@ -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.
@@ -14,14 +14,17 @@
# This file is generated by device/gapps//setup-makefiles.sh # This file is generated by device/gapps//setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \
vendor/gapps/
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 \

53
arm64/Android.bp Normal file
View File

@@ -0,0 +1,53 @@
/**
* 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//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: "Velvet",
owner: "gapps",
apk: "proprietary/priv-app/Velvet/Velvet.apk",
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
}

View File

@@ -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.
@@ -18,41 +18,4 @@ LOCAL_PATH := $(call my-dir)
ifneq ($(filter arm64,$(TARGET_ARCH)),) ifneq ($(filter arm64,$(TARGET_ARCH)),)
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

View File

@@ -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.

View File

@@ -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.
@@ -14,15 +14,18 @@
# This file is generated by device/gapps//setup-makefiles.sh # This file is generated by device/gapps//setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \
vendor/gapps/
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 \

130
common/Android.bp Normal file
View File

@@ -0,0 +1,130 @@
/**
* 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//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,
}
android_app_import {
name: "SetupWizardPrebuilt",
owner: "gapps",
apk: "proprietary/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
overrides: ["Provision"],
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
}

View File

@@ -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.
@@ -18,132 +18,4 @@ 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

View File

@@ -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.

View File

@@ -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.
@@ -14,15 +14,18 @@
# This file is generated by device/gapps//setup-makefiles.sh # This file is generated by device/gapps//setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \
vendor/gapps/
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 \

View File

@@ -47,15 +47,13 @@ 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 # Make Google SuW override Provision
sed -i 's/\(SetupWizardPrebuilt.apk\)/\1\nLOCAL_OVERRIDES_PACKAGES := Provision/' "$ANDROIDMK" sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
# We are done with common # We are done with common
write_footers write_footers
@@ -72,10 +70,8 @@ write_makefiles "$MY_DIR"/proprietary-files-$TARGET.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-$TARGET-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"

43
x86/Android.bp Normal file
View File

@@ -0,0 +1,43 @@
/**
* 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//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: "Velvet",
owner: "gapps",
apk: "proprietary/priv-app/Velvet/Velvet.apk",
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
}

View File

@@ -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.
@@ -18,30 +18,4 @@ LOCAL_PATH := $(call my-dir)
ifneq ($(filter x86,$(TARGET_ARCH)),) ifneq ($(filter x86,$(TARGET_ARCH)),)
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

View File

@@ -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.

View File

@@ -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.
@@ -14,8 +14,11 @@
# This file is generated by device/gapps//setup-makefiles.sh # This file is generated by device/gapps//setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \
vendor/gapps/
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