Colin Cross | a715894 | 2016-11-23 17:01:45 -0800 | [diff] [blame] | 1 | subdirs=["tools"] |
Nan Zhang | 5093521 | 2018-02-27 15:07:04 -0800 | [diff] [blame] | 2 | |
| 3 | filegroup { |
| 4 | name: "api-version-xml", |
| 5 | srcs: [ |
Anton Hansson | 2615bde | 2018-04-19 13:30:56 +0100 | [diff] [blame] | 6 | "*/public/api/android.txt", |
| 7 | "*/public/api/android.xml", |
Nan Zhang | 5093521 | 2018-02-27 15:07:04 -0800 | [diff] [blame] | 8 | ], |
| 9 | } |
| 10 | |
| 11 | filegroup { |
| 12 | name: "current-support-api", |
| 13 | srcs: [ |
| 14 | "current/support-api.txt", |
| 15 | ], |
| 16 | } |
Nan Zhang | 4d722a5 | 2018-05-04 18:47:37 -0700 | [diff] [blame] | 17 | |
Nan Zhang | 13177a2 | 2018-08-22 11:07:05 -0700 | [diff] [blame] | 18 | filegroup { |
Charles Munger | 88b9e15 | 2019-11-19 14:02:55 -0800 | [diff] [blame] | 19 | name: "current-androidx-api", |
| 20 | srcs: [ |
| 21 | "current/androidx-api.txt", |
| 22 | ], |
| 23 | } |
| 24 | |
| 25 | filegroup { |
Nan Zhang | 13177a2 | 2018-08-22 11:07:05 -0700 | [diff] [blame] | 26 | name: "metalava-sdk-android-jars", |
| 27 | srcs: [ |
| 28 | "**/android.jar", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | droiddoc_exported_dir { |
| 33 | name: "sdk-dir", |
| 34 | path: ".", |
| 35 | } |
| 36 | |
Nan Zhang | 4d722a5 | 2018-05-04 18:47:37 -0700 | [diff] [blame] | 37 | genrule { |
Adrian Roos | 6c5e17e | 2019-08-12 17:50:35 +0200 | [diff] [blame] | 38 | name: "public-api-incompatibilities-with-last-released", |
Nan Zhang | 028d8ec | 2018-06-04 16:03:12 -0700 | [diff] [blame] | 39 | srcs: [ |
Adrian Roos | 6c5e17e | 2019-08-12 17:50:35 +0200 | [diff] [blame] | 40 | "*/public/api/incompatibilities.txt", |
Nan Zhang | 028d8ec | 2018-06-04 16:03:12 -0700 | [diff] [blame] | 41 | ], |
Adrian Roos | 6c5e17e | 2019-08-12 17:50:35 +0200 | [diff] [blame] | 42 | cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt", |
Nan Zhang | 028d8ec | 2018-06-04 16:03:12 -0700 | [diff] [blame] | 43 | out: [ |
Adrian Roos | 6c5e17e | 2019-08-12 17:50:35 +0200 | [diff] [blame] | 44 | "incompatibilities.txt", |
| 45 | ], |
| 46 | } |
| 47 | |
| 48 | genrule { |
| 49 | name: "system-api-incompatibilities-with-last-released", |
| 50 | srcs: [ |
| 51 | "*/system/api/incompatibilities.txt", |
| 52 | ], |
| 53 | cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt", |
| 54 | out: [ |
| 55 | "incompatibilities.txt", |
Nan Zhang | 028d8ec | 2018-06-04 16:03:12 -0700 | [diff] [blame] | 56 | ], |
| 57 | } |
| 58 | |
Anton Hansson | 11c601e | 2020-02-13 15:57:44 +0000 | [diff] [blame] | 59 | genrule { |
| 60 | name: "module-lib-api-incompatibilities-with-last-released", |
| 61 | srcs: [ |
| 62 | "*/module-lib/api/incompatibilities.txt", |
| 63 | ], |
| 64 | cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt", |
| 65 | out: [ |
| 66 | "incompatibilities.txt", |
| 67 | ], |
| 68 | } |
| 69 | |
Anton Hansson | d7eb457 | 2020-02-19 15:06:39 +0000 | [diff] [blame] | 70 | genrule { |
| 71 | name: "system-server-api-incompatibilities-with-last-released", |
| 72 | srcs: [ |
| 73 | "*/system-server/api/incompatibilities.txt", |
| 74 | ], |
| 75 | cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -t/ -k3 -n | tail -1) $(genDir)/incompatibilities.txt", |
| 76 | out: [ |
| 77 | "incompatibilities.txt", |
| 78 | ], |
| 79 | } |
| 80 | |
Jiyong Park | d645547 | 2018-05-12 22:15:27 +0900 | [diff] [blame] | 81 | prebuilt_apis { |
Sundong Ahn | eacb58d | 2018-06-21 15:03:01 +0900 | [diff] [blame] | 82 | name: "sdk", |
| 83 | api_dirs: [ |
| 84 | "1", |
| 85 | "2", |
| 86 | "3", |
| 87 | "4", |
| 88 | "5", |
| 89 | "6", |
| 90 | "7", |
| 91 | "8", |
| 92 | "9", |
| 93 | "10", |
| 94 | "11", |
| 95 | "12", |
| 96 | "13", |
| 97 | "14", |
| 98 | "15", |
| 99 | "16", |
| 100 | "17", |
| 101 | "18", |
| 102 | "19", |
| 103 | "20", |
| 104 | "21", |
| 105 | "22", |
| 106 | "23", |
| 107 | "24", |
| 108 | "25", |
| 109 | "26", |
| 110 | "27", |
| 111 | "28", |
Oussama Ben Abdelbaki | 43a48ea | 2019-05-08 18:01:52 -0400 | [diff] [blame] | 112 | "29", |
Sundong Ahn | eacb58d | 2018-06-21 15:03:01 +0900 | [diff] [blame] | 113 | "current", |
| 114 | ], |
Liz Kammer | 6b36db7 | 2020-08-20 10:19:18 -0700 | [diff] [blame] | 115 | imports_sdk_version: "none", |
Liz Kammer | 19ccaca | 2020-09-02 08:55:43 -0700 | [diff] [blame^] | 116 | imports_compile_dex: true, |
Jiyong Park | d645547 | 2018-05-12 22:15:27 +0900 | [diff] [blame] | 117 | } |