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 { |
Songchun Fan | 6dd47b5 | 2019-11-29 15:20:18 -0800 | [diff] [blame] | 806 | name: "dataloader_aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 807 | srcs: [ |
Songchun Fan | 6dd47b5 | 2019-11-29 15:20:18 -0800 | [diff] [blame] | 808 | "core/java/android/content/pm/IDataLoaderStatusListener.aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 809 | ], |
| 810 | path: "core/java", |
| 811 | } |
| 812 | |
| 813 | aidl_interface { |
| 814 | name: "libincremental_aidl", |
| 815 | srcs: [ |
| 816 | ":incremental_aidl", |
Songchun Fan | 6dd47b5 | 2019-11-29 15:20:18 -0800 | [diff] [blame] | 817 | ], |
| 818 | imports: [ |
| 819 | "libdataloader_aidl", |
| 820 | ], |
| 821 | backend: { |
| 822 | java: { |
| 823 | sdk_version: "28", |
| 824 | }, |
| 825 | cpp: { |
| 826 | enabled: true, |
| 827 | }, |
| 828 | ndk: { |
| 829 | enabled: true, |
| 830 | }, |
| 831 | }, |
| 832 | } |
| 833 | |
| 834 | aidl_interface { |
| 835 | name: "libdataloader_aidl", |
| 836 | srcs: [ |
| 837 | ":dataloader_aidl", |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 838 | ], |
| 839 | backend: { |
| 840 | java: { |
| 841 | sdk_version: "28", |
| 842 | }, |
| 843 | cpp: { |
| 844 | enabled: true, |
| 845 | }, |
| 846 | ndk: { |
| 847 | enabled: true, |
| 848 | }, |
| 849 | }, |
Songchun Fan | 0037c3f | 2019-10-30 15:20:59 -0700 | [diff] [blame] | 850 | } |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 851 | |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 852 | gensrcs { |
| 853 | name: "gen-platform-proto-constants", |
| 854 | depfile: true, |
| 855 | |
| 856 | tools: [ |
| 857 | "aprotoc", |
| 858 | "protoc-gen-cppstream", |
| 859 | ], |
| 860 | |
| 861 | srcs: [ |
Kweku Adams | eadd123 | 2018-02-05 16:45:13 -0800 | [diff] [blame] | 862 | "core/proto/android/os/backtrace.proto", |
Kweku Adams | 59e6fd7 | 2017-12-27 15:48:14 -0800 | [diff] [blame] | 863 | "core/proto/android/os/batterytype.proto", |
Yi Jin | 0eb2234 | 2017-11-06 17:17:27 -0800 | [diff] [blame] | 864 | "core/proto/android/os/cpufreq.proto", |
Yi Jin | e2f7f79 | 2017-11-01 17:08:27 -0700 | [diff] [blame] | 865 | "core/proto/android/os/cpuinfo.proto", |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 866 | "core/proto/android/os/data.proto", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 867 | "core/proto/android/os/kernelwake.proto", |
| 868 | "core/proto/android/os/pagetypeinfo.proto", |
| 869 | "core/proto/android/os/procrank.proto", |
Kweku Adams | f5cc575 | 2017-12-20 17:59:17 -0800 | [diff] [blame] | 870 | "core/proto/android/os/ps.proto", |
Yi Jin | 0dfa752 | 2017-11-06 17:43:47 -0800 | [diff] [blame] | 871 | "core/proto/android/os/system_properties.proto", |
Yi Jin | 3c034c9 | 2017-12-22 17:36:47 -0800 | [diff] [blame] | 872 | "core/proto/android/util/event_log_tags.proto", |
Colin Cross | bc2dc31 | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 873 | "core/proto/android/util/log.proto", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 874 | ], |
| 875 | |
| 876 | // 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] | 877 | cmd: "mkdir -p $(genDir) " + |
| 878 | "&& $(location aprotoc) " + |
| 879 | " --plugin=$(location protoc-gen-cppstream) " + |
| 880 | " --dependency_out=$(depfile) " + |
| 881 | " --cppstream_out=$(genDir) " + |
| 882 | " -Iexternal/protobuf/src " + |
| 883 | " -I . " + |
| 884 | " $(in)", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 885 | |
Logan Chien | 71ddfea | 2018-02-27 16:43:50 +0800 | [diff] [blame] | 886 | output_extension: "proto.h", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 887 | } |
| 888 | |
Joe Onorato | 99598ee | 2019-02-11 15:55:13 +0000 | [diff] [blame] | 889 | |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 890 | subdirs = [ |
Yi Jin | 0a3406f | 2017-06-22 19:23:11 -0700 | [diff] [blame] | 891 | "cmds/*", |
Jeff Sharkey | 0c686e7 | 2017-10-23 16:04:31 -0600 | [diff] [blame] | 892 | "core/*", |
Colin Cross | 4f8d9e6 | 2016-12-01 15:55:00 -0800 | [diff] [blame] | 893 | "libs/*", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 894 | "media/*", |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 895 | "proto", |
Fabien Sanglard | 1916020 | 2017-01-12 14:24:31 -0500 | [diff] [blame] | 896 | "tools/*", |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 897 | "native/android", |
Dan Albert | 7ce8df3 | 2016-09-23 16:43:49 -0700 | [diff] [blame] | 898 | "native/graphics/jni", |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 899 | ] |
Svetoslav Ganov | 74c9983 | 2016-12-05 20:07:20 -0800 | [diff] [blame] | 900 | |
| 901 | optional_subdirs = [ |
| 902 | "core/tests/utiltests/jni", |
| 903 | ] |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 904 | |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 905 | // TODO(b/77285514): remove this once the last few hidl interfaces have been |
| 906 | // updated to use hwbinder.stubs. |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 907 | java_library { |
| 908 | name: "hwbinder", |
Paul Duffin | 8fcace4 | 2019-06-12 13:47:18 +0100 | [diff] [blame] | 909 | sdk_version: "core_platform", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 910 | |
| 911 | srcs: [ |
| 912 | "core/java/android/os/HidlSupport.java", |
Steven Moreland | e8e63aa | 2018-01-10 15:45:36 -0800 | [diff] [blame] | 913 | "core/java/android/annotation/IntDef.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 914 | "core/java/android/annotation/IntRange.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 915 | "core/java/android/annotation/NonNull.java", |
Steven Moreland | 0ff061a | 2019-03-04 17:56:30 -0800 | [diff] [blame] | 916 | "core/java/android/annotation/Nullable.java", |
Steven Moreland | e8e63aa | 2018-01-10 15:45:36 -0800 | [diff] [blame] | 917 | "core/java/android/annotation/SystemApi.java", |
Steven Moreland | cbba4c7 | 2019-01-11 10:19:51 -0800 | [diff] [blame] | 918 | "core/java/android/annotation/TestApi.java", |
Andrei Onea | 24ec321 | 2019-03-15 17:35:05 +0000 | [diff] [blame] | 919 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 920 | "core/java/android/os/HidlMemory.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 921 | "core/java/android/os/HwBinder.java", |
| 922 | "core/java/android/os/HwBlob.java", |
| 923 | "core/java/android/os/HwParcel.java", |
| 924 | "core/java/android/os/IHwBinder.java", |
| 925 | "core/java/android/os/IHwInterface.java", |
| 926 | "core/java/android/os/DeadObjectException.java", |
| 927 | "core/java/android/os/DeadSystemException.java", |
Nirav Atre | 9850dd9 | 2018-07-24 17:03:44 -0700 | [diff] [blame] | 928 | "core/java/android/os/NativeHandle.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 929 | "core/java/android/os/RemoteException.java", |
| 930 | "core/java/android/util/AndroidException.java", |
| 931 | ], |
| 932 | |
| 933 | dxflags: ["--core-library"], |
| 934 | installable: false, |
| 935 | } |
Nan Zhang | 2db709d | 2017-11-08 20:48:46 -0800 | [diff] [blame] | 936 | |
| 937 | python_defaults { |
| 938 | name: "base_default", |
| 939 | version: { |
| 940 | py2: { |
| 941 | enabled: true, |
| 942 | embedded_launcher: true, |
| 943 | }, |
| 944 | py3: { |
| 945 | enabled: false, |
| 946 | embedded_launcher: false, |
| 947 | }, |
| 948 | }, |
| 949 | } |
| 950 | |
| 951 | python_binary_host { |
| 952 | name: "fontchain_linter", |
| 953 | defaults: ["base_default"], |
| 954 | main: "tools/fonts/fontchain_linter.py", |
| 955 | srcs: [ |
| 956 | "tools/fonts/fontchain_linter.py", |
| 957 | ], |
| 958 | libs: [ |
| 959 | "fontTools", |
| 960 | ], |
| 961 | } |
Nan Zhang | 172875b | 2018-02-27 11:24:03 -0800 | [diff] [blame] | 962 | |
Paul Duffin | 0440e1f | 2019-02-11 16:13:25 +0000 | [diff] [blame] | 963 | // Make the api/current.txt file available for use by modules in other |
| 964 | // directories. |
| 965 | filegroup { |
| 966 | name: "frameworks-base-api-current.txt", |
| 967 | srcs: [ |
| 968 | "api/current.txt", |
| 969 | ], |
| 970 | } |
| 971 | |
Paul Duffin | cd35de3 | 2019-05-30 15:12:47 +0100 | [diff] [blame] | 972 | // Make the api/system-current.txt file available for use by modules in other |
| 973 | // directories. |
| 974 | filegroup { |
| 975 | name: "frameworks-base-api-system-current.txt", |
| 976 | srcs: [ |
| 977 | "api/system-current.txt", |
| 978 | ], |
| 979 | } |
| 980 | |
| 981 | // Make the api/system-removed.txt file available for use by modules in other |
| 982 | // directories. |
| 983 | filegroup { |
| 984 | name: "frameworks-base-api-system-removed.txt", |
| 985 | srcs: [ |
| 986 | "api/system-removed.txt", |
| 987 | ], |
| 988 | } |
| 989 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 990 | framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 991 | "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " + |
| 992 | "-overview $(location core/java/overview.html) " + |
| 993 | // Federate Support Library references against local API file. |
| 994 | "-federate SupportLib https://developer.android.com " + |
Charles Munger | 1b1c0ca | 2019-11-19 14:01:19 -0800 | [diff] [blame] | 995 | "-federationapi SupportLib $(location :current-support-api) " + |
| 996 | // Federate Support Library references against local API file. |
| 997 | "-federate AndroidX https://developer.android.com " + |
| 998 | "-federationapi AndroidX $(location :current-androidx-api) " |
Nan Zhang | 172875b | 2018-02-27 11:24:03 -0800 | [diff] [blame] | 999 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1000 | framework_docs_only_libs = [ |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1001 | "voip-common", |
| 1002 | "android.test.mock", |
| 1003 | "android-support-annotations", |
| 1004 | "android-support-compat", |
| 1005 | "android-support-core-ui", |
| 1006 | "android-support-core-utils", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1007 | "android-support-design", |
| 1008 | "android-support-dynamic-animation", |
| 1009 | "android-support-exifinterface", |
| 1010 | "android-support-fragment", |
| 1011 | "android-support-media-compat", |
| 1012 | "android-support-percent", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1013 | "android-support-transition", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1014 | "android-support-v7-cardview", |
| 1015 | "android-support-v7-gridlayout", |
| 1016 | "android-support-v7-mediarouter", |
| 1017 | "android-support-v7-palette", |
| 1018 | "android-support-v7-preference", |
| 1019 | "android-support-v13", |
| 1020 | "android-support-v14-preference", |
| 1021 | "android-support-v17-leanback", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1022 | "android-support-vectordrawable", |
| 1023 | "android-support-animatedvectordrawable", |
| 1024 | "android-support-v7-appcompat", |
| 1025 | "android-support-v7-recyclerview", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1026 | "android-support-v8-renderscript", |
| 1027 | "android-support-multidex", |
| 1028 | "android-support-multidex-instrumentation", |
| 1029 | ] |
| 1030 | |
| 1031 | metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " + |
Paul Duffin | 179d970 | 2019-10-18 13:57:19 +0100 | [diff] [blame] | 1032 | "--ignore-classes-on-classpath " + |
Paul Duffin | 7fb7696 | 2019-11-06 14:18:38 +0000 | [diff] [blame] | 1033 | "--hide-package com.android.server " + |
Adrian Roos | c6e2fc8 | 2018-12-12 15:08:44 +0100 | [diff] [blame] | 1034 | "--error UnhiddenSystemApi " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1035 | "--hide RequiresPermission " + |
Adrian Roos | a90de2e | 2019-11-01 18:35:53 +0100 | [diff] [blame] | 1036 | "--hide CallbackInterface " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1037 | "--hide MissingPermission --hide BroadcastBehavior " + |
| 1038 | "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " + |
Jeff Gaston | 8676673 | 2019-10-22 16:30:38 -0400 | [diff] [blame] | 1039 | "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo " + |
| 1040 | "--force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.*" |
Tobias Thierer | 8f55941 | 2019-05-22 20:17:49 +0100 | [diff] [blame] | 1041 | |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1042 | packages_to_document = [ |
| 1043 | "android", |
Jiyong Park | b1d2701 | 2019-09-17 14:51:28 +0900 | [diff] [blame] | 1044 | "dalvik", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1045 | "java", |
| 1046 | "javax", |
Jiyong Park | b1d2701 | 2019-09-17 14:51:28 +0900 | [diff] [blame] | 1047 | "junit", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1048 | "org.apache.http", |
| 1049 | "org.json", |
| 1050 | "org.w3c.dom", |
| 1051 | "org.xml.sax", |
| 1052 | "org.xmlpull", |
| 1053 | ] |
| 1054 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1055 | stubs_defaults { |
| 1056 | name: "framework-doc-stubs-default", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1057 | srcs: [ |
Tobias Thierer | c0c0608 | 2019-11-22 16:33:18 +0000 | [diff] [blame] | 1058 | ":framework-mime-sources", |
Anton Hansson | b4f3557 | 2019-12-02 16:30:22 +0000 | [diff] [blame] | 1059 | ":framework-non-updatable-sources", |
| 1060 | ":framework-updatable-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1061 | "core/java/**/*.logtags", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1062 | "test-base/src/**/*.java", |
| 1063 | ":opt-telephony-srcs", |
| 1064 | ":opt-net-voip-srcs", |
Paul Duffin | e86cc6f | 2019-10-04 10:10:58 +0100 | [diff] [blame] | 1065 | ":core-current-stubs-source", |
Neil Fuller | 3b1b703 | 2019-02-26 12:00:38 +0000 | [diff] [blame] | 1066 | ":core_public_api_files", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1067 | "test-mock/src/**/*.java", |
| 1068 | "test-runner/src/**/*.java", |
| 1069 | ], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1070 | libs: framework_docs_only_libs, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1071 | create_doc_stubs: true, |
| 1072 | annotations_enabled: true, |
| 1073 | api_levels_annotations_enabled: true, |
| 1074 | api_levels_annotations_dirs: [ |
| 1075 | "sdk-dir", |
| 1076 | "api-versions-jars-dir", |
| 1077 | ], |
Jeff Gaston | 6855f1d | 2019-10-09 18:37:18 -0400 | [diff] [blame] | 1078 | previous_api: ":last-released-public-api", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1079 | merge_annotations_dirs: [ |
| 1080 | "metalava-manual", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1081 | ], |
| 1082 | } |
| 1083 | |
| 1084 | doc_defaults { |
| 1085 | name: "framework-docs-default", |
Nan Zhang | b03396e | 2018-10-11 18:06:10 -0700 | [diff] [blame] | 1086 | libs: framework_docs_only_libs + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1087 | ["stub-annotations"], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1088 | html_dirs: [ |
| 1089 | "docs/html", |
| 1090 | ], |
| 1091 | knowntags: [ |
| 1092 | "docs/knowntags.txt", |
| 1093 | ":known-oj-tags", |
| 1094 | ], |
| 1095 | custom_template: "droiddoc-templates-sdk", |
| 1096 | resourcesdir: "docs/html/reference/images/", |
| 1097 | resourcesoutdir: "reference/android/images/", |
| 1098 | hdf: [ |
| 1099 | "dac true", |
| 1100 | "sdk.codename O", |
| 1101 | "sdk.preview.version 1", |
| 1102 | "sdk.version 7.0", |
| 1103 | "sdk.rel.id 1", |
| 1104 | "sdk.preview 0", |
| 1105 | ], |
| 1106 | arg_files: [ |
| 1107 | "core/res/AndroidManifest.xml", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1108 | "core/java/overview.html", |
| 1109 | ":current-support-api", |
Charles Munger | 1b1c0ca | 2019-11-19 14:01:19 -0800 | [diff] [blame] | 1110 | ":current-androidx-api", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1111 | ], |
| 1112 | create_stubs: false, |
| 1113 | } |
| 1114 | |
Tiem Song | 730c19b | 2019-08-26 11:27:27 -0700 | [diff] [blame] | 1115 | doc_defaults { |
| 1116 | name: "framework-dokka-docs-default", |
| 1117 | create_stubs: false, |
| 1118 | } |
| 1119 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1120 | stubs_defaults { |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1121 | name: "metalava-api-stubs-default", |
| 1122 | srcs: [ |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1123 | ":framework-non-updatable-sources", |
Anton Hansson | b4f3557 | 2019-12-02 16:30:22 +0000 | [diff] [blame] | 1124 | ":framework-updatable-sources", |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1125 | "core/java/**/*.logtags", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1126 | ":opt-telephony-srcs", |
| 1127 | ":opt-net-voip-srcs", |
Paul Duffin | e86cc6f | 2019-10-04 10:10:58 +0100 | [diff] [blame] | 1128 | ":core-current-stubs-source", |
Neil Fuller | 3b1b703 | 2019-02-26 12:00:38 +0000 | [diff] [blame] | 1129 | ":core_public_api_files", |
evitayan | 69d77da | 2019-10-30 19:58:48 -0700 | [diff] [blame] | 1130 | ":ike-api-srcs", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1131 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1132 | libs: ["framework-internal-utils"], |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1133 | installable: false, |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1134 | annotations_enabled: true, |
Jeff Gaston | 6855f1d | 2019-10-09 18:37:18 -0400 | [diff] [blame] | 1135 | previous_api: ":last-released-public-api", |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1136 | merge_annotations_dirs: [ |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1137 | "metalava-manual", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1138 | ], |
Nan Zhang | 91cc766 | 2018-09-18 10:46:10 -0700 | [diff] [blame] | 1139 | api_levels_annotations_enabled: true, |
| 1140 | api_levels_annotations_dirs: [ |
| 1141 | "sdk-dir", |
| 1142 | "api-versions-jars-dir", |
| 1143 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1144 | sdk_version: "core_platform", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1145 | filter_packages: packages_to_document, |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1146 | } |
| 1147 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1148 | droidstubs { |
| 1149 | name: "framework-doc-stubs", |
| 1150 | defaults: ["framework-doc-stubs-default"], |
| 1151 | arg_files: [ |
| 1152 | "core/res/AndroidManifest.xml", |
| 1153 | ], |
| 1154 | args: metalava_framework_docs_args, |
Jerome Gaillard | b59a1cd | 2019-10-10 19:09:21 +0100 | [diff] [blame] | 1155 | write_sdk_values: true, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1156 | } |
| 1157 | |
| 1158 | droidstubs { |
| 1159 | name: "framework-doc-system-stubs", |
| 1160 | defaults: ["framework-doc-stubs-default"], |
| 1161 | arg_files: [ |
| 1162 | "core/res/AndroidManifest.xml", |
| 1163 | ], |
| 1164 | args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ", |
Jerome Gaillard | b59a1cd | 2019-10-10 19:09:21 +0100 | [diff] [blame] | 1165 | write_sdk_values: true, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1166 | } |
| 1167 | |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1168 | droiddoc { |
| 1169 | name: "doc-comment-check-docs", |
| 1170 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1171 | srcs: [ |
| 1172 | ":framework-doc-stubs", |
| 1173 | ], |
| 1174 | args: framework_docs_only_args + " -referenceonly -parsecomments", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1175 | installable: false, |
| 1176 | } |
| 1177 | |
| 1178 | droiddoc { |
| 1179 | name: "offline-sdk-docs", |
| 1180 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1181 | srcs: [ |
| 1182 | ":framework-doc-stubs", |
| 1183 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1184 | hdf: [ |
| 1185 | "android.whichdoc offline", |
| 1186 | ], |
| 1187 | proofread_file: "offline-sdk-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1188 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1189 | static_doc_index_redirect: "docs/docs-preview-index.html", |
| 1190 | } |
| 1191 | |
| 1192 | droiddoc { |
Nan Zhang | 963612b | 2018-09-21 17:16:49 -0700 | [diff] [blame] | 1193 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 1194 | // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically. |
| 1195 | // See b/116221385 for reference. |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1196 | name: "offline-sdk-referenceonly-docs", |
| 1197 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1198 | srcs: [ |
| 1199 | ":framework-doc-stubs", |
| 1200 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1201 | hdf: [ |
| 1202 | "android.whichdoc offline", |
| 1203 | ], |
| 1204 | proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1205 | args: framework_docs_only_args + " -offlinemode -title \"Android 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 { |
Nan Zhang | 963612b | 2018-09-21 17:16:49 -0700 | [diff] [blame] | 1211 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 1212 | // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically. |
| 1213 | // See b/116221385 for reference. |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1214 | name: "offline-system-sdk-referenceonly-docs", |
| 1215 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1216 | srcs: [ |
| 1217 | ":framework-doc-system-stubs", |
| 1218 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1219 | hdf: [ |
| 1220 | "android.whichdoc offline", |
| 1221 | ], |
| 1222 | proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt", |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1223 | args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" + |
| 1224 | " -offlinemode -title \"Android System SDK\" -referenceonly", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1225 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 1226 | static_doc_properties: "docs/source.properties", |
| 1227 | } |
| 1228 | |
| 1229 | droiddoc { |
| 1230 | name: "online-sdk-docs", |
| 1231 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1232 | srcs: [ |
| 1233 | ":framework-doc-stubs", |
| 1234 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1235 | hdf: [ |
| 1236 | "android.whichdoc online", |
| 1237 | "android.hasSamples true", |
| 1238 | ], |
| 1239 | proofread_file: "online-sdk-docs-proofrerad.txt", |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1240 | args: framework_docs_only_args + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1241 | " -toroot / -samplegroup Admin " + |
| 1242 | " -samplegroup Background " + |
| 1243 | " -samplegroup Connectivity " + |
| 1244 | " -samplegroup Content " + |
| 1245 | " -samplegroup Input " + |
| 1246 | " -samplegroup Media " + |
| 1247 | " -samplegroup Notification " + |
| 1248 | " -samplegroup RenderScript " + |
| 1249 | " -samplegroup Security " + |
| 1250 | " -samplegroup Sensors " + |
| 1251 | " -samplegroup System " + |
| 1252 | " -samplegroup Testing " + |
| 1253 | " -samplegroup UI " + |
| 1254 | " -samplegroup Views " + |
| 1255 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1256 | } |
| 1257 | |
| 1258 | droiddoc { |
| 1259 | name: "online-system-api-sdk-docs", |
| 1260 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1261 | srcs: [ |
| 1262 | ":framework-doc-system-stubs", |
| 1263 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1264 | hdf: [ |
| 1265 | "android.whichdoc online", |
| 1266 | "android.hasSamples true", |
| 1267 | ], |
| 1268 | proofread_file: "online-system-api-sdk-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1269 | args: framework_docs_only_args + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1270 | " -referenceonly " + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1271 | " -title \"Android SDK - Including system APIs.\" " + |
| 1272 | " -hide 101 " + |
| 1273 | " -hide 104 " + |
| 1274 | " -hide 108 " + |
| 1275 | " -toroot / -samplegroup Admin " + |
| 1276 | " -samplegroup Background " + |
| 1277 | " -samplegroup Connectivity " + |
| 1278 | " -samplegroup Content " + |
| 1279 | " -samplegroup Input " + |
| 1280 | " -samplegroup Media " + |
| 1281 | " -samplegroup Notification " + |
| 1282 | " -samplegroup RenderScript " + |
| 1283 | " -samplegroup Security " + |
| 1284 | " -samplegroup Sensors " + |
| 1285 | " -samplegroup System " + |
| 1286 | " -samplegroup Testing " + |
| 1287 | " -samplegroup UI " + |
| 1288 | " -samplegroup Views " + |
| 1289 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1290 | installable: false, |
| 1291 | } |
| 1292 | |
| 1293 | droiddoc { |
Tiem Song | 730c19b | 2019-08-26 11:27:27 -0700 | [diff] [blame] | 1294 | name: "ds-docs-java", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1295 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1296 | srcs: [ |
| 1297 | ":framework-doc-stubs", |
| 1298 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1299 | hdf: [ |
| 1300 | "android.whichdoc online", |
| 1301 | "android.hasSamples true", |
| 1302 | ], |
| 1303 | proofread_file: "ds-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1304 | args: framework_docs_only_args + |
Dirk Dougherty | 14b05b1 | 2019-02-22 20:36:41 -0800 | [diff] [blame] | 1305 | " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1306 | " -samplegroup Background " + |
| 1307 | " -samplegroup Connectivity " + |
| 1308 | " -samplegroup Content " + |
| 1309 | " -samplegroup Input " + |
| 1310 | " -samplegroup Media " + |
| 1311 | " -samplegroup Notification " + |
| 1312 | " -samplegroup RenderScript " + |
| 1313 | " -samplegroup Security " + |
| 1314 | " -samplegroup Sensors " + |
| 1315 | " -samplegroup System " + |
| 1316 | " -samplegroup Testing " + |
| 1317 | " -samplegroup UI " + |
| 1318 | " -samplegroup Views " + |
| 1319 | " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ", |
| 1320 | } |
| 1321 | |
| 1322 | droiddoc { |
Tiem Song | 730c19b | 2019-08-26 11:27:27 -0700 | [diff] [blame] | 1323 | name: "ds-docs-kt", |
| 1324 | defaults: ["framework-dokka-docs-default"], |
| 1325 | srcs: [ |
| 1326 | ":framework-doc-stubs", |
| 1327 | ], |
| 1328 | args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list " + |
| 1329 | "-noStdlibLink", |
| 1330 | proofread_file: "ds-dokka-proofread.txt", |
| 1331 | dokka_enabled: true, |
| 1332 | } |
| 1333 | |
| 1334 | java_genrule { |
| 1335 | name: "ds-docs", |
| 1336 | tools: [ |
| 1337 | "zip2zip", |
| 1338 | "merge_zips", |
| 1339 | ], |
| 1340 | srcs: [ |
| 1341 | ":ds-docs-java{.docs.zip}", |
| 1342 | ":ds-docs-kt{.docs.zip}", |
| 1343 | ], |
| 1344 | out: ["ds-docs.zip"], |
| 1345 | dist: { |
| 1346 | targets: ["docs"], |
| 1347 | }, |
| 1348 | cmd: "$(location zip2zip) -i $(location :ds-docs-kt{.docs.zip}) -o $(genDir)/ds-docs-kt-moved.zip **/*:en/reference/kotlin && " + |
| 1349 | "$(location merge_zips) $(out) $(location :ds-docs-java{.docs.zip}) $(genDir)/ds-docs-kt-moved.zip", |
| 1350 | } |
| 1351 | |
| 1352 | java_genrule { |
| 1353 | name: "ds-docs-switched", |
| 1354 | tools: [ |
| 1355 | "switcher4", |
| 1356 | "soong_zip", |
| 1357 | ], |
| 1358 | srcs: [ |
| 1359 | ":ds-docs-java{.docs.zip}", |
| 1360 | ":ds-docs-kt{.docs.zip}", |
| 1361 | ], |
| 1362 | out: ["ds-docs-switched.zip"], |
| 1363 | dist: { |
| 1364 | targets: ["docs"], |
| 1365 | }, |
| 1366 | cmd: "unzip $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " + |
| 1367 | "unzip $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " + |
| 1368 | "SWITCHER=$$(cd $$(dirname $(location switcher4)) && pwd)/$$(basename $(location switcher4)) && " + |
| 1369 | "(cd $(genDir)/en/reference && $$SWITCHER --work platform) && " + |
| 1370 | "$(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)", |
| 1371 | } |
| 1372 | |
| 1373 | |
| 1374 | droiddoc { |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1375 | name: "ds-static-docs", |
| 1376 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1377 | srcs: [ |
| 1378 | ":framework-doc-stubs", |
| 1379 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1380 | hdf: [ |
| 1381 | "android.whichdoc online", |
| 1382 | ], |
| 1383 | proofread_file: "ds-static-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1384 | args: framework_docs_only_args + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1385 | " -staticonly " + |
| 1386 | " -toroot / " + |
| 1387 | " -devsite " + |
| 1388 | " -ignoreJdLinks ", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1389 | } |
| 1390 | |
| 1391 | droiddoc { |
| 1392 | name: "ds-ref-navtree-docs", |
| 1393 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1394 | srcs: [ |
| 1395 | ":framework-doc-stubs", |
| 1396 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1397 | hdf: [ |
| 1398 | "android.whichdoc online", |
| 1399 | ], |
| 1400 | proofread_file: "ds-ref-navtree-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1401 | args: framework_docs_only_args + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1402 | " -toroot / " + |
| 1403 | " -atLinksNavtree " + |
| 1404 | " -navtreeonly ", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1405 | } |
| 1406 | |
| 1407 | droiddoc { |
| 1408 | name: "online-sdk-dev-docs", |
| 1409 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1410 | srcs: [ |
| 1411 | ":framework-doc-stubs", |
| 1412 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1413 | hdf: [ |
| 1414 | "android.whichdoc online", |
| 1415 | "android.hasSamples true", |
| 1416 | ], |
| 1417 | proofread_file: "online-sdk-dev-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1418 | args: framework_docs_only_args + |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1419 | " -toroot / -samplegroup Admin " + |
| 1420 | " -samplegroup Background " + |
| 1421 | " -samplegroup Connectivity " + |
| 1422 | " -samplegroup Content " + |
| 1423 | " -samplegroup Input " + |
| 1424 | " -samplegroup Media " + |
| 1425 | " -samplegroup Notification " + |
| 1426 | " -samplegroup RenderScript " + |
| 1427 | " -samplegroup Security " + |
| 1428 | " -samplegroup Sensors " + |
| 1429 | " -samplegroup System " + |
| 1430 | " -samplegroup Testing " + |
| 1431 | " -samplegroup UI " + |
| 1432 | " -samplegroup Views " + |
| 1433 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1434 | } |
| 1435 | |
| 1436 | droiddoc { |
| 1437 | name: "hidden-docs", |
| 1438 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1439 | srcs: [ |
| 1440 | ":framework-doc-stubs", |
| 1441 | ], |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1442 | proofread_file: "hidden-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1443 | args: framework_docs_only_args + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1444 | " -referenceonly " + |
| 1445 | " -title \"Android SDK - Including hidden APIs.\"", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1446 | } |
| 1447 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1448 | droidstubs { |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1449 | name: "hwbinder-stubs-docs", |
| 1450 | srcs: [ |
| 1451 | "core/java/android/os/HidlSupport.java", |
| 1452 | "core/java/android/annotation/IntDef.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 1453 | "core/java/android/annotation/IntRange.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1454 | "core/java/android/annotation/NonNull.java", |
| 1455 | "core/java/android/annotation/SystemApi.java", |
Ytai Ben-Tsvi | 4659e18 | 2019-11-06 09:53:34 -0800 | [diff] [blame] | 1456 | "core/java/android/os/HidlMemory.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1457 | "core/java/android/os/HwBinder.java", |
| 1458 | "core/java/android/os/HwBlob.java", |
| 1459 | "core/java/android/os/HwParcel.java", |
| 1460 | "core/java/android/os/IHwBinder.java", |
| 1461 | "core/java/android/os/IHwInterface.java", |
| 1462 | "core/java/android/os/DeadObjectException.java", |
| 1463 | "core/java/android/os/DeadSystemException.java", |
Nirav Atre | 9850dd9 | 2018-07-24 17:03:44 -0700 | [diff] [blame] | 1464 | "core/java/android/os/NativeHandle.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1465 | "core/java/android/os/RemoteException.java", |
| 1466 | "core/java/android/util/AndroidException.java", |
| 1467 | ], |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1468 | installable: false, |
Paul Duffin | 8fcace4 | 2019-06-12 13:47:18 +0100 | [diff] [blame] | 1469 | sdk_version: "core_platform", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1470 | annotations_enabled: true, |
Jeff Gaston | 6855f1d | 2019-10-09 18:37:18 -0400 | [diff] [blame] | 1471 | previous_api: ":last-released-public-api", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1472 | merge_annotations_dirs: [ |
| 1473 | "metalava-manual", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1474 | ], |
| 1475 | args: " --show-annotation android.annotation.SystemApi", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1476 | } |
| 1477 | |
| 1478 | java_library_static { |
| 1479 | name: "hwbinder.stubs", |
| 1480 | sdk_version: "core_current", |
| 1481 | srcs: [ |
| 1482 | ":hwbinder-stubs-docs", |
| 1483 | ], |
| 1484 | } |
Nan Zhang | a0f91af | 2018-04-09 17:41:51 -0700 | [diff] [blame] | 1485 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1486 | droidstubs { |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1487 | name: "hiddenapi-lists-docs", |
| 1488 | defaults: ["metalava-api-stubs-default"], |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1489 | arg_files: [ |
| 1490 | "core/res/AndroidManifest.xml", |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1491 | ], |
David Brazdil | 6f6a126 | 2018-05-31 13:58:41 +0100 | [diff] [blame] | 1492 | dex_api_filename: "public-dex.txt", |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1493 | private_dex_api_filename: "private-dex.txt", |
| 1494 | removed_dex_api_filename: "removed-dex.txt", |
Nan Zhang | d25ad46 | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1495 | args: metalava_framework_docs_args + |
| 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 ", |
David Brazdil | 4f9d4d5 | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1499 | } |
| 1500 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1501 | droidstubs { |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1502 | name: "hiddenapi-mappings", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1503 | defaults: ["metalava-api-stubs-default"], |
Jiyong Park | 68020f8 | 2019-08-23 20:36:58 +0900 | [diff] [blame] | 1504 | srcs: [ |
Andrei Onea | 6dd843a | 2019-03-13 15:27:23 +0000 | [diff] [blame] | 1505 | ":opt-telephony-common-srcs", |
Paul Duffin | a0cb538 | 2018-10-31 10:34:51 +0000 | [diff] [blame] | 1506 | ], |
Jiyong Park | 2042653 | 2019-08-19 15:24:49 +0900 | [diff] [blame] | 1507 | |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1508 | arg_files: [ |
| 1509 | "core/res/AndroidManifest.xml", |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1510 | ], |
| 1511 | dex_mapping_filename: "dex-mapping.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1512 | args: metalava_framework_docs_args + |
Adrian Roos | 9bdbd30 | 2018-12-07 13:53:40 +0100 | [diff] [blame] | 1513 | " --hide ReferencesHidden " + |
Adrian Roos | c6e2fc8 | 2018-12-12 15:08:44 +0100 | [diff] [blame] | 1514 | " --hide UnhiddenSystemApi " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1515 | " --show-unannotated " + |
| 1516 | " --show-annotation android.annotation.SystemApi " + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1517 | " --show-annotation android.annotation.TestApi ", |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1518 | } |
| 1519 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1520 | droidstubs { |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1521 | name: "api-stubs-docs", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1522 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1523 | api_filename: "public_api.txt", |
| 1524 | private_api_filename: "private.txt", |
| 1525 | removed_api_filename: "removed.txt", |
| 1526 | arg_files: [ |
| 1527 | "core/res/AndroidManifest.xml", |
| 1528 | ], |
| 1529 | args: metalava_framework_docs_args, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1530 | check_api: { |
| 1531 | current: { |
| 1532 | api_file: "api/current.txt", |
| 1533 | removed_api_file: "api/removed.txt", |
| 1534 | }, |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1535 | last_released: { |
| 1536 | api_file: ":last-released-public-api", |
| 1537 | removed_api_file: "api/removed.txt", |
Adrian Roos | 9597f8c | 2019-08-12 17:47:39 +0200 | [diff] [blame] | 1538 | baseline_file: ":public-api-incompatibilities-with-last-released", |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1539 | }, |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 1540 | api_lint: { |
| 1541 | enabled: true, |
| 1542 | new_since: ":last-released-public-api", |
| 1543 | baseline_file: "api/lint-baseline.txt", |
| 1544 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1545 | }, |
Nan Zhang | 81f29f5 | 2018-09-17 14:33:08 -0700 | [diff] [blame] | 1546 | jdiff_enabled: true, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1547 | } |
| 1548 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1549 | droidstubs { |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1550 | name: "system-api-stubs-docs", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1551 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1552 | api_tag_name: "SYSTEM", |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1553 | api_filename: "system-api.txt", |
| 1554 | private_api_filename: "system-private.txt", |
| 1555 | private_dex_api_filename: "system-private-dex.txt", |
| 1556 | removed_api_filename: "system-removed.txt", |
| 1557 | arg_files: [ |
| 1558 | "core/res/AndroidManifest.xml", |
| 1559 | ], |
| 1560 | args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi", |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1561 | check_api: { |
| 1562 | current: { |
| 1563 | api_file: "api/system-current.txt", |
| 1564 | removed_api_file: "api/system-removed.txt", |
| 1565 | }, |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1566 | last_released: { |
| 1567 | api_file: ":last-released-system-api", |
| 1568 | removed_api_file: "api/system-removed.txt", |
Adrian Roos | 9597f8c | 2019-08-12 17:47:39 +0200 | [diff] [blame] | 1569 | baseline_file: ":system-api-incompatibilities-with-last-released" |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1570 | }, |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 1571 | api_lint: { |
| 1572 | enabled: true, |
| 1573 | new_since: ":last-released-system-api", |
| 1574 | baseline_file: "api/system-lint-baseline.txt", |
| 1575 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1576 | }, |
Nan Zhang | 81f29f5 | 2018-09-17 14:33:08 -0700 | [diff] [blame] | 1577 | jdiff_enabled: true, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1578 | } |
| 1579 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1580 | droidstubs { |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1581 | name: "test-api-stubs-docs", |
Nan Zhang | 3e15ba8 | 2018-07-26 18:41:12 +0000 | [diff] [blame] | 1582 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4d3f501 | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1583 | api_tag_name: "TEST", |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1584 | api_filename: "test-api.txt", |
| 1585 | removed_api_filename: "test-removed.txt", |
| 1586 | arg_files: [ |
| 1587 | "core/res/AndroidManifest.xml", |
| 1588 | ], |
| 1589 | args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi", |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1590 | check_api: { |
| 1591 | current: { |
| 1592 | api_file: "api/test-current.txt", |
| 1593 | removed_api_file: "api/test-removed.txt", |
| 1594 | }, |
Adrian Roos | 7c68a402 | 2019-10-31 16:54:47 +0100 | [diff] [blame] | 1595 | api_lint: { |
| 1596 | enabled: true, |
| 1597 | baseline_file: "api/test-lint-baseline.txt", |
| 1598 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1599 | }, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1600 | } |
Nan Zhang | af25130 | 2018-08-30 10:59:51 -0700 | [diff] [blame] | 1601 | |
| 1602 | filegroup { |
| 1603 | name: "framework-annotation-nonnull-srcs", |
| 1604 | srcs: [ |
| 1605 | "core/java/android/annotation/NonNull.java", |
| 1606 | ], |
| 1607 | } |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1608 | |
| 1609 | filegroup { |
| 1610 | name: "framework-media-annotation-srcs", |
| 1611 | srcs: [ |
| 1612 | "core/java/android/annotation/CallbackExecutor.java", |
Insun Kang | f86a56c | 2019-01-22 17:16:07 +0900 | [diff] [blame] | 1613 | "core/java/android/annotation/CallSuper.java", |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1614 | "core/java/android/annotation/DrawableRes.java", |
| 1615 | "core/java/android/annotation/IntDef.java", |
| 1616 | "core/java/android/annotation/LongDef.java", |
| 1617 | "core/java/android/annotation/NonNull.java", |
| 1618 | "core/java/android/annotation/Nullable.java", |
| 1619 | "core/java/android/annotation/RequiresPermission.java", |
| 1620 | "core/java/android/annotation/SdkConstant.java", |
| 1621 | "core/java/android/annotation/StringDef.java", |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 1622 | "core/java/android/annotation/SystemApi.java", |
Dongwon Kang | 3584c66 | 2018-11-27 11:14:08 -0800 | [diff] [blame] | 1623 | "core/java/android/annotation/TestApi.java", |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1624 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Dongwon Kang | 3584c66 | 2018-11-27 11:14:08 -0800 | [diff] [blame] | 1625 | "core/java/com/android/internal/annotations/GuardedBy.java", |
Insun Kang | 06b25ae | 2018-11-20 10:05:44 +0900 | [diff] [blame] | 1626 | ], |
| 1627 | } |
| 1628 | |
Andrei Onea | 7a2985c | 2019-02-18 15:28:35 +0000 | [diff] [blame] | 1629 | // Creates an index of AIDL methods; used for adding UnsupportedAppUsage |
| 1630 | // annotations to private apis |
| 1631 | aidl_mapping { |
| 1632 | name: "framework-aidl-mappings", |
Jiyong Park | ae9972b | 2019-09-15 20:19:02 +0900 | [diff] [blame] | 1633 | srcs: [":framework-all-sources"], |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1634 | output: "framework-aidl-mappings.txt", |
Kyunglyul Hyun | d51666d | 2019-04-11 04:08:40 +0000 | [diff] [blame] | 1635 | } |
Anna Trostanetski | 97088e9 | 2019-06-26 14:47:58 +0100 | [diff] [blame] | 1636 | |
| 1637 | genrule { |
| 1638 | name: "framework-annotation-proc-index", |
Jiyong Park | 9718349 | 2019-11-14 03:07:36 +0000 | [diff] [blame] | 1639 | srcs: [":framework-annotation-proc"], |
Anna Trostanetski | 97088e9 | 2019-06-26 14:47:58 +0100 | [diff] [blame] | 1640 | cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)", |
| 1641 | out: ["unsupportedappusage_index.csv"], |
| 1642 | dist: { |
| 1643 | targets: ["droidcore"], |
| 1644 | }, |
| 1645 | } |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1646 | |
| 1647 | // Avoid including Parcelable classes as we don't want to have two copies of |
| 1648 | // Parcelable cross the process. |
| 1649 | filegroup { |
| 1650 | name: "framework-telephony-stack-shared-srcs", |
| 1651 | srcs: [ |
| 1652 | "core/java/android/os/RegistrantList.java", |
| 1653 | "core/java/android/os/Registrant.java", |
| 1654 | "core/java/android/util/LocalLog.java", |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1655 | "core/java/android/util/TimeUtils.java", |
| 1656 | "core/java/com/android/internal/os/SomeArgs.java", |
Michele | badc021 | 2019-10-31 11:48:43 -0700 | [diff] [blame] | 1657 | "core/java/com/android/internal/util/FastXmlSerializer.java", |
| 1658 | "core/java/com/android/internal/util/HexDump.java", |
Meng Wang | 64fffb9 | 2019-12-02 10:42:20 -0800 | [diff] [blame] | 1659 | "core/java/com/android/internal/util/IState.java", |
Michele | badc021 | 2019-10-31 11:48:43 -0700 | [diff] [blame] | 1660 | "core/java/com/android/internal/util/IndentingPrintWriter.java", |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1661 | "core/java/com/android/internal/util/Preconditions.java", |
| 1662 | "core/java/com/android/internal/util/State.java", |
| 1663 | "core/java/com/android/internal/util/StateMachine.java", |
Michele | badc021 | 2019-10-31 11:48:43 -0700 | [diff] [blame] | 1664 | "core/java/com/android/internal/util/UserIcons.java", |
Chen Xu | 192bf1f | 2019-09-05 22:07:42 -0700 | [diff] [blame] | 1665 | ], |
| 1666 | } |
| 1667 | |
Chen Xu | 4fea79c | 2019-10-08 18:39:03 -0700 | [diff] [blame] | 1668 | // Avoid including Parcelable classes as we don't want to have two copies of |
| 1669 | // Parcelable cross the process. |
| 1670 | filegroup { |
| 1671 | name: "framework-cellbroadcast-shared-srcs", |
| 1672 | srcs: [ |
Jordan Liu | 15a7274 | 2019-11-20 13:55:18 -0800 | [diff] [blame] | 1673 | "core/java/android/os/HandlerExecutor.java", |
Chen Xu | 4fea79c | 2019-10-08 18:39:03 -0700 | [diff] [blame] | 1674 | "core/java/android/util/LocalLog.java", |
Jordan Liu | 15a7274 | 2019-11-20 13:55:18 -0800 | [diff] [blame] | 1675 | "core/java/com/android/internal/util/IState.java", |
| 1676 | "core/java/com/android/internal/util/Preconditions.java", |
Chen Xu | 4fea79c | 2019-10-08 18:39:03 -0700 | [diff] [blame] | 1677 | "core/java/com/android/internal/util/State.java", |
| 1678 | "core/java/com/android/internal/util/StateMachine.java", |
| 1679 | ], |
atrost | ce84de0 | 2019-10-08 16:16:47 +0100 | [diff] [blame] | 1680 | } |
Roshan Pius | 09de13e | 2019-10-16 13:16:04 -0700 | [diff] [blame] | 1681 | |
| 1682 | filegroup { |
Jayachandran C | eeffa01 | 2019-10-23 18:06:33 -0700 | [diff] [blame] | 1683 | name: "framework-ims-common-shared-srcs", |
| 1684 | srcs: [ |
Jayachandran C | eeffa01 | 2019-10-23 18:06:33 -0700 | [diff] [blame] | 1685 | "core/java/android/os/RegistrantList.java", |
| 1686 | "core/java/android/os/Registrant.java", |
| 1687 | "core/java/com/android/internal/os/SomeArgs.java", |
| 1688 | "core/java/com/android/internal/util/Preconditions.java", |
| 1689 | ], |
| 1690 | } |
| 1691 | |
| 1692 | filegroup { |
Roshan Pius | 09de13e | 2019-10-16 13:16:04 -0700 | [diff] [blame] | 1693 | name: "framework-wifistack-shared-srcs", |
| 1694 | srcs: [ |
| 1695 | ":framework-annotations", |
Roshan Pius | b0d9a24 | 2019-11-04 07:29:53 -0800 | [diff] [blame] | 1696 | "core/java/android/os/HandlerExecutor.java", |
Roshan Pius | 04769a5 | 2019-12-04 13:03:47 -0800 | [diff] [blame] | 1697 | "core/java/android/util/BackupUtils.java", |
Roshan Pius | 09de13e | 2019-10-16 13:16:04 -0700 | [diff] [blame] | 1698 | "core/java/android/util/KeyValueListParser.java", |
| 1699 | "core/java/android/util/LocalLog.java", |
| 1700 | "core/java/android/util/Rational.java", |
| 1701 | "core/java/android/util/proto/ProtoStream.java", |
| 1702 | "core/java/android/util/proto/ProtoOutputStream.java", |
| 1703 | "core/java/com/android/internal/util/FastXmlSerializer.java", |
| 1704 | "core/java/com/android/internal/util/HexDump.java", |
| 1705 | "core/java/com/android/internal/util/IState.java", |
| 1706 | "core/java/com/android/internal/util/MessageUtils.java", |
| 1707 | "core/java/com/android/internal/util/Preconditions.java", |
| 1708 | "core/java/com/android/internal/util/State.java", |
| 1709 | "core/java/com/android/internal/util/StateMachine.java", |
| 1710 | "core/java/com/android/internal/util/WakeupMessage.java", |
| 1711 | "core/java/com/android/internal/util/XmlUtils.java", |
| 1712 | ], |
| 1713 | } |