Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 1 | // Copyright (C) 2016 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 15 | // Build the master framework library. |
| 16 | |
| 17 | // READ ME: ######################################################## |
| 18 | // |
| 19 | // When updating this list of aidl files, consider if that aidl is |
| 20 | // part of the SDK API. If it is, also add it to the list in Android.mk |
| 21 | // that is preprocessed and distributed with the SDK. This list should |
| 22 | // not contain any aidl files for parcelables, but the one below should |
| 23 | // if you intend for 3rd parties to be able to send those objects |
| 24 | // across process boundaries. |
| 25 | // |
| 26 | // READ ME: ######################################################## |
| 27 | |
Artur Satayev | 3cc3fa4 | 2019-08-02 16:42:07 +0100 | [diff] [blame] | 28 | filegroup { |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 29 | name: "framework-core-sources", |
Artur Satayev | 3cc3fa4 | 2019-08-02 16:42:07 +0100 | [diff] [blame] | 30 | srcs: [ |
Artur Satayev | 3cc3fa4 | 2019-08-02 16:42:07 +0100 | [diff] [blame] | 31 | "core/java/**/*.java", |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 32 | "core/java/**/*.aidl", |
Artur Satayev | 3cc3fa4 | 2019-08-02 16:42:07 +0100 | [diff] [blame] | 33 | ], |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 34 | path: "core/java", |
Artur Satayev | 3cc3fa4 | 2019-08-02 16:42:07 +0100 | [diff] [blame] | 35 | } |
| 36 | |
Jiyong Park | 00ea0b1 | 2019-10-31 20:38:47 +0900 | [diff] [blame] | 37 | // These are subset of framework-core-sources that are needed by the |
| 38 | // android.test.mock library. Ideally, the library should use public APIs only, |
| 39 | // but unfortunately its API signature has some references to these private APIs. |
| 40 | filegroup { |
| 41 | name: "framework-core-sources-for-test-mock", |
| 42 | srcs: [ |
| 43 | "core/java/android/app/IApplicationThread.aidl", |
| 44 | "core/java/android/app/IServiceConnection.aidl", |
| 45 | "core/java/android/content/IContentProvider.java", |
| 46 | "core/java/android/content/pm/IPackageDataObserver.aidl", |
| 47 | "core/java/android/content/pm/InstantAppInfo.java", |
| 48 | "core/java/android/content/pm/KeySet.java", |
| 49 | "core/java/android/content/pm/PackageManager.java", |
| 50 | "core/java/android/content/pm/VerifierDeviceIdentity.java", |
| 51 | "core/java/android/content/res/Resources.java", |
| 52 | "core/java/android/os/storage/VolumeInfo.java", |
| 53 | "core/java/android/view/DisplayAdjustments.java", |
| 54 | ], |
| 55 | path: "core/java", |
| 56 | } |
| 57 | |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 58 | filegroup { |
| 59 | name: "framework-drm-sources", |
| 60 | srcs: [ |
| 61 | "drm/java/**/*.java", |
| 62 | ], |
| 63 | path: "drm/java", |
| 64 | } |
Jiyong Park | 1cc9566 | 2019-08-07 22:45:07 +0900 | [diff] [blame] | 65 | |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 66 | filegroup { |
| 67 | name: "framework-graphics-sources", |
| 68 | srcs: [ |
| 69 | "graphics/java/**/*.java", |
| 70 | "graphics/java/**/*.aidl", |
| 71 | ], |
| 72 | path: "graphics/java", |
| 73 | } |
| 74 | |
| 75 | filegroup { |
| 76 | name: "framework-keystore-sources", |
| 77 | srcs: [ |
| 78 | "keystore/java/**/*.java", |
| 79 | "keystore/java/**/*.aidl", |
| 80 | ], |
| 81 | path: "keystore/java", |
| 82 | } |
| 83 | |
| 84 | filegroup { |
| 85 | name: "framework-location-sources", |
| 86 | srcs: [ |
| 87 | "location/java/**/*.java", |
| 88 | "location/java/**/*.aidl", |
| 89 | ], |
| 90 | path: "location/java", |
| 91 | } |
| 92 | |
| 93 | filegroup { |
| 94 | name: "framework-lowpan-sources", |
| 95 | srcs: [ |
| 96 | "lowpan/java/**/*.java", |
| 97 | "lowpan/java/**/*.aidl", |
| 98 | ], |
| 99 | path: "lowpan/java", |
| 100 | } |
| 101 | |
| 102 | filegroup { |
| 103 | name: "framework-media-sources", |
| 104 | srcs: [ |
| 105 | "media/java/**/*.java", |
| 106 | "media/java/**/*.aidl", |
| 107 | ], |
| 108 | path: "media/java", |
| 109 | } |
| 110 | |
| 111 | filegroup { |
| 112 | name: "framework-mca-effect-sources", |
| 113 | srcs: [ |
| 114 | "media/mca/effect/java/**/*.java", |
| 115 | ], |
| 116 | path: "media/mca/effect/java", |
| 117 | } |
| 118 | |
| 119 | filegroup { |
| 120 | name: "framework-mca-filterfw-sources", |
| 121 | srcs: [ |
| 122 | "media/mca/filterfw/java/**/*.java", |
| 123 | ], |
| 124 | path: "media/mca/filterfw/java", |
| 125 | } |
| 126 | |
| 127 | filegroup { |
| 128 | name: "framework-mca-filterpacks-sources", |
| 129 | srcs: [ |
| 130 | "media/mca/filterpacks/java/**/*.java", |
| 131 | ], |
| 132 | path: "media/mca/filterpacks/java", |
| 133 | } |
| 134 | |
| 135 | filegroup { |
Tobias Thierer | 878c77b | 2019-08-18 15:19:45 +0100 | [diff] [blame] | 136 | name: "framework-mime-sources", |
| 137 | srcs: [ |
| 138 | "mime/java/**/*.java", |
| 139 | ], |
| 140 | path: "mime/java", |
| 141 | } |
| 142 | |
| 143 | filegroup { |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 144 | name: "framework-opengl-sources", |
| 145 | srcs: [ |
| 146 | "opengl/java/**/*.java", |
| 147 | ], |
| 148 | path: "opengl/java", |
| 149 | } |
| 150 | |
| 151 | filegroup { |
| 152 | name: "framework-rs-sources", |
| 153 | srcs: [ |
| 154 | "rs/java/**/*.java", |
| 155 | ], |
| 156 | path: "rs/java", |
| 157 | } |
| 158 | |
| 159 | filegroup { |
| 160 | name: "framework-sax-sources", |
| 161 | srcs: [ |
| 162 | "sax/java/**/*.java", |
| 163 | ], |
| 164 | path: "sax/java", |
| 165 | } |
| 166 | |
| 167 | filegroup { |
| 168 | name: "framework-telecomm-sources", |
| 169 | srcs: [ |
| 170 | "telecomm/java/**/*.java", |
| 171 | "telecomm/java/**/*.aidl", |
| 172 | ], |
| 173 | path: "telecomm/java", |
| 174 | } |
| 175 | |
| 176 | filegroup { |
| 177 | name: "framework-telephony-sources", |
| 178 | srcs: [ |
| 179 | "telephony/java/**/*.java", |
| 180 | "telephony/java/**/*.aidl", |
| 181 | ], |
| 182 | path: "telephony/java", |
| 183 | } |
| 184 | |
| 185 | filegroup { |
Amit Mahajan | d355153 | 2019-09-23 17:59:57 -0700 | [diff] [blame] | 186 | name: "framework-telephony-common-sources", |
| 187 | srcs: [ |
| 188 | "telephony/common/**/*.java", |
| 189 | ], |
| 190 | path: "telephony/common", |
| 191 | } |
| 192 | |
| 193 | filegroup { |
Amit Mahajan | 6237a6b | 2019-10-07 17:41:26 -0700 | [diff] [blame] | 194 | name: "framework-mms-sources", |
| 195 | srcs: [ |
| 196 | "mms/java/**/*.java", |
| 197 | "mms/java/**/*.aidl", |
| 198 | ], |
| 199 | path: "mms/java", |
| 200 | } |
| 201 | |
| 202 | filegroup { |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 203 | name: "framework-wifi-sources", |
| 204 | srcs: [ |
| 205 | "wifi/java/**/*.java", |
| 206 | "wifi/java/**/*.aidl", |
| 207 | ], |
| 208 | path: "wifi/java", |
| 209 | } |
| 210 | |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 211 | filegroup { |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 212 | name: "framework-non-updatable-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 213 | srcs: [ |
| 214 | // Java/AIDL sources under frameworks/base |
Terry Wang | ecc0d1b | 2019-10-17 17:05:18 -0700 | [diff] [blame] | 215 | ":framework-appsearch-sources", |
Sudheer Shanka | f5b3696 | 2019-10-04 16:16:13 -0700 | [diff] [blame] | 216 | ":framework-blobstore-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 217 | ":framework-core-sources", |
| 218 | ":framework-drm-sources", |
| 219 | ":framework-graphics-sources", |
Jiyong Park | 48cc372 | 2019-10-21 14:01:06 +0900 | [diff] [blame] | 220 | ":framework-jobscheduler-sources", // jobscheduler is not a module for R |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 221 | ":framework-keystore-sources", |
| 222 | ":framework-location-sources", |
| 223 | ":framework-lowpan-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 224 | ":framework-mca-effect-sources", |
| 225 | ":framework-mca-filterfw-sources", |
| 226 | ":framework-mca-filterpacks-sources", |
Jiyong Park | 48cc372 | 2019-10-21 14:01:06 +0900 | [diff] [blame] | 227 | ":framework-media-sources", |
Amit Mahajan | 6237a6b | 2019-10-07 17:41:26 -0700 | [diff] [blame] | 228 | ":framework-mms-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 229 | ":framework-opengl-sources", |
| 230 | ":framework-rs-sources", |
| 231 | ":framework-sax-sources", |
| 232 | ":framework-telecomm-sources", |
Amit Mahajan | d355153 | 2019-09-23 17:59:57 -0700 | [diff] [blame] | 233 | ":framework-telephony-common-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 234 | ":framework-telephony-sources", |
| 235 | ":framework-wifi-sources", |
| 236 | ":PacProcessor-aidl-sources", |
| 237 | ":ProxyHandler-aidl-sources", |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 238 | |
atrost | 8748835 | 2019-10-10 19:27:31 +0100 | [diff] [blame] | 239 | // AIDL from frameworks/base/native/ |
| 240 | ":platform-compat-native-aidl", |
| 241 | |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 242 | // AIDL sources from external directories |
| 243 | ":dumpstate_aidl", |
| 244 | ":framework_native_aidl", |
| 245 | ":gatekeeper_aidl", |
| 246 | ":gsiservice_aidl", |
| 247 | ":incidentcompanion_aidl", |
| 248 | ":installd_aidl", |
| 249 | ":keystore_aidl", |
| 250 | ":libaudioclient_aidl", |
| 251 | ":libbinder_aidl", |
| 252 | ":libbluetooth-binder-aidl", |
| 253 | ":libcamera_client_aidl", |
| 254 | ":libcamera_client_framework_aidl", |
| 255 | ":libupdate_engine_aidl", |
Ruchir Rastogi | cd9dd94 | 2019-11-27 15:26:03 -0800 | [diff] [blame] | 256 | // TODO: this needs to be removed when statsd-framework.jar is separated out |
| 257 | ":statsd_aidl", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 258 | ":storaged_aidl", |
| 259 | ":vold_aidl", |
Jiyong Park | 1cc9566 | 2019-08-07 22:45:07 +0900 | [diff] [blame] | 260 | |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 261 | // For the generated R.java and Manifest.java |
| 262 | ":framework-res{.aapt.srcjar}", |
| 263 | |
| 264 | // etc. |
| 265 | ":framework-javastream-protos", |
| 266 | ":framework-statslog-gen", |
| 267 | ], |
| 268 | } |
Jiyong Park | 1cc9566 | 2019-08-07 22:45:07 +0900 | [diff] [blame] | 269 | |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 270 | filegroup { |
Anton Hansson | b4f3557 | 2019-12-02 16:30:22 +0000 | [diff] [blame] | 271 | name: "framework-updatable-sources", |
| 272 | srcs: [ |
| 273 | ":framework-sdkext-sources", |
| 274 | ":updatable-media-srcs", |
| 275 | ] |
| 276 | } |
| 277 | |
| 278 | filegroup { |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 279 | name: "framework-all-sources", |
| 280 | srcs: [ |
Tobias Thierer | c0c0608 | 2019-11-22 16:33:18 +0000 | [diff] [blame] | 281 | ":framework-mime-sources", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 282 | ":framework-non-updatable-sources", |
Anton Hansson | b4f3557 | 2019-12-02 16:30:22 +0000 | [diff] [blame] | 283 | ":framework-updatable-sources", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 284 | ], |
| 285 | } |
| 286 | |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 287 | java_defaults { |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 288 | name: "framework-aidl-export-defaults", |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 289 | aidl: { |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 290 | export_include_dirs: [ |
| 291 | "core/java", |
| 292 | "drm/java", |
| 293 | "graphics/java", |
| 294 | "keystore/java", |
| 295 | "location/java", |
| 296 | "lowpan/java", |
| 297 | "media/java", |
| 298 | "media/apex/java", |
| 299 | "media/mca/effect/java", |
| 300 | "media/mca/filterfw/java", |
| 301 | "media/mca/filterpacks/java", |
Amit Mahajan | 6237a6b | 2019-10-07 17:41:26 -0700 | [diff] [blame] | 302 | "mms/java", |
Jiyong Park | b360931 | 2019-08-16 21:17:14 +0900 | [diff] [blame] | 303 | "opengl/java", |
| 304 | "rs/java", |
| 305 | "sax/java", |
| 306 | "telecomm/java", |
| 307 | "telephony/java", |
| 308 | "wifi/java", |
| 309 | ], |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 310 | }, |
Adam Pardyl | 5020703 | 2019-09-09 14:37:27 +0200 | [diff] [blame] | 311 | |
| 312 | required: [ |
Adam Pardyl | 0f1b3d4 | 2019-08-19 15:24:11 +0200 | [diff] [blame] | 313 | // TODO: remove gps_debug and protolog.conf.json when the build system propagates "required" properly. |
Adam Pardyl | 5020703 | 2019-09-09 14:37:27 +0200 | [diff] [blame] | 314 | "gps_debug.conf", |
Adam Pardyl | 0f1b3d4 | 2019-08-19 15:24:11 +0200 | [diff] [blame] | 315 | "protolog.conf.json.gz", |
Adam Pardyl | 5020703 | 2019-09-09 14:37:27 +0200 | [diff] [blame] | 316 | ], |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 317 | } |
| 318 | |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 319 | // Collection of classes that are generated from non-Java files that are not listed in |
| 320 | // framework_srcs. These have no or very limited dependency to the framework. |
| 321 | java_library { |
| 322 | name: "framework-internal-utils", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 323 | static_libs: [ |
Dario Freni | d8bf22e | 2018-08-31 14:18:04 +0100 | [diff] [blame] | 324 | "apex_aidl_interface-java", |
Kalesh Singh | 759af32 | 2019-06-19 12:17:43 -0700 | [diff] [blame] | 325 | "suspend_control_aidl_interface-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 326 | "framework-protos", |
Peiyong Lin | 9ca1dd8 | 2019-01-12 17:44:29 -0800 | [diff] [blame] | 327 | "game-driver-protos", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 328 | "android.hidl.base-V1.0-java", |
Henry Fang | 5215ac9 | 2019-02-01 19:24:55 +0000 | [diff] [blame] | 329 | "android.hardware.cas-V1.1-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 330 | "android.hardware.cas-V1.0-java", |
| 331 | "android.hardware.contexthub-V1.0-java", |
Yu-Han Yang | 9fe06dd | 2019-11-18 16:23:31 -0800 | [diff] [blame] | 332 | "android.hardware.gnss-V1.0-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 333 | "android.hardware.health-V1.0-java-constants", |
Steven Moreland | e0dde65 | 2019-01-24 12:03:26 -0800 | [diff] [blame] | 334 | "android.hardware.radio-V1.0-java", |
| 335 | "android.hardware.radio-V1.1-java", |
| 336 | "android.hardware.radio-V1.2-java", |
| 337 | "android.hardware.radio-V1.3-java", |
| 338 | "android.hardware.radio-V1.4-java", |
Sarah Chin | 21e9c63 | 2019-11-05 13:30:10 -0800 | [diff] [blame] | 339 | "android.hardware.radio-V1.5-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 340 | "android.hardware.thermal-V1.0-java-constants", |
Wei Wang | fb21bd8 | 2019-01-10 14:16:23 -0800 | [diff] [blame] | 341 | "android.hardware.thermal-V1.0-java", |
Wei Wang | bad7c20 | 2018-11-01 11:57:39 -0700 | [diff] [blame] | 342 | "android.hardware.thermal-V1.1-java", |
| 343 | "android.hardware.thermal-V2.0-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 344 | "android.hardware.tv.input-V1.0-java-constants", |
shubang | 7e849b0 | 2019-10-18 19:36:25 -0700 | [diff] [blame] | 345 | "android.hardware.tv.tuner-V1.0-java-constants", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 346 | "android.hardware.usb-V1.0-java-constants", |
| 347 | "android.hardware.usb-V1.1-java-constants", |
Badhri Jagan Sridharan | e966a38 | 2018-12-09 14:49:38 -0800 | [diff] [blame] | 348 | "android.hardware.usb-V1.2-java-constants", |
Steven Moreland | e0dde65 | 2019-01-24 12:03:26 -0800 | [diff] [blame] | 349 | "android.hardware.usb.gadget-V1.0-java", |
Michael Wright | f268bf5 | 2018-02-07 23:23:34 +0000 | [diff] [blame] | 350 | "android.hardware.vibrator-V1.0-java", |
| 351 | "android.hardware.vibrator-V1.1-java", |
| 352 | "android.hardware.vibrator-V1.2-java", |
Harpreet "Eli" Sangha | a456f08 | 2018-12-14 12:06:10 +0900 | [diff] [blame] | 353 | "android.hardware.vibrator-V1.3-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 354 | "android.hardware.wifi-V1.0-java-constants", |
arangelov | 1ab6149 | 2018-11-22 13:56:50 +0000 | [diff] [blame] | 355 | "devicepolicyprotosnano", |
Inseob Kim | 4fe9f0f | 2019-07-30 18:23:26 +0900 | [diff] [blame] | 356 | |
| 357 | "com.android.sysprop.apex", |
| 358 | "PlatformProperties", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 359 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 360 | sdk_version: "core_platform", |
| 361 | installable: false, |
| 362 | } |
| 363 | |
| 364 | java_defaults { |
| 365 | name: "framework-defaults", |
| 366 | defaults: ["framework-aidl-export-defaults"], |
| 367 | installable: true, |
| 368 | |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 369 | aidl: { |
| 370 | generate_get_transaction_name: true, |
| 371 | }, |
| 372 | |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 373 | srcs: ["core/java/**/*.logtags"], |
| 374 | |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 375 | exclude_srcs: [ |
| 376 | // See comment on framework-atb-backward-compatibility module below |
Winson Chiu | 8e18a0a | 2019-09-30 20:37:25 +0000 | [diff] [blame] | 377 | "core/java/android/content/pm/AndroidTestBaseUpdater.java", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 378 | ], |
| 379 | |
| 380 | sdk_version: "core_platform", |
| 381 | libs: [ |
| 382 | "ext", |
| 383 | "updatable_media_stubs", |
| 384 | ], |
| 385 | |
| 386 | jarjar_rules: ":framework-jarjar-rules", |
| 387 | |
Tobias Thierer | 878c77b | 2019-08-18 15:19:45 +0100 | [diff] [blame] | 388 | static_libs: [ |
| 389 | "framework-internal-utils", |
Tobias Thierer | 878c77b | 2019-08-18 15:19:45 +0100 | [diff] [blame] | 390 | ], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 391 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 392 | dxflags: [ |
| 393 | "--core-library", |
| 394 | "--multi-dex", |
| 395 | ], |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 396 | |
Eugene Susla | 3b2fe61 | 2019-08-06 18:47:14 -0700 | [diff] [blame] | 397 | plugins: [ |
| 398 | "view-inspector-annotation-processor", |
| 399 | "staledataclass-annotation-processor", |
| 400 | ], |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 401 | } |
| 402 | |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 403 | filegroup { |
Steven Moreland | 19e8d46 | 2019-03-08 10:44:22 -0800 | [diff] [blame] | 404 | name: "framework-jarjar-rules", |
Santiago Seifert | 7094b76 | 2019-11-20 20:51:43 +0000 | [diff] [blame] | 405 | srcs: ["jarjar_rules_hidl.txt"], |
Steven Moreland | 19e8d46 | 2019-03-08 10:44:22 -0800 | [diff] [blame] | 406 | } |
| 407 | |
| 408 | filegroup { |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 409 | name: "libincident_aidl", |
| 410 | srcs: [ |
| 411 | "core/java/android/os/IIncidentManager.aidl", |
| 412 | "core/java/android/os/IIncidentReportStatusListener.aidl", |
| 413 | ], |
Dan Willemsen | 4a49850 | 2019-06-05 15:51:24 -0700 | [diff] [blame] | 414 | path: "core/java", |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 415 | } |
| 416 | |
| 417 | filegroup { |
Michael Wright | c390fbe | 2018-12-12 19:45:09 +0000 | [diff] [blame] | 418 | name: "libvibrator_aidl", |
| 419 | srcs: [ |
| 420 | "core/java/android/os/IExternalVibrationController.aidl", |
| 421 | "core/java/android/os/IExternalVibratorService.aidl", |
| 422 | ], |
Dan Willemsen | 4a49850 | 2019-06-05 15:51:24 -0700 | [diff] [blame] | 423 | path: "core/java", |
Michael Wright | c390fbe | 2018-12-12 19:45:09 +0000 | [diff] [blame] | 424 | } |
| 425 | |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 426 | java_library { |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 427 | name: "framework-minus-apex", |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 428 | defaults: ["framework-defaults"], |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 429 | srcs: [":framework-non-updatable-sources"], |
atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 430 | libs: ["app-compat-annotations"], |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 431 | installable: true, |
Jiyong Park | 911cd4f | 2019-10-21 14:35:14 +0900 | [diff] [blame] | 432 | javac_shard_size: 150, |
atrost | aec9bc1 | 2019-08-16 18:14:09 +0100 | [diff] [blame] | 433 | required: [ |
| 434 | "framework-platform-compat-config", |
| 435 | "libcore-platform-compat-config", |
atrost | 86895aa | 2019-08-19 16:51:15 +0100 | [diff] [blame] | 436 | "services-platform-compat-config", |
atrost | 8bea647 | 2019-10-10 19:33:22 +0100 | [diff] [blame] | 437 | "media-provider-platform-compat-config", |
atrost | ce84de0 | 2019-10-08 16:16:47 +0100 | [diff] [blame] | 438 | "services-devicepolicy-platform-compat-config", |
atrost | c3c2e4d | 2019-11-29 11:27:27 +0000 | [diff] [blame] | 439 | "services-core-platform-compat-config", |
atrost | aec9bc1 | 2019-08-16 18:14:09 +0100 | [diff] [blame] | 440 | ], |
Tobias Thierer | c0c0608 | 2019-11-22 16:33:18 +0000 | [diff] [blame] | 441 | static_libs: [ |
Tobias Thierer | 8296853 | 2019-11-29 19:39:45 +0000 | [diff] [blame] | 442 | // If MimeMap ever becomes its own APEX, then this dependency would need to be removed |
| 443 | // in favor of an API stubs dependency in java_library "framework" below. |
Tobias Thierer | c0c0608 | 2019-11-22 16:33:18 +0000 | [diff] [blame] | 444 | "mimemap", |
| 445 | ], |
Jiyong Park | 911cd4f | 2019-10-21 14:35:14 +0900 | [diff] [blame] | 446 | // For backwards compatibility. |
| 447 | stem: "framework", |
| 448 | } |
| 449 | |
| 450 | // This "framework" module is NOT installed to the device. It's |
| 451 | // "framework-minus-apex" that gets installed to the device. Note that |
| 452 | // the filename is still framework.jar (via the stem property) for |
| 453 | // compatibility reason. The purpose of this module is to provide |
| 454 | // framework APIs (both public and private) for bundled apps. |
| 455 | // "framework-minus-apex" can't be used for the purpose because 1) |
| 456 | // many apps have already hardcoded the name "framework" and |
| 457 | // 2) it lacks API symbols from updatable modules - as it's clear from |
| 458 | // its suffix "-minus-apex". |
| 459 | java_library { |
| 460 | name: "framework", |
| 461 | defaults: ["framework-aidl-export-defaults"], |
| 462 | installable: false, // this lib is a build-only library |
| 463 | static_libs: [ |
| 464 | "framework-minus-apex", |
| 465 | // TODO(jiyong): add stubs for APEXes here |
| 466 | ], |
Makoto Onuki | 62242c4 | 2019-08-05 12:54:20 -0700 | [diff] [blame] | 467 | sdk_version: "core_platform", |
| 468 | } |
| 469 | |
| 470 | java_library { |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 471 | name: "framework-all", |
| 472 | defaults: ["framework-defaults"], |
| 473 | srcs: [":framework-all-sources"], |
| 474 | installable: false, |
atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 475 | libs: ["app-compat-annotations"], |
Santiago Seifert | 5466a7d | 2019-11-11 19:27:04 +0000 | [diff] [blame] | 476 | static_libs: ["exoplayer2-core"] |
Jiyong Park | 9718349 | 2019-11-14 03:07:36 +0000 | [diff] [blame] | 477 | } |
| 478 | |
| 479 | java_library { |
| 480 | name: "framework-annotation-proc", |
| 481 | defaults: ["framework-aidl-export-defaults"], |
| 482 | srcs: [":framework-all-sources"], |
| 483 | libs: ["app-compat-annotations"], |
| 484 | installable: false, |
atrost | b9c3450 | 2019-08-05 12:22:18 +0100 | [diff] [blame] | 485 | plugins: [ |
| 486 | "unsupportedappusage-annotation-processor", |
| 487 | "compat-changeid-annotation-processor", |
| 488 | ], |
Santiago Seifert | 5466a7d | 2019-11-11 19:27:04 +0000 | [diff] [blame] | 489 | static_libs: [ |
| 490 | "exoplayer2-core" |
| 491 | ] |
atrost | b9c3450 | 2019-08-05 12:22:18 +0100 | [diff] [blame] | 492 | } |
| 493 | |
| 494 | platform_compat_config { |
| 495 | name: "framework-platform-compat-config", |
Jiyong Park | 9718349 | 2019-11-14 03:07:36 +0000 | [diff] [blame] | 496 | src: ":framework-annotation-proc", |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 497 | } |
| 498 | |
Paul Duffin | 52197580 | 2019-06-05 10:35:08 +0100 | [diff] [blame] | 499 | // A library including just UnsupportedAppUsage.java classes. |
| 500 | // |
| 501 | // Provided for target so that libraries can use it without depending on |
| 502 | // the whole of framework or the core platform API. |
| 503 | // |
| 504 | // Built for host so that the annotation processor can also use this annotation. |
| 505 | java_library { |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 506 | name: "unsupportedappusage-annotation", |
Paul Duffin | 52197580 | 2019-06-05 10:35:08 +0100 | [diff] [blame] | 507 | host_supported: true, |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 508 | srcs: [ |
| 509 | "core/java/android/annotation/IntDef.java", |
| 510 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Paul Duffin | c130801 | 2019-10-10 16:33:42 +0100 | [diff] [blame] | 511 | ], |
| 512 | static_libs: [ |
| 513 | "art.module.api.annotations", |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 514 | ], |
Paul Duffin | 52197580 | 2019-06-05 10:35:08 +0100 | [diff] [blame] | 515 | |
| 516 | sdk_version: "core_current", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 517 | } |
| 518 | |
Paul Duffin | beee5dc | 2018-01-23 13:39:00 +0000 | [diff] [blame] | 519 | // A temporary build target that is conditionally included on the bootclasspath if |
Paul Duffin | a3b6921 | 2018-01-25 09:58:32 +0000 | [diff] [blame] | 520 | // android.test.base library has been removed and which provides support for |
| 521 | // maintaining backwards compatibility for APKs that target pre-P and depend on |
| 522 | // android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is |
| 523 | // specified on the build command line. |
| 524 | java_library { |
| 525 | name: "framework-atb-backward-compatibility", |
Paul Duffin | fab8754 | 2019-02-15 11:39:12 +0000 | [diff] [blame] | 526 | installable: true, |
atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 527 | libs: ["app-compat-annotations"], |
Paul Duffin | a3b6921 | 2018-01-25 09:58:32 +0000 | [diff] [blame] | 528 | srcs: [ |
Winson Chiu | 8e18a0a | 2019-09-30 20:37:25 +0000 | [diff] [blame] | 529 | "core/java/android/content/pm/AndroidTestBaseUpdater.java", |
Paul Duffin | a3b6921 | 2018-01-25 09:58:32 +0000 | [diff] [blame] | 530 | ], |
| 531 | } |
| 532 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 533 | genrule { |
| 534 | name: "framework-statslog-gen", |
| 535 | tools: ["stats-log-api-gen"], |
| 536 | cmd: "$(location stats-log-api-gen) --java $(out)", |
David Chen | 0a368b2 | 2017-12-06 16:28:16 -0800 | [diff] [blame] | 537 | out: ["android/util/StatsLogInternal.java"], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 538 | } |
| 539 | |
| 540 | gensrcs { |
| 541 | name: "framework-javastream-protos", |
| 542 | depfile: true, |
| 543 | |
| 544 | tools: [ |
| 545 | "aprotoc", |
| 546 | "protoc-gen-javastream", |
| 547 | "soong_zip", |
| 548 | ], |
| 549 | |
Anton Hansson | d82b2f7 | 2019-11-18 13:34:56 +0000 | [diff] [blame] | 550 | cmd: "mkdir -p $(genDir)/$(in) " + |
| 551 | "&& $(location aprotoc) " + |
| 552 | " --plugin=$(location protoc-gen-javastream) " + |
| 553 | " --dependency_out=$(depfile) " + |
| 554 | " --javastream_out=$(genDir)/$(in) " + |
| 555 | " -Iexternal/protobuf/src " + |
| 556 | " -I . " + |
| 557 | " $(in) " + |
| 558 | "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)", |
| 559 | |
Yi Jin | 437aa6e | 2018-01-10 11:34:26 -0800 | [diff] [blame] | 560 | srcs: [ |
| 561 | "core/proto/**/*.proto", |
| 562 | "libs/incident/**/*.proto", |
| 563 | ], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 564 | output_extension: "srcjar", |
| 565 | } |
| 566 | |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 567 | filegroup { |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 568 | name: "framework-annotations", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 569 | srcs: [ |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 570 | "core/java/android/annotation/NonNull.java", |
| 571 | "core/java/android/annotation/Nullable.java", |
| 572 | "core/java/android/annotation/IntDef.java", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 573 | "core/java/android/annotation/IntRange.java", |
Anton Hansson | dc1e99b | 2019-12-06 17:07:28 +0000 | [diff] [blame^] | 574 | "core/java/android/annotation/SystemApi.java", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 575 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Remi NGUYEN VAN | 231b52b | 2019-01-29 15:38:52 +0900 | [diff] [blame] | 576 | "core/java/com/android/internal/annotations/GuardedBy.java", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 577 | "core/java/com/android/internal/annotations/VisibleForTesting.java", |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 578 | ], |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 579 | } |
| 580 | |
Anton Hansson | 4ec07fa | 2019-11-08 15:18:04 +0000 | [diff] [blame] | 581 | java_library { |
| 582 | name: "framework-annotations-lib", |
| 583 | srcs: [ ":framework-annotations" ], |
| 584 | sdk_version: "current", |
| 585 | } |
| 586 | |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 587 | filegroup { |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 588 | name: "framework-networkstack-shared-srcs", |
| 589 | srcs: [ |
| 590 | // TODO: remove these annotations as soon as we can use andoid.support.annotations.* |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 591 | ":framework-annotations", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 592 | "core/java/android/net/DhcpResults.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 593 | "core/java/android/util/LocalLog.java", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 594 | "core/java/com/android/internal/util/HexDump.java", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 595 | "core/java/com/android/internal/util/IndentingPrintWriter.java", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 596 | "core/java/com/android/internal/util/IState.java", |
| 597 | "core/java/com/android/internal/util/MessageUtils.java", |
| 598 | "core/java/com/android/internal/util/Preconditions.java", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 599 | "core/java/com/android/internal/util/RingBufferIndices.java", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 600 | "core/java/com/android/internal/util/State.java", |
| 601 | "core/java/com/android/internal/util/StateMachine.java", |
Chalard Jean | 6a76b7e | 2019-04-09 11:16:56 +0900 | [diff] [blame] | 602 | "core/java/com/android/internal/util/TrafficStatsConstants.java", |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 603 | "core/java/com/android/internal/util/WakeupMessage.java", |
| 604 | "core/java/android/net/shared/*.java", |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 605 | ], |
Remi NGUYEN VAN | 77dd54d | 2019-01-25 08:54:08 +0900 | [diff] [blame] | 606 | } |
| 607 | |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 608 | filegroup { |
| 609 | name: "framework-tethering-shared-srcs", |
| 610 | srcs: [ |
| 611 | "core/java/android/util/LocalLog.java", |
| 612 | ], |
| 613 | } |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 614 | // Build ext.jar |
| 615 | // ============================================================ |
| 616 | java_library { |
| 617 | name: "ext", |
Colin Cross | a12c0f5 | 2018-06-27 11:00:11 -0700 | [diff] [blame] | 618 | installable: true, |
Paul Duffin | 8fcace4 | 2019-06-12 13:47:18 +0100 | [diff] [blame] | 619 | sdk_version: "core_platform", |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 620 | static_libs: [ |
| 621 | "libphonenumber-platform", |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 622 | "tagsoup", |
Ricky Wai | 0d1bc33 | 2017-10-31 14:31:01 +0000 | [diff] [blame] | 623 | "rappor", |
Tony Mak | 64c4cb2 | 2018-09-25 13:38:28 +0100 | [diff] [blame] | 624 | "libtextclassifier-java", |
| 625 | ], |
| 626 | required: [ |
| 627 | "libtextclassifier", |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 628 | ], |
| 629 | dxflags: ["--core-library"], |
| 630 | } |
| 631 | |
Andreas Gampe | af27bf66 | 2018-05-17 10:49:26 -0700 | [diff] [blame] | 632 | // ==== java proto host library ============================== |
| 633 | java_library_host { |
| 634 | name: "platformprotos", |
| 635 | srcs: [ |
| 636 | "cmds/am/proto/instrumentation_data.proto", |
Howard Ro | 0546d54 | 2018-08-30 16:23:44 -0700 | [diff] [blame] | 637 | "cmds/statsd/src/**/*.proto", |
Andreas Gampe | af27bf66 | 2018-05-17 10:49:26 -0700 | [diff] [blame] | 638 | "core/proto/**/*.proto", |
| 639 | "libs/incident/proto/**/*.proto", |
Andreas Gampe | af27bf66 | 2018-05-17 10:49:26 -0700 | [diff] [blame] | 640 | ], |
| 641 | proto: { |
| 642 | include_dirs: ["external/protobuf/src"], |
| 643 | type: "full", |
| 644 | }, |
| 645 | errorprone: { |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 646 | javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520 |
Andreas Gampe | af27bf66 | 2018-05-17 10:49:26 -0700 | [diff] [blame] | 647 | }, |
| 648 | } |
| 649 | |
Colin Cross | 4321416 | 2018-08-20 13:57:24 -0700 | [diff] [blame] | 650 | // ==== java proto device library (for test only) ============================== |
| 651 | java_library { |
| 652 | name: "platformprotosnano", |
| 653 | proto: { |
| 654 | type: "nano", |
| 655 | output_params: ["store_unknown_fields=true"], |
| 656 | include_dirs: ["external/protobuf/src"], |
| 657 | }, |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 658 | exclude_srcs: [ |
| 659 | "core/proto/android/privacy.proto", |
| 660 | "core/proto/android/section.proto", |
| 661 | ], |
Colin Cross | 4321416 | 2018-08-20 13:57:24 -0700 | [diff] [blame] | 662 | sdk_version: "current", |
| 663 | srcs: [ |
| 664 | "core/proto/**/*.proto", |
| 665 | "libs/incident/proto/android/os/**/*.proto", |
| 666 | ], |
| 667 | } |
| 668 | |
| 669 | // ==== java proto device library (for test only) ============================== |
| 670 | java_library { |
| 671 | name: "platformprotoslite", |
| 672 | proto: { |
| 673 | type: "lite", |
| 674 | include_dirs: ["external/protobuf/src"], |
| 675 | }, |
| 676 | |
| 677 | srcs: [ |
| 678 | "core/proto/**/*.proto", |
| 679 | "libs/incident/proto/android/os/**/*.proto", |
| 680 | ], |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 681 | exclude_srcs: [ |
| 682 | "core/proto/android/privacy.proto", |
| 683 | "core/proto/android/section.proto", |
| 684 | ], |
Colin Cross | 4321416 | 2018-08-20 13:57:24 -0700 | [diff] [blame] | 685 | // Protos have lots of MissingOverride and similar. |
| 686 | errorprone: { |
| 687 | javacflags: ["-XepDisableAllChecks"], |
| 688 | }, |
| 689 | } |
| 690 | |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 691 | // ==== c++ proto device library ============================== |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 692 | cc_defaults { |
| 693 | name: "libplatformprotos-defaults", |
| 694 | |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 695 | proto: { |
| 696 | export_proto_headers: true, |
| 697 | include_dirs: ["external/protobuf/src"], |
| 698 | }, |
| 699 | |
Chih-Hung Hsieh | c7edf07 | 2017-10-03 09:57:55 -0700 | [diff] [blame] | 700 | cflags: [ |
| 701 | "-Wall", |
| 702 | "-Werror", |
| 703 | "-Wno-unused-parameter", |
| 704 | ], |
Joe Onorato | 62c220b | 2017-11-18 20:32:56 -0800 | [diff] [blame] | 705 | |
| 706 | srcs: [ |
| 707 | "core/proto/**/*.proto", |
Joe Onorato | 62c220b | 2017-11-18 20:32:56 -0800 | [diff] [blame] | 708 | ], |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 709 | } |
| 710 | |
| 711 | cc_library { |
| 712 | name: "libplatformprotos", |
| 713 | defaults: ["libplatformprotos-defaults"], |
| 714 | host_supported: true, |
Joe Onorato | 62c220b | 2017-11-18 20:32:56 -0800 | [diff] [blame] | 715 | |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 716 | target: { |
| 717 | host: { |
| 718 | proto: { |
| 719 | type: "full", |
| 720 | }, |
| 721 | }, |
| 722 | android: { |
| 723 | proto: { |
| 724 | type: "lite", |
| 725 | }, |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 726 | shared_libs: [ |
| 727 | "libprotobuf-cpp-lite", |
| 728 | ], |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 729 | shared: { |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 730 | enabled: false, |
| 731 | }, |
| 732 | }, |
| 733 | }, |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 734 | } |
| 735 | |
Joe Onorato | 9bd5db7 | 2019-04-03 18:19:43 -0700 | [diff] [blame] | 736 | // This library is meant for vendor code that needs to output protobuf. It links |
| 737 | // against the static version of libprotobuf-cpp-lite, for which we can not guarantee |
| 738 | // binary compatibility. |
| 739 | cc_library { |
| 740 | name: "libplatformprotos-static", |
| 741 | defaults: ["libplatformprotos-defaults"], |
| 742 | host_supported: false, |
| 743 | |
| 744 | // This is okay because this library is only built as a static library. The C++ |
| 745 | // API is not guaranteed. The proto API is guaranteed to be stable via Metrics Council, |
| 746 | // but is not authorized to be used outside of debugging. |
| 747 | vendor_available: true, |
| 748 | |
| 749 | target: { |
| 750 | android: { |
| 751 | proto: { |
| 752 | type: "lite", |
| 753 | }, |
| 754 | static_libs: [ |
| 755 | "libprotobuf-cpp-lite", |
| 756 | ], |
| 757 | shared: { |
| 758 | enabled: false, |
| 759 | }, |
| 760 | }, |
| 761 | }, |
| 762 | } |
| 763 | |
| 764 | |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 765 | // This is the full proto version of libplatformprotos. It may only |
| 766 | // be used by test code that is not shipped on the device. |
| 767 | cc_library { |
| 768 | name: "libplatformprotos-test", |
| 769 | defaults: ["libplatformprotos-defaults"], |
| 770 | host_supported: false, |
| 771 | |
| 772 | target: { |
| 773 | android: { |
| 774 | proto: { |
| 775 | type: "full", |
| 776 | }, |
| 777 | shared: { |
| 778 | enabled: false, |
| 779 | }, |
| 780 | }, |
| 781 | }, |
| 782 | } |
| 783 | |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 784 | filegroup { |
| 785 | name: "incremental_aidl", |
| 786 | srcs: [ |
Songchun Fan | d1b41d4 | 2019-11-12 17:09:53 -0800 | [diff] [blame] | 787 | "core/java/android/os/incremental/IIncrementalManager.aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 788 | "core/java/android/os/incremental/IIncrementalServiceProxy.aidl", |
| 789 | "core/java/android/os/incremental/IncrementalDataLoaderParamsParcel.aidl", |
| 790 | "core/java/android/os/incremental/IncrementalFileSystemControlParcel.aidl", |
| 791 | "core/java/android/os/incremental/NamedParcelFileDescriptor.aidl", |
| 792 | ], |
| 793 | path: "core/java", |
| 794 | } |
| 795 | |
| 796 | filegroup { |
Songchun Fan | 6dd47b5 | 2019-11-29 15:20:18 -0800 | [diff] [blame] | 797 | name: "dataloader_aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 798 | srcs: [ |
Songchun Fan | 6dd47b5 | 2019-11-29 15:20:18 -0800 | [diff] [blame] | 799 | "core/java/android/content/pm/IDataLoaderStatusListener.aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 800 | ], |
| 801 | path: "core/java", |
| 802 | } |
| 803 | |
| 804 | aidl_interface { |
| 805 | name: "libincremental_aidl", |
| 806 | srcs: [ |
| 807 | ":incremental_aidl", |
Songchun Fan | 6dd47b5 | 2019-11-29 15:20:18 -0800 | [diff] [blame] | 808 | ], |
| 809 | imports: [ |
| 810 | "libdataloader_aidl", |
| 811 | ], |
| 812 | backend: { |
| 813 | java: { |
| 814 | sdk_version: "28", |
| 815 | }, |
| 816 | cpp: { |
| 817 | enabled: true, |
| 818 | }, |
| 819 | ndk: { |
| 820 | enabled: true, |
| 821 | }, |
| 822 | }, |
| 823 | } |
| 824 | |
| 825 | aidl_interface { |
| 826 | name: "libdataloader_aidl", |
| 827 | srcs: [ |
| 828 | ":dataloader_aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 829 | ], |
| 830 | backend: { |
| 831 | java: { |
| 832 | sdk_version: "28", |
| 833 | }, |
| 834 | cpp: { |
| 835 | enabled: true, |
| 836 | }, |
| 837 | ndk: { |
| 838 | enabled: true, |
| 839 | }, |
| 840 | }, |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 841 | } |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 842 | |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 843 | gensrcs { |
| 844 | name: "gen-platform-proto-constants", |
| 845 | depfile: true, |
| 846 | |
| 847 | tools: [ |
| 848 | "aprotoc", |
| 849 | "protoc-gen-cppstream", |
| 850 | ], |
| 851 | |
| 852 | srcs: [ |
Kweku Adams | eadd123 | 2018-02-05 16:45:13 -0800 | [diff] [blame] | 853 | "core/proto/android/os/backtrace.proto", |
Kweku Adams | 59e6fd7 | 2017-12-27 15:48:14 -0800 | [diff] [blame] | 854 | "core/proto/android/os/batterytype.proto", |
Yi Jin | 0eb2234 | 2017-11-06 17:17:27 -0800 | [diff] [blame] | 855 | "core/proto/android/os/cpufreq.proto", |
Yi Jin | e2f7f79 | 2017-11-01 17:08:27 -0700 | [diff] [blame] | 856 | "core/proto/android/os/cpuinfo.proto", |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 857 | "core/proto/android/os/data.proto", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 858 | "core/proto/android/os/kernelwake.proto", |
| 859 | "core/proto/android/os/pagetypeinfo.proto", |
| 860 | "core/proto/android/os/procrank.proto", |
Kweku Adams | f5cc575 | 2017-12-20 17:59:17 -0800 | [diff] [blame] | 861 | "core/proto/android/os/ps.proto", |
Yi Jin | 0dfa752 | 2017-11-06 17:43:47 -0800 | [diff] [blame] | 862 | "core/proto/android/os/system_properties.proto", |
Yi Jin | 3c034c9 | 2017-12-22 17:36:47 -0800 | [diff] [blame] | 863 | "core/proto/android/util/event_log_tags.proto", |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 864 | "core/proto/android/util/log.proto", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 865 | ], |
| 866 | |
| 867 | // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool |
Yi Jin | 3c034c9 | 2017-12-22 17:36:47 -0800 | [diff] [blame] | 868 | cmd: "mkdir -p $(genDir) " + |
| 869 | "&& $(location aprotoc) " + |
| 870 | " --plugin=$(location protoc-gen-cppstream) " + |
| 871 | " --dependency_out=$(depfile) " + |
| 872 | " --cppstream_out=$(genDir) " + |
| 873 | " -Iexternal/protobuf/src " + |
| 874 | " -I . " + |
| 875 | " $(in)", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 876 | |
Logan Chien | 71ddfea | 2018-02-27 16:43:50 +0800 | [diff] [blame] | 877 | output_extension: "proto.h", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 878 | } |
| 879 | |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 880 | |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 881 | subdirs = [ |
Yi Jin | 0a3406f | 2017-06-22 19:23:11 -0700 | [diff] [blame] | 882 | "cmds/*", |
Jeff Sharkey | 0c686e7 | 2017-10-23 16:04:31 -0600 | [diff] [blame] | 883 | "core/*", |
Colin Cross | 4f8d9e6 | 2016-12-01 15:55:00 -0800 | [diff] [blame] | 884 | "libs/*", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 885 | "media/*", |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 886 | "proto", |
Fabien Sanglard | 1916020 | 2017-01-12 14:24:31 -0500 | [diff] [blame] | 887 | "tools/*", |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 888 | "native/android", |
Dan Albert | 7ce8df3 | 2016-09-23 16:43:49 -0700 | [diff] [blame] | 889 | "native/graphics/jni", |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 890 | ] |
Svetoslav Ganov | 74c9983 | 2016-12-05 20:07:20 -0800 | [diff] [blame] | 891 | |
| 892 | optional_subdirs = [ |
| 893 | "core/tests/utiltests/jni", |
| 894 | ] |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 895 | |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 896 | // TODO(b/77285514): remove this once the last few hidl interfaces have been |
| 897 | // updated to use hwbinder.stubs. |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 898 | java_library { |
| 899 | name: "hwbinder", |
Paul Duffin | 8fcace4 | 2019-06-12 13:47:18 +0100 | [diff] [blame] | 900 | sdk_version: "core_platform", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 901 | |
| 902 | srcs: [ |
| 903 | "core/java/android/os/HidlSupport.java", |
Steven Moreland | e8e63aa | 2018-01-10 15:45:36 -0800 | [diff] [blame] | 904 | "core/java/android/annotation/IntDef.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 905 | "core/java/android/annotation/IntRange.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 906 | "core/java/android/annotation/NonNull.java", |
Steven Moreland | 0ff061a | 2019-03-04 17:56:30 -0800 | [diff] [blame] | 907 | "core/java/android/annotation/Nullable.java", |
Steven Moreland | e8e63aa | 2018-01-10 15:45:36 -0800 | [diff] [blame] | 908 | "core/java/android/annotation/SystemApi.java", |
Steven Moreland | cbba4c7 | 2019-01-11 10:19:51 -0800 | [diff] [blame] | 909 | "core/java/android/annotation/TestApi.java", |
Andrei Onea | 24ec321 | 2019-03-15 17:35:05 +0000 | [diff] [blame] | 910 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 911 | "core/java/android/os/HidlMemory.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 912 | "core/java/android/os/HwBinder.java", |
| 913 | "core/java/android/os/HwBlob.java", |
| 914 | "core/java/android/os/HwParcel.java", |
| 915 | "core/java/android/os/IHwBinder.java", |
| 916 | "core/java/android/os/IHwInterface.java", |
| 917 | "core/java/android/os/DeadObjectException.java", |
| 918 | "core/java/android/os/DeadSystemException.java", |
Nirav Atre | 9850dd9 | 2018-07-24 17:03:44 -0700 | [diff] [blame] | 919 | "core/java/android/os/NativeHandle.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 920 | "core/java/android/os/RemoteException.java", |
| 921 | "core/java/android/util/AndroidException.java", |
| 922 | ], |
| 923 | |
| 924 | dxflags: ["--core-library"], |
| 925 | installable: false, |
| 926 | } |
Nan Zhang | 2db709d | 2017-11-08 20:48:46 -0800 | [diff] [blame] | 927 | |
| 928 | python_defaults { |
| 929 | name: "base_default", |
| 930 | version: { |
| 931 | py2: { |
| 932 | enabled: true, |
| 933 | embedded_launcher: true, |
| 934 | }, |
| 935 | py3: { |
| 936 | enabled: false, |
| 937 | embedded_launcher: false, |
| 938 | }, |
| 939 | }, |
| 940 | } |
| 941 | |
| 942 | python_binary_host { |
| 943 | name: "fontchain_linter", |
| 944 | defaults: ["base_default"], |
| 945 | main: "tools/fonts/fontchain_linter.py", |
| 946 | srcs: [ |
| 947 | "tools/fonts/fontchain_linter.py", |
| 948 | ], |
| 949 | libs: [ |
| 950 | "fontTools", |
| 951 | ], |
| 952 | } |
Nan Zhang | 172875b | 2018-02-27 11:24:03 -0800 | [diff] [blame] | 953 | |
Paul Duffin | 0440e1f | 2019-02-11 16:13:25 +0000 | [diff] [blame] | 954 | // Make the api/current.txt file available for use by modules in other |
| 955 | // directories. |
| 956 | filegroup { |
| 957 | name: "frameworks-base-api-current.txt", |
| 958 | srcs: [ |
| 959 | "api/current.txt", |
| 960 | ], |
| 961 | } |
| 962 | |
Paul Duffin | cd35de3 | 2019-05-30 15:12:47 +0100 | [diff] [blame] | 963 | // Make the api/system-current.txt file available for use by modules in other |
| 964 | // directories. |
| 965 | filegroup { |
| 966 | name: "frameworks-base-api-system-current.txt", |
| 967 | srcs: [ |
| 968 | "api/system-current.txt", |
| 969 | ], |
| 970 | } |
| 971 | |
| 972 | // Make the api/system-removed.txt file available for use by modules in other |
| 973 | // directories. |
| 974 | filegroup { |
| 975 | name: "frameworks-base-api-system-removed.txt", |
| 976 | srcs: [ |
| 977 | "api/system-removed.txt", |
| 978 | ], |
| 979 | } |
| 980 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 981 | framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 982 | "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " + |
| 983 | "-overview $(location core/java/overview.html) " + |
| 984 | // Federate Support Library references against local API file. |
| 985 | "-federate SupportLib https://developer.android.com " + |
Charles Munger | 1b1c0ca | 2019-11-19 14:01:19 -0800 | [diff] [blame] | 986 | "-federationapi SupportLib $(location :current-support-api) " + |
| 987 | // Federate Support Library references against local API file. |
| 988 | "-federate AndroidX https://developer.android.com " + |
| 989 | "-federationapi AndroidX $(location :current-androidx-api) " |
Nan Zhang | 172875b | 2018-02-27 11:24:03 -0800 | [diff] [blame] | 990 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 991 | framework_docs_only_libs = [ |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 992 | "voip-common", |
| 993 | "android.test.mock", |
| 994 | "android-support-annotations", |
| 995 | "android-support-compat", |
| 996 | "android-support-core-ui", |
| 997 | "android-support-core-utils", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 998 | "android-support-design", |
| 999 | "android-support-dynamic-animation", |
| 1000 | "android-support-exifinterface", |
| 1001 | "android-support-fragment", |
| 1002 | "android-support-media-compat", |
| 1003 | "android-support-percent", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1004 | "android-support-transition", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1005 | "android-support-v7-cardview", |
| 1006 | "android-support-v7-gridlayout", |
| 1007 | "android-support-v7-mediarouter", |
| 1008 | "android-support-v7-palette", |
| 1009 | "android-support-v7-preference", |
| 1010 | "android-support-v13", |
| 1011 | "android-support-v14-preference", |
| 1012 | "android-support-v17-leanback", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1013 | "android-support-vectordrawable", |
| 1014 | "android-support-animatedvectordrawable", |
| 1015 | "android-support-v7-appcompat", |
| 1016 | "android-support-v7-recyclerview", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1017 | "android-support-v8-renderscript", |
| 1018 | "android-support-multidex", |
| 1019 | "android-support-multidex-instrumentation", |
| 1020 | ] |
| 1021 | |
| 1022 | metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " + |
Paul Duffin | 179d970 | 2019-10-18 13:57:19 +0100 | [diff] [blame] | 1023 | "--ignore-classes-on-classpath " + |
Paul Duffin | 7fb7696 | 2019-11-06 14:18:38 +0000 | [diff] [blame] | 1024 | "--hide-package com.android.server " + |
Adrian Roos | c6e2fc8 | 2018-12-12 15:08:44 +0100 | [diff] [blame] | 1025 | "--error UnhiddenSystemApi " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1026 | "--hide RequiresPermission " + |
Adrian Roos | a90de2e | 2019-11-01 18:35:53 +0100 | [diff] [blame] | 1027 | "--hide CallbackInterface " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1028 | "--hide MissingPermission --hide BroadcastBehavior " + |
| 1029 | "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " + |
Jeff Gaston | 8676673 | 2019-10-22 16:30:38 -0400 | [diff] [blame] | 1030 | "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo " + |
| 1031 | "--force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.*" |
Tobias Thierer | 8f55941 | 2019-05-22 20:17:49 +0100 | [diff] [blame] | 1032 | |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1033 | packages_to_document = [ |
| 1034 | "android", |
Jiyong Park | b1d2701 | 2019-09-17 14:51:28 +0900 | [diff] [blame] | 1035 | "dalvik", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1036 | "java", |
| 1037 | "javax", |
Jiyong Park | b1d2701 | 2019-09-17 14:51:28 +0900 | [diff] [blame] | 1038 | "junit", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1039 | "org.apache.http", |
| 1040 | "org.json", |
| 1041 | "org.w3c.dom", |
| 1042 | "org.xml.sax", |
| 1043 | "org.xmlpull", |
| 1044 | ] |
| 1045 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1046 | stubs_defaults { |
| 1047 | name: "framework-doc-stubs-default", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1048 | srcs: [ |
Tobias Thierer | c0c0608 | 2019-11-22 16:33:18 +0000 | [diff] [blame] | 1049 | ":framework-mime-sources", |
Anton Hansson | b4f3557 | 2019-12-02 16:30:22 +0000 | [diff] [blame] | 1050 | ":framework-non-updatable-sources", |
| 1051 | ":framework-updatable-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1052 | "core/java/**/*.logtags", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1053 | "test-base/src/**/*.java", |
| 1054 | ":opt-telephony-srcs", |
| 1055 | ":opt-net-voip-srcs", |
Paul Duffin | e86cc6f | 2019-10-04 10:10:58 +0100 | [diff] [blame] | 1056 | ":core-current-stubs-source", |
Neil Fuller | 3b1b703 | 2019-02-26 12:00:38 +0000 | [diff] [blame] | 1057 | ":core_public_api_files", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1058 | "test-mock/src/**/*.java", |
| 1059 | "test-runner/src/**/*.java", |
| 1060 | ], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1061 | libs: framework_docs_only_libs, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1062 | create_doc_stubs: true, |
| 1063 | annotations_enabled: true, |
| 1064 | api_levels_annotations_enabled: true, |
| 1065 | api_levels_annotations_dirs: [ |
| 1066 | "sdk-dir", |
| 1067 | "api-versions-jars-dir", |
| 1068 | ], |
Jeff Gaston | 6855f1d | 2019-10-09 18:37:18 -0400 | [diff] [blame] | 1069 | previous_api: ":last-released-public-api", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1070 | merge_annotations_dirs: [ |
| 1071 | "metalava-manual", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1072 | ], |
| 1073 | } |
| 1074 | |
| 1075 | doc_defaults { |
| 1076 | name: "framework-docs-default", |
Nan Zhang | b03396e | 2018-10-11 18:06:10 -0700 | [diff] [blame] | 1077 | libs: framework_docs_only_libs + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1078 | ["stub-annotations"], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1079 | html_dirs: [ |
| 1080 | "docs/html", |
| 1081 | ], |
| 1082 | knowntags: [ |
| 1083 | "docs/knowntags.txt", |
| 1084 | ":known-oj-tags", |
| 1085 | ], |
| 1086 | custom_template: "droiddoc-templates-sdk", |
| 1087 | resourcesdir: "docs/html/reference/images/", |
| 1088 | resourcesoutdir: "reference/android/images/", |
| 1089 | hdf: [ |
| 1090 | "dac true", |
| 1091 | "sdk.codename O", |
| 1092 | "sdk.preview.version 1", |
| 1093 | "sdk.version 7.0", |
| 1094 | "sdk.rel.id 1", |
| 1095 | "sdk.preview 0", |
| 1096 | ], |
| 1097 | arg_files: [ |
| 1098 | "core/res/AndroidManifest.xml", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1099 | "core/java/overview.html", |
| 1100 | ":current-support-api", |
Charles Munger | 1b1c0ca | 2019-11-19 14:01:19 -0800 | [diff] [blame] | 1101 | ":current-androidx-api", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1102 | ], |
| 1103 | create_stubs: false, |
| 1104 | } |
| 1105 | |
Tiem Song | 730c19b | 2019-08-26 11:27:27 -0700 | [diff] [blame] | 1106 | doc_defaults { |
| 1107 | name: "framework-dokka-docs-default", |
| 1108 | create_stubs: false, |
| 1109 | } |
| 1110 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1111 | stubs_defaults { |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1112 | name: "metalava-api-stubs-default", |
| 1113 | srcs: [ |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1114 | ":framework-non-updatable-sources", |
Anton Hansson | b4f3557 | 2019-12-02 16:30:22 +0000 | [diff] [blame] | 1115 | ":framework-updatable-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1116 | "core/java/**/*.logtags", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1117 | ":opt-telephony-srcs", |
| 1118 | ":opt-net-voip-srcs", |
Paul Duffin | e86cc6f | 2019-10-04 10:10:58 +0100 | [diff] [blame] | 1119 | ":core-current-stubs-source", |
Neil Fuller | 3b1b703 | 2019-02-26 12:00:38 +0000 | [diff] [blame] | 1120 | ":core_public_api_files", |
evitayan | 69d77da | 2019-10-30 19:58:48 -0700 | [diff] [blame] | 1121 | ":ike-api-srcs", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1122 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1123 | libs: ["framework-internal-utils"], |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1124 | installable: false, |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1125 | annotations_enabled: true, |
Jeff Gaston | 6855f1d | 2019-10-09 18:37:18 -0400 | [diff] [blame] | 1126 | previous_api: ":last-released-public-api", |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1127 | merge_annotations_dirs: [ |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1128 | "metalava-manual", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1129 | ], |
Nan Zhang | 91cc766 | 2018-09-18 10:46:10 -0700 | [diff] [blame] | 1130 | api_levels_annotations_enabled: true, |
| 1131 | api_levels_annotations_dirs: [ |
| 1132 | "sdk-dir", |
| 1133 | "api-versions-jars-dir", |
| 1134 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1135 | sdk_version: "core_platform", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1136 | filter_packages: packages_to_document, |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1137 | } |
| 1138 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1139 | droidstubs { |
| 1140 | name: "framework-doc-stubs", |
| 1141 | defaults: ["framework-doc-stubs-default"], |
| 1142 | arg_files: [ |
| 1143 | "core/res/AndroidManifest.xml", |
| 1144 | ], |
| 1145 | args: metalava_framework_docs_args, |
Jerome Gaillard | b59a1cd | 2019-10-10 19:09:21 +0100 | [diff] [blame] | 1146 | write_sdk_values: true, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1147 | } |
| 1148 | |
| 1149 | droidstubs { |
| 1150 | name: "framework-doc-system-stubs", |
| 1151 | defaults: ["framework-doc-stubs-default"], |
| 1152 | arg_files: [ |
| 1153 | "core/res/AndroidManifest.xml", |
| 1154 | ], |
| 1155 | args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ", |
Jerome Gaillard | b59a1cd | 2019-10-10 19:09:21 +0100 | [diff] [blame] | 1156 | write_sdk_values: true, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1157 | } |
| 1158 | |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1159 | droiddoc { |
| 1160 | name: "doc-comment-check-docs", |
| 1161 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1162 | srcs: [ |
| 1163 | ":framework-doc-stubs", |
| 1164 | ], |
| 1165 | args: framework_docs_only_args + " -referenceonly -parsecomments", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1166 | installable: false, |
| 1167 | } |
| 1168 | |
| 1169 | droiddoc { |
| 1170 | name: "offline-sdk-docs", |
| 1171 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1172 | srcs: [ |
| 1173 | ":framework-doc-stubs", |
| 1174 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1175 | hdf: [ |
| 1176 | "android.whichdoc offline", |
| 1177 | ], |
| 1178 | proofread_file: "offline-sdk-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1179 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1180 | static_doc_index_redirect: "docs/docs-preview-index.html", |
| 1181 | } |
| 1182 | |
| 1183 | droiddoc { |
Nan Zhang | 963612b | 2018-09-21 17:16:49 -0700 | [diff] [blame] | 1184 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 1185 | // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically. |
| 1186 | // See b/116221385 for reference. |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1187 | name: "offline-sdk-referenceonly-docs", |
| 1188 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1189 | srcs: [ |
| 1190 | ":framework-doc-stubs", |
| 1191 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1192 | hdf: [ |
| 1193 | "android.whichdoc offline", |
| 1194 | ], |
| 1195 | proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1196 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1197 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 1198 | static_doc_properties: "docs/source.properties", |
| 1199 | } |
| 1200 | |
| 1201 | droiddoc { |
Nan Zhang | 963612b | 2018-09-21 17:16:49 -0700 | [diff] [blame] | 1202 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 1203 | // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically. |
| 1204 | // See b/116221385 for reference. |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1205 | name: "offline-system-sdk-referenceonly-docs", |
| 1206 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1207 | srcs: [ |
| 1208 | ":framework-doc-system-stubs", |
| 1209 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1210 | hdf: [ |
| 1211 | "android.whichdoc offline", |
| 1212 | ], |
| 1213 | proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt", |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1214 | args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" + |
| 1215 | " -offlinemode -title \"Android System SDK\" -referenceonly", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1216 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 1217 | static_doc_properties: "docs/source.properties", |
| 1218 | } |
| 1219 | |
| 1220 | droiddoc { |
| 1221 | name: "online-sdk-docs", |
| 1222 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1223 | srcs: [ |
| 1224 | ":framework-doc-stubs", |
| 1225 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1226 | hdf: [ |
| 1227 | "android.whichdoc online", |
| 1228 | "android.hasSamples true", |
| 1229 | ], |
| 1230 | proofread_file: "online-sdk-docs-proofrerad.txt", |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1231 | args: framework_docs_only_args + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1232 | " -toroot / -samplegroup Admin " + |
| 1233 | " -samplegroup Background " + |
| 1234 | " -samplegroup Connectivity " + |
| 1235 | " -samplegroup Content " + |
| 1236 | " -samplegroup Input " + |
| 1237 | " -samplegroup Media " + |
| 1238 | " -samplegroup Notification " + |
| 1239 | " -samplegroup RenderScript " + |
| 1240 | " -samplegroup Security " + |
| 1241 | " -samplegroup Sensors " + |
| 1242 | " -samplegroup System " + |
| 1243 | " -samplegroup Testing " + |
| 1244 | " -samplegroup UI " + |
| 1245 | " -samplegroup Views " + |
| 1246 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1247 | } |
| 1248 | |
| 1249 | droiddoc { |
| 1250 | name: "online-system-api-sdk-docs", |
| 1251 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1252 | srcs: [ |
| 1253 | ":framework-doc-system-stubs", |
| 1254 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1255 | hdf: [ |
| 1256 | "android.whichdoc online", |
| 1257 | "android.hasSamples true", |
| 1258 | ], |
| 1259 | proofread_file: "online-system-api-sdk-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1260 | args: framework_docs_only_args + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1261 | " -referenceonly " + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1262 | " -title \"Android SDK - Including system APIs.\" " + |
| 1263 | " -hide 101 " + |
| 1264 | " -hide 104 " + |
| 1265 | " -hide 108 " + |
| 1266 | " -toroot / -samplegroup Admin " + |
| 1267 | " -samplegroup Background " + |
| 1268 | " -samplegroup Connectivity " + |
| 1269 | " -samplegroup Content " + |
| 1270 | " -samplegroup Input " + |
| 1271 | " -samplegroup Media " + |
| 1272 | " -samplegroup Notification " + |
| 1273 | " -samplegroup RenderScript " + |
| 1274 | " -samplegroup Security " + |
| 1275 | " -samplegroup Sensors " + |
| 1276 | " -samplegroup System " + |
| 1277 | " -samplegroup Testing " + |
| 1278 | " -samplegroup UI " + |
| 1279 | " -samplegroup Views " + |
| 1280 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1281 | installable: false, |
| 1282 | } |
| 1283 | |
| 1284 | droiddoc { |
Tiem Song | 730c19b | 2019-08-26 11:27:27 -0700 | [diff] [blame] | 1285 | name: "ds-docs-java", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1286 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1287 | srcs: [ |
| 1288 | ":framework-doc-stubs", |
| 1289 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1290 | hdf: [ |
| 1291 | "android.whichdoc online", |
| 1292 | "android.hasSamples true", |
| 1293 | ], |
| 1294 | proofread_file: "ds-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1295 | args: framework_docs_only_args + |
Dirk Dougherty | 14b05b1 | 2019-02-22 20:36:41 -0800 | [diff] [blame] | 1296 | " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1297 | " -samplegroup Background " + |
| 1298 | " -samplegroup Connectivity " + |
| 1299 | " -samplegroup Content " + |
| 1300 | " -samplegroup Input " + |
| 1301 | " -samplegroup Media " + |
| 1302 | " -samplegroup Notification " + |
| 1303 | " -samplegroup RenderScript " + |
| 1304 | " -samplegroup Security " + |
| 1305 | " -samplegroup Sensors " + |
| 1306 | " -samplegroup System " + |
| 1307 | " -samplegroup Testing " + |
| 1308 | " -samplegroup UI " + |
| 1309 | " -samplegroup Views " + |
| 1310 | " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ", |
| 1311 | } |
| 1312 | |
| 1313 | droiddoc { |
Tiem Song | 730c19b | 2019-08-26 11:27:27 -0700 | [diff] [blame] | 1314 | name: "ds-docs-kt", |
| 1315 | defaults: ["framework-dokka-docs-default"], |
| 1316 | srcs: [ |
| 1317 | ":framework-doc-stubs", |
| 1318 | ], |
| 1319 | args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list " + |
| 1320 | "-noStdlibLink", |
| 1321 | proofread_file: "ds-dokka-proofread.txt", |
| 1322 | dokka_enabled: true, |
| 1323 | } |
| 1324 | |
| 1325 | java_genrule { |
| 1326 | name: "ds-docs", |
| 1327 | tools: [ |
| 1328 | "zip2zip", |
| 1329 | "merge_zips", |
| 1330 | ], |
| 1331 | srcs: [ |
| 1332 | ":ds-docs-java{.docs.zip}", |
| 1333 | ":ds-docs-kt{.docs.zip}", |
| 1334 | ], |
| 1335 | out: ["ds-docs.zip"], |
| 1336 | dist: { |
| 1337 | targets: ["docs"], |
| 1338 | }, |
| 1339 | cmd: "$(location zip2zip) -i $(location :ds-docs-kt{.docs.zip}) -o $(genDir)/ds-docs-kt-moved.zip **/*:en/reference/kotlin && " + |
| 1340 | "$(location merge_zips) $(out) $(location :ds-docs-java{.docs.zip}) $(genDir)/ds-docs-kt-moved.zip", |
| 1341 | } |
| 1342 | |
| 1343 | java_genrule { |
| 1344 | name: "ds-docs-switched", |
| 1345 | tools: [ |
| 1346 | "switcher4", |
| 1347 | "soong_zip", |
| 1348 | ], |
| 1349 | srcs: [ |
| 1350 | ":ds-docs-java{.docs.zip}", |
| 1351 | ":ds-docs-kt{.docs.zip}", |
| 1352 | ], |
| 1353 | out: ["ds-docs-switched.zip"], |
| 1354 | dist: { |
| 1355 | targets: ["docs"], |
| 1356 | }, |
| 1357 | cmd: "unzip $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " + |
| 1358 | "unzip $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " + |
| 1359 | "SWITCHER=$$(cd $$(dirname $(location switcher4)) && pwd)/$$(basename $(location switcher4)) && " + |
| 1360 | "(cd $(genDir)/en/reference && $$SWITCHER --work platform) && " + |
| 1361 | "$(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)", |
| 1362 | } |
| 1363 | |
| 1364 | |
| 1365 | droiddoc { |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1366 | name: "ds-static-docs", |
| 1367 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1368 | srcs: [ |
| 1369 | ":framework-doc-stubs", |
| 1370 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1371 | hdf: [ |
| 1372 | "android.whichdoc online", |
| 1373 | ], |
| 1374 | proofread_file: "ds-static-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1375 | args: framework_docs_only_args + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1376 | " -staticonly " + |
| 1377 | " -toroot / " + |
| 1378 | " -devsite " + |
| 1379 | " -ignoreJdLinks ", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1380 | } |
| 1381 | |
| 1382 | droiddoc { |
| 1383 | name: "ds-ref-navtree-docs", |
| 1384 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1385 | srcs: [ |
| 1386 | ":framework-doc-stubs", |
| 1387 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1388 | hdf: [ |
| 1389 | "android.whichdoc online", |
| 1390 | ], |
| 1391 | proofread_file: "ds-ref-navtree-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1392 | args: framework_docs_only_args + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1393 | " -toroot / " + |
| 1394 | " -atLinksNavtree " + |
| 1395 | " -navtreeonly ", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1396 | } |
| 1397 | |
| 1398 | droiddoc { |
| 1399 | name: "online-sdk-dev-docs", |
| 1400 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1401 | srcs: [ |
| 1402 | ":framework-doc-stubs", |
| 1403 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1404 | hdf: [ |
| 1405 | "android.whichdoc online", |
| 1406 | "android.hasSamples true", |
| 1407 | ], |
| 1408 | proofread_file: "online-sdk-dev-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1409 | args: framework_docs_only_args + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1410 | " -toroot / -samplegroup Admin " + |
| 1411 | " -samplegroup Background " + |
| 1412 | " -samplegroup Connectivity " + |
| 1413 | " -samplegroup Content " + |
| 1414 | " -samplegroup Input " + |
| 1415 | " -samplegroup Media " + |
| 1416 | " -samplegroup Notification " + |
| 1417 | " -samplegroup RenderScript " + |
| 1418 | " -samplegroup Security " + |
| 1419 | " -samplegroup Sensors " + |
| 1420 | " -samplegroup System " + |
| 1421 | " -samplegroup Testing " + |
| 1422 | " -samplegroup UI " + |
| 1423 | " -samplegroup Views " + |
| 1424 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1425 | } |
| 1426 | |
| 1427 | droiddoc { |
| 1428 | name: "hidden-docs", |
| 1429 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1430 | srcs: [ |
| 1431 | ":framework-doc-stubs", |
| 1432 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1433 | proofread_file: "hidden-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1434 | args: framework_docs_only_args + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1435 | " -referenceonly " + |
| 1436 | " -title \"Android SDK - Including hidden APIs.\"", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1437 | } |
| 1438 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1439 | droidstubs { |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1440 | name: "hwbinder-stubs-docs", |
| 1441 | srcs: [ |
| 1442 | "core/java/android/os/HidlSupport.java", |
| 1443 | "core/java/android/annotation/IntDef.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 1444 | "core/java/android/annotation/IntRange.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1445 | "core/java/android/annotation/NonNull.java", |
| 1446 | "core/java/android/annotation/SystemApi.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 1447 | "core/java/android/os/HidlMemory.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1448 | "core/java/android/os/HwBinder.java", |
| 1449 | "core/java/android/os/HwBlob.java", |
| 1450 | "core/java/android/os/HwParcel.java", |
| 1451 | "core/java/android/os/IHwBinder.java", |
| 1452 | "core/java/android/os/IHwInterface.java", |
| 1453 | "core/java/android/os/DeadObjectException.java", |
| 1454 | "core/java/android/os/DeadSystemException.java", |
Nirav Atre | 9850dd9 | 2018-07-24 17:03:44 -0700 | [diff] [blame] | 1455 | "core/java/android/os/NativeHandle.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1456 | "core/java/android/os/RemoteException.java", |
| 1457 | "core/java/android/util/AndroidException.java", |
| 1458 | ], |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1459 | installable: false, |
Paul Duffin | 8fcace4 | 2019-06-12 13:47:18 +0100 | [diff] [blame] | 1460 | sdk_version: "core_platform", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1461 | annotations_enabled: true, |
Jeff Gaston | 6855f1d | 2019-10-09 18:37:18 -0400 | [diff] [blame] | 1462 | previous_api: ":last-released-public-api", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1463 | merge_annotations_dirs: [ |
| 1464 | "metalava-manual", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1465 | ], |
| 1466 | args: " --show-annotation android.annotation.SystemApi", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1467 | } |
| 1468 | |
| 1469 | java_library_static { |
| 1470 | name: "hwbinder.stubs", |
| 1471 | sdk_version: "core_current", |
| 1472 | srcs: [ |
| 1473 | ":hwbinder-stubs-docs", |
| 1474 | ], |
| 1475 | } |
Nan Zhang | a0f91af | 2018-04-09 17:41:51 -0700 | [diff] [blame] | 1476 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1477 | droidstubs { |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1478 | name: "hiddenapi-lists-docs", |
| 1479 | defaults: ["metalava-api-stubs-default"], |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1480 | arg_files: [ |
| 1481 | "core/res/AndroidManifest.xml", |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1482 | ], |
David Brazdil | 6f6a126 | 2018-05-31 13:58:41 +0100 | [diff] [blame] | 1483 | dex_api_filename: "public-dex.txt", |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1484 | private_dex_api_filename: "private-dex.txt", |
| 1485 | removed_dex_api_filename: "removed-dex.txt", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1486 | args: metalava_framework_docs_args + |
| 1487 | " --show-unannotated " + |
| 1488 | " --show-annotation android.annotation.SystemApi " + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1489 | " --show-annotation android.annotation.TestApi ", |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1490 | } |
| 1491 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1492 | droidstubs { |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1493 | name: "hiddenapi-mappings", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1494 | defaults: ["metalava-api-stubs-default"], |
Jiyong Park | 68020f8 | 2019-08-23 20:36:58 +0900 | [diff] [blame] | 1495 | srcs: [ |
Andrei Onea | 6dd843a | 2019-03-13 15:27:23 +0000 | [diff] [blame] | 1496 | ":opt-telephony-common-srcs", |
Paul Duffin | a0cb538 | 2018-10-31 10:34:51 +0000 | [diff] [blame] | 1497 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1498 | |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1499 | arg_files: [ |
| 1500 | "core/res/AndroidManifest.xml", |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1501 | ], |
| 1502 | dex_mapping_filename: "dex-mapping.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1503 | args: metalava_framework_docs_args + |
Adrian Roos | 9bdbd30 | 2018-12-07 13:53:40 +0100 | [diff] [blame] | 1504 | " --hide ReferencesHidden " + |
Adrian Roos | c6e2fc8 | 2018-12-12 15:08:44 +0100 | [diff] [blame] | 1505 | " --hide UnhiddenSystemApi " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1506 | " --show-unannotated " + |
| 1507 | " --show-annotation android.annotation.SystemApi " + |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1508 | " --show-annotation android.annotation.TestApi ", |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1509 | } |
| 1510 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1511 | droidstubs { |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1512 | name: "api-stubs-docs", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1513 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1514 | api_filename: "public_api.txt", |
| 1515 | private_api_filename: "private.txt", |
| 1516 | removed_api_filename: "removed.txt", |
| 1517 | arg_files: [ |
| 1518 | "core/res/AndroidManifest.xml", |
| 1519 | ], |
| 1520 | args: metalava_framework_docs_args, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1521 | check_api: { |
| 1522 | current: { |
| 1523 | api_file: "api/current.txt", |
| 1524 | removed_api_file: "api/removed.txt", |
| 1525 | }, |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1526 | last_released: { |
| 1527 | api_file: ":last-released-public-api", |
| 1528 | removed_api_file: "api/removed.txt", |
Adrian Roos | 9597f8c | 2019-08-12 17:47:39 +0200 | [diff] [blame] | 1529 | baseline_file: ":public-api-incompatibilities-with-last-released", |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1530 | }, |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 1531 | api_lint: { |
| 1532 | enabled: true, |
| 1533 | new_since: ":last-released-public-api", |
| 1534 | baseline_file: "api/lint-baseline.txt", |
| 1535 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1536 | }, |
Nan Zhang | 81f29f5 | 2018-09-17 14:33:08 -0700 | [diff] [blame] | 1537 | jdiff_enabled: true, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1538 | } |
| 1539 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1540 | droidstubs { |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1541 | name: "system-api-stubs-docs", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1542 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1543 | api_tag_name: "SYSTEM", |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1544 | api_filename: "system-api.txt", |
| 1545 | private_api_filename: "system-private.txt", |
| 1546 | private_dex_api_filename: "system-private-dex.txt", |
| 1547 | removed_api_filename: "system-removed.txt", |
| 1548 | arg_files: [ |
| 1549 | "core/res/AndroidManifest.xml", |
| 1550 | ], |
| 1551 | args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi", |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1552 | check_api: { |
| 1553 | current: { |
| 1554 | api_file: "api/system-current.txt", |
| 1555 | removed_api_file: "api/system-removed.txt", |
| 1556 | }, |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1557 | last_released: { |
| 1558 | api_file: ":last-released-system-api", |
| 1559 | removed_api_file: "api/system-removed.txt", |
Adrian Roos | 9597f8c | 2019-08-12 17:47:39 +0200 | [diff] [blame] | 1560 | baseline_file: ":system-api-incompatibilities-with-last-released" |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1561 | }, |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 1562 | api_lint: { |
| 1563 | enabled: true, |
| 1564 | new_since: ":last-released-system-api", |
| 1565 | baseline_file: "api/system-lint-baseline.txt", |
| 1566 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1567 | }, |
Nan Zhang | 81f29f5 | 2018-09-17 14:33:08 -0700 | [diff] [blame] | 1568 | jdiff_enabled: true, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1569 | } |
| 1570 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1571 | droidstubs { |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1572 | name: "test-api-stubs-docs", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1573 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1574 | api_tag_name: "TEST", |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1575 | api_filename: "test-api.txt", |
| 1576 | removed_api_filename: "test-removed.txt", |
| 1577 | arg_files: [ |
| 1578 | "core/res/AndroidManifest.xml", |
| 1579 | ], |
| 1580 | args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi", |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1581 | check_api: { |
| 1582 | current: { |
| 1583 | api_file: "api/test-current.txt", |
| 1584 | removed_api_file: "api/test-removed.txt", |
| 1585 | }, |
Adrian Roos | 7c68a402 | 2019-10-31 16:54:47 +0100 | [diff] [blame] | 1586 | api_lint: { |
| 1587 | enabled: true, |
| 1588 | baseline_file: "api/test-lint-baseline.txt", |
| 1589 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1590 | }, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1591 | } |
Nan Zhang | af25130 | 2018-08-30 10:59:51 -0700 | [diff] [blame] | 1592 | |
| 1593 | filegroup { |
| 1594 | name: "framework-annotation-nonnull-srcs", |
| 1595 | srcs: [ |
| 1596 | "core/java/android/annotation/NonNull.java", |
| 1597 | ], |
| 1598 | } |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1599 | |
| 1600 | filegroup { |
| 1601 | name: "framework-media-annotation-srcs", |
| 1602 | srcs: [ |
| 1603 | "core/java/android/annotation/CallbackExecutor.java", |
Insun Kang | f86a56c | 2019-01-22 17:16:07 +0900 | [diff] [blame] | 1604 | "core/java/android/annotation/CallSuper.java", |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1605 | "core/java/android/annotation/DrawableRes.java", |
| 1606 | "core/java/android/annotation/IntDef.java", |
| 1607 | "core/java/android/annotation/LongDef.java", |
| 1608 | "core/java/android/annotation/NonNull.java", |
| 1609 | "core/java/android/annotation/Nullable.java", |
| 1610 | "core/java/android/annotation/RequiresPermission.java", |
| 1611 | "core/java/android/annotation/SdkConstant.java", |
| 1612 | "core/java/android/annotation/StringDef.java", |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 1613 | "core/java/android/annotation/SystemApi.java", |
Dongwon Kang | 3584c66 | 2018-11-27 11:14:08 -0800 | [diff] [blame] | 1614 | "core/java/android/annotation/TestApi.java", |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1615 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Dongwon Kang | 3584c66 | 2018-11-27 11:14:08 -0800 | [diff] [blame] | 1616 | "core/java/com/android/internal/annotations/GuardedBy.java", |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1617 | ], |
| 1618 | } |
| 1619 | |
Andrei Onea | 7a2985c | 2019-02-18 15:28:35 +0000 | [diff] [blame] | 1620 | // Creates an index of AIDL methods; used for adding UnsupportedAppUsage |
| 1621 | // annotations to private apis |
| 1622 | aidl_mapping { |
| 1623 | name: "framework-aidl-mappings", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1624 | srcs: [":framework-all-sources"], |
Tobias Thierer | bc05034a | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1625 | output: "framework-aidl-mappings.txt", |
Kyunglyul Hyun | d51666d | 2019-04-11 04:08:40 +0000 | [diff] [blame] | 1626 | } |
Anna Trostanetski | 97088e9 | 2019-06-26 14:47:58 +0100 | [diff] [blame] | 1627 | |
| 1628 | genrule { |
| 1629 | name: "framework-annotation-proc-index", |
Jiyong Park | 9718349 | 2019-11-14 03:07:36 +0000 | [diff] [blame] | 1630 | srcs: [":framework-annotation-proc"], |
Anna Trostanetski | 97088e9 | 2019-06-26 14:47:58 +0100 | [diff] [blame] | 1631 | cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)", |
| 1632 | out: ["unsupportedappusage_index.csv"], |
| 1633 | dist: { |
| 1634 | targets: ["droidcore"], |
| 1635 | }, |
| 1636 | } |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1637 | |
| 1638 | // Avoid including Parcelable classes as we don't want to have two copies of |
| 1639 | // Parcelable cross the process. |
| 1640 | filegroup { |
| 1641 | name: "framework-telephony-stack-shared-srcs", |
| 1642 | srcs: [ |
| 1643 | "core/java/android/os/RegistrantList.java", |
| 1644 | "core/java/android/os/Registrant.java", |
| 1645 | "core/java/android/util/LocalLog.java", |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1646 | "core/java/android/util/TimeUtils.java", |
| 1647 | "core/java/com/android/internal/os/SomeArgs.java", |
Michele | badc021 | 2019-10-31 11:48:43 -0700 | [diff] [blame] | 1648 | "core/java/com/android/internal/util/FastXmlSerializer.java", |
| 1649 | "core/java/com/android/internal/util/HexDump.java", |
Meng Wang | 64fffb9 | 2019-12-02 10:42:20 -0800 | [diff] [blame] | 1650 | "core/java/com/android/internal/util/IState.java", |
Michele | badc021 | 2019-10-31 11:48:43 -0700 | [diff] [blame] | 1651 | "core/java/com/android/internal/util/IndentingPrintWriter.java", |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1652 | "core/java/com/android/internal/util/Preconditions.java", |
| 1653 | "core/java/com/android/internal/util/State.java", |
| 1654 | "core/java/com/android/internal/util/StateMachine.java", |
Michele | badc021 | 2019-10-31 11:48:43 -0700 | [diff] [blame] | 1655 | "core/java/com/android/internal/util/UserIcons.java", |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1656 | ], |
| 1657 | } |
| 1658 | |
Chen Xu | 4fea79c | 2019-10-08 18:39:03 -0700 | [diff] [blame] | 1659 | // Avoid including Parcelable classes as we don't want to have two copies of |
| 1660 | // Parcelable cross the process. |
| 1661 | filegroup { |
| 1662 | name: "framework-cellbroadcast-shared-srcs", |
| 1663 | srcs: [ |
Jordan Liu | 15a7274 | 2019-11-20 13:55:18 -0800 | [diff] [blame] | 1664 | "core/java/android/os/HandlerExecutor.java", |
Chen Xu | 4fea79c | 2019-10-08 18:39:03 -0700 | [diff] [blame] | 1665 | "core/java/android/util/LocalLog.java", |
Jordan Liu | 15a7274 | 2019-11-20 13:55:18 -0800 | [diff] [blame] | 1666 | "core/java/com/android/internal/util/IState.java", |
| 1667 | "core/java/com/android/internal/util/Preconditions.java", |
Chen Xu | 4fea79c | 2019-10-08 18:39:03 -0700 | [diff] [blame] | 1668 | "core/java/com/android/internal/util/State.java", |
| 1669 | "core/java/com/android/internal/util/StateMachine.java", |
| 1670 | ], |
atrost | ce84de0 | 2019-10-08 16:16:47 +0100 | [diff] [blame] | 1671 | } |
Roshan Pius | 09de13e | 2019-10-16 13:16:04 -0700 | [diff] [blame] | 1672 | |
| 1673 | filegroup { |
Jayachandran C | eeffa01 | 2019-10-23 18:06:33 -0700 | [diff] [blame] | 1674 | name: "framework-ims-common-shared-srcs", |
| 1675 | srcs: [ |
Jayachandran C | eeffa01 | 2019-10-23 18:06:33 -0700 | [diff] [blame] | 1676 | "core/java/android/os/RegistrantList.java", |
| 1677 | "core/java/android/os/Registrant.java", |
| 1678 | "core/java/com/android/internal/os/SomeArgs.java", |
| 1679 | "core/java/com/android/internal/util/Preconditions.java", |
| 1680 | ], |
| 1681 | } |
| 1682 | |
| 1683 | filegroup { |
Roshan Pius | 09de13e | 2019-10-16 13:16:04 -0700 | [diff] [blame] | 1684 | name: "framework-wifistack-shared-srcs", |
| 1685 | srcs: [ |
| 1686 | ":framework-annotations", |
Roshan Pius | b0d9a24 | 2019-11-04 07:29:53 -0800 | [diff] [blame] | 1687 | "core/java/android/os/HandlerExecutor.java", |
Roshan Pius | 04769a5 | 2019-12-04 13:03:47 -0800 | [diff] [blame] | 1688 | "core/java/android/util/BackupUtils.java", |
Roshan Pius | 09de13e | 2019-10-16 13:16:04 -0700 | [diff] [blame] | 1689 | "core/java/android/util/KeyValueListParser.java", |
| 1690 | "core/java/android/util/LocalLog.java", |
| 1691 | "core/java/android/util/Rational.java", |
| 1692 | "core/java/android/util/proto/ProtoStream.java", |
| 1693 | "core/java/android/util/proto/ProtoOutputStream.java", |
| 1694 | "core/java/com/android/internal/util/FastXmlSerializer.java", |
| 1695 | "core/java/com/android/internal/util/HexDump.java", |
| 1696 | "core/java/com/android/internal/util/IState.java", |
| 1697 | "core/java/com/android/internal/util/MessageUtils.java", |
| 1698 | "core/java/com/android/internal/util/Preconditions.java", |
| 1699 | "core/java/com/android/internal/util/State.java", |
| 1700 | "core/java/com/android/internal/util/StateMachine.java", |
| 1701 | "core/java/com/android/internal/util/WakeupMessage.java", |
| 1702 | "core/java/com/android/internal/util/XmlUtils.java", |
| 1703 | ], |
| 1704 | } |