Bromite: Build full Browser
* v101.0.4951.69 prebuilts gzipped to avoid using LFS
Change-Id: I7130cb7671e0713393a7cb5cd57779f1620cf92a
diff --git a/Android.mk b/Android.mk
index e44f930..a0b5d67 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,3 +24,17 @@
LOCAL_OVERRIDES_PACKAGES := webview
LOCAL_SRC_FILES := prebuilt/$(TARGET_ARCH)_SystemWebView.apk
include $(BUILD_PREBUILT)
+
+$(PRODUCT_OUT)/obj/BROMITE/$(TARGET_ARCH)_ChromePublic.apk: $(MINIGZIP)
+ @rm -rf $(dir $@)
+ @mkdir -p $(dir $@)
+ @$(MINIGZIP) -c -d packages/apps/Bromite/prebuilt/$(TARGET_ARCH)_ChromePublic.apk.gz > $@
+
+include $(CLEAR_VARS)
+LOCAL_CERTIFICATE := PRESIGNED
+LOCAL_MODULE := Bromite
+LOCAL_MODULE_CLASS := APPS
+LOCAL_SYSTEM_EXT_MODULE := true
+LOCAL_OVERRIDES_PACKAGES := Browser2
+LOCAL_SRC_FILES := ../../../$(PRODUCT_OUT)/obj/BROMITE/$(TARGET_ARCH)_ChromePublic.apk
+include $(BUILD_PREBUILT)
diff --git a/CleanSpec.mk b/CleanSpec.mk
new file mode 100644
index 0000000..b741e17
--- /dev/null
+++ b/CleanSpec.mk
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2022 The LeafOS 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.
+#
+
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/BROMITE)
diff --git a/prebuilt/arm64_ChromePublic.apk.gz b/prebuilt/arm64_ChromePublic.apk.gz
new file mode 100644
index 0000000..735263c
--- /dev/null
+++ b/prebuilt/arm64_ChromePublic.apk.gz
Binary files differ
diff --git a/prebuilt/arm_ChromePublic.apk.gz b/prebuilt/arm_ChromePublic.apk.gz
new file mode 100644
index 0000000..f7b61fc
--- /dev/null
+++ b/prebuilt/arm_ChromePublic.apk.gz
Binary files differ
diff --git a/prebuilt/x86_64_ChromePublic.apk.gz b/prebuilt/x86_64_ChromePublic.apk.gz
new file mode 100644
index 0000000..5c318a8
--- /dev/null
+++ b/prebuilt/x86_64_ChromePublic.apk.gz
Binary files differ
diff --git a/prebuilt/x86_ChromePublic.apk.gz b/prebuilt/x86_ChromePublic.apk.gz
new file mode 100644
index 0000000..41d1686
--- /dev/null
+++ b/prebuilt/x86_ChromePublic.apk.gz
Binary files differ