summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiachen Zhao <zhaojiac@google.com>2018-03-31 17:48:35 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-03-31 17:48:35 +0200
commit4e12cd95bee2b02624cdb6db0473c71b5036db6b (patch)
tree16f48b6b51aedaea5ffacfecde845368a0ab2362
parentMerge "Remove the obsolete mkfont.c and font_10x18.h" am: 8b9faa0008 (diff)
parentMerge "Create folder for SystemUpdate sample app." (diff)
downloadandroid_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.tar
android_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.tar.gz
android_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.tar.bz2
android_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.tar.lz
android_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.tar.xz
android_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.tar.zst
android_bootable_recovery-4e12cd95bee2b02624cdb6db0473c71b5036db6b.zip
-rw-r--r--Android.mk1
-rw-r--r--sample_updater/Android.mk25
-rw-r--r--sample_updater/AndroidManifest.xml21
-rw-r--r--sample_updater/README.md1
4 files changed, 48 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7359c9fbd..bc7966aea 100644
--- a/Android.mk
+++ b/Android.mk
@@ -288,6 +288,7 @@ include $(BUILD_STATIC_LIBRARY)
include \
$(LOCAL_PATH)/boot_control/Android.mk \
$(LOCAL_PATH)/minui/Android.mk \
+ $(LOCAL_PATH)/sample_updater/Android.mk \
$(LOCAL_PATH)/tests/Android.mk \
$(LOCAL_PATH)/tools/Android.mk \
$(LOCAL_PATH)/updater/Android.mk \
diff --git a/sample_updater/Android.mk b/sample_updater/Android.mk
new file mode 100644
index 000000000..d6764bd01
--- /dev/null
+++ b/sample_updater/Android.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2018 The Android Open Source 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.
+#
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_PACKAGE_NAME := SystemUpdateApp
+LOCAL_SDK_VERSION := system_current
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_PACKAGE)
diff --git a/sample_updater/AndroidManifest.xml b/sample_updater/AndroidManifest.xml
new file mode 100644
index 000000000..ccee107bb
--- /dev/null
+++ b/sample_updater/AndroidManifest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2018 The Android Open Source 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.
+ -->
+
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ package="com.android.update">
+</manifest>
diff --git a/sample_updater/README.md b/sample_updater/README.md
new file mode 100644
index 000000000..a06c52d4b
--- /dev/null
+++ b/sample_updater/README.md
@@ -0,0 +1 @@
+# System update sample app.