Dan Willemsen | 0dec584 | 2018-05-04 23:17:00 -0700 | [diff] [blame] | 1 | // Copyright 2009 The Android Open Source Project |
| 2 | |
Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 3 | package { |
| 4 | default_applicable_licenses: ["frameworks_base_cmds_backup_license"], |
| 5 | } |
| 6 | |
| 7 | // Added automatically by a large-scale-change |
| 8 | // See: http://go/android-license-faq |
| 9 | license { |
| 10 | name: "frameworks_base_cmds_backup_license", |
| 11 | visibility: [":__subpackages__"], |
| 12 | license_kinds: [ |
| 13 | "SPDX-license-identifier-Apache-2.0", |
| 14 | ], |
| 15 | license_text: [ |
| 16 | "NOTICE", |
| 17 | ], |
| 18 | } |
| 19 | |
Dan Willemsen | 0dec584 | 2018-05-04 23:17:00 -0700 | [diff] [blame] | 20 | cc_binary { |
| 21 | name: "btool", |
| 22 | |
| 23 | srcs: ["backup.cpp"], |
| 24 | |
| 25 | shared_libs: [ |
| 26 | "libcutils", |
| 27 | "libutils", |
| 28 | "libandroidfw", |
| 29 | ], |
| 30 | |
| 31 | cflags: [ |
| 32 | "-Wall", |
| 33 | "-Werror", |
| 34 | "-Wunused", |
| 35 | "-Wunreachable-code", |
| 36 | ], |
| 37 | } |