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