| 1 |
package { |
| 2 |
// See: http://go/android-license-faq |
| 3 |
// A large-scale-change added 'default_applicable_licenses' to import |
| 4 |
// all of the 'license_kinds' from "frameworks_base_license" |
| 5 |
// to get the below license kinds: |
| 6 |
// SPDX-license-identifier-Apache-2.0 |
| 7 |
default_applicable_licenses: ["frameworks_base_license"], |
| 8 |
} |
| 9 |
|
| 10 |
genrule { |
| 11 |
name: "uiautomator-last-released-api", |
| 12 |
srcs: ["api/*.txt"], |
| 13 |
cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt", |
| 14 |
out: [ |
| 15 |
"last-released-api.txt", |
| 16 |
], |
| 17 |
} |
| 18 |
|
| 19 |
filegroup { |
| 20 |
name: "uiautomator-current-api", |
| 21 |
srcs: ["api/current.txt"], |
| 22 |
} |
| 23 |
|
| 24 |
filegroup { |
| 25 |
name: "uiautomator-removed-api", |
| 26 |
srcs: ["api/removed.txt"], |
| 27 |
} |