summaryrefslogtreecommitdiffstats
path: root/updater_sample/Android.bp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-10 21:36:04 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-08-10 21:36:04 +0200
commitab3a4688b1a051b430e7f888770f0aca7ce9f7ca (patch)
tree4b40c8071bb1c8961953bd35936b0525369e9c59 /updater_sample/Android.bp
parentMerge "`recovery` uses more shared libraries." am: 3c5e2c1c7e (diff)
parentMerge "updater_sample: Move to Soong." (diff)
downloadandroid_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.tar
android_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.tar.gz
android_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.tar.bz2
android_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.tar.lz
android_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.tar.xz
android_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.tar.zst
android_bootable_recovery-ab3a4688b1a051b430e7f888770f0aca7ce9f7ca.zip
Diffstat (limited to 'updater_sample/Android.bp')
-rw-r--r--updater_sample/Android.bp35
1 files changed, 35 insertions, 0 deletions
diff --git a/updater_sample/Android.bp b/updater_sample/Android.bp
new file mode 100644
index 000000000..0d209bbd3
--- /dev/null
+++ b/updater_sample/Android.bp
@@ -0,0 +1,35 @@
+// 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.
+
+android_app {
+ name: "SystemUpdaterSample",
+ sdk_version: "system_current",
+ privileged: true,
+
+ srcs: ["src/**/*.java"],
+
+ static_libs: [
+ "guava",
+ ],
+
+ optimize: {
+ // TODO(b/112462307): proguard_flags_files is not picked up by Soong.
+ // proguard_flags_files: [
+ // "proguard.flags",
+ // ],
+ enabled: false,
+ },
+
+ resource_dirs: ["res"],
+}