GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 15 | cc_defaults { |
| 16 | name: "adb_defaults", |
| 17 | |
| 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Wextra", |
| 21 | "-Werror", |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 22 | "-Wexit-time-destructors", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 23 | "-Wno-unused-parameter", |
| 24 | "-Wno-missing-field-initializers", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 25 | "-Wthread-safety", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 26 | "-Wvla", |
Bowgo Tsai | 35b817b | 2019-03-12 04:25:33 +0800 | [diff] [blame] | 27 | "-DADB_HOST=1", // overridden by adbd_defaults |
| 28 | "-DALLOW_ADBD_ROOT=0", // overridden by adbd_defaults |
Josh Gao | 90228a6 | 2019-04-25 14:04:57 -0700 | [diff] [blame] | 29 | "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION=1", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 30 | ], |
Josh Gao | 3edf807 | 2018-11-16 15:40:16 -0800 | [diff] [blame] | 31 | cpp_std: "experimental", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 32 | |
Josh Gao | 66766f8 | 2018-02-27 15:49:23 -0800 | [diff] [blame] | 33 | use_version_lib: true, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 34 | compile_multilib: "first", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 35 | |
| 36 | target: { |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 37 | darwin: { |
| 38 | host_ldlibs: [ |
| 39 | "-lpthread", |
| 40 | "-framework CoreFoundation", |
| 41 | "-framework IOKit", |
| 42 | "-lobjc", |
| 43 | ], |
| 44 | }, |
| 45 | |
| 46 | windows: { |
| 47 | cflags: [ |
| 48 | // Define windows.h and tchar.h Unicode preprocessor symbols so that |
| 49 | // CreateFile(), _tfopen(), etc. map to versions that take wchar_t*, breaking the |
| 50 | // build if you accidentally pass char*. Fix by calling like: |
| 51 | // std::wstring path_wide; |
| 52 | // if (!android::base::UTF8ToWide(path_utf8, &path_wide)) { /* error handling */ } |
| 53 | // CreateFileW(path_wide.c_str()); |
| 54 | "-DUNICODE=1", |
| 55 | "-D_UNICODE=1", |
| 56 | |
Elliott Hughes | c229a72 | 2018-12-03 09:02:18 -0800 | [diff] [blame] | 57 | // Unlike on Linux, -std=gnu++ doesn't set _GNU_SOURCE on Windows. |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 58 | "-D_GNU_SOURCE", |
Josh Gao | 96049b9 | 2018-03-23 13:03:28 -0700 | [diff] [blame] | 59 | |
| 60 | // MinGW hides some things behind _POSIX_SOURCE. |
| 61 | "-D_POSIX_SOURCE", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 62 | |
Josh Gao | c3b6403 | 2019-04-17 16:57:43 -0700 | [diff] [blame] | 63 | // libusb uses __stdcall on a variadic function, which gets ignored. |
| 64 | "-Wno-ignored-attributes", |
| 65 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 66 | // Not supported yet. |
| 67 | "-Wno-thread-safety", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 68 | ], |
Josh Gao | ea7b95a | 2018-03-23 15:37:20 -0700 | [diff] [blame] | 69 | |
| 70 | host_ldlibs: [ |
| 71 | "-lws2_32", |
| 72 | "-lgdi32", |
| 73 | "-luserenv", |
| 74 | ], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 75 | }, |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 76 | }, |
| 77 | } |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 78 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 79 | cc_defaults { |
| 80 | name: "adbd_defaults", |
| 81 | defaults: ["adb_defaults"], |
| 82 | |
| 83 | cflags: ["-UADB_HOST", "-DADB_HOST=0"], |
| 84 | product_variables: { |
| 85 | debuggable: { |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 86 | cflags: [ |
Bowgo Tsai | 35b817b | 2019-03-12 04:25:33 +0800 | [diff] [blame] | 87 | "-UALLOW_ADBD_ROOT", |
| 88 | "-DALLOW_ADBD_ROOT=1", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 89 | "-DALLOW_ADBD_DISABLE_VERITY", |
| 90 | "-DALLOW_ADBD_NO_AUTH", |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 91 | ], |
| 92 | }, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 93 | }, |
| 94 | } |
| 95 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 96 | cc_defaults { |
| 97 | name: "host_adbd_supported", |
| 98 | |
| 99 | host_supported: true, |
| 100 | target: { |
| 101 | linux: { |
| 102 | enabled: true, |
| 103 | host_ldlibs: [ |
| 104 | "-lresolv", // b64_pton |
| 105 | "-lutil", // forkpty |
| 106 | ], |
| 107 | }, |
| 108 | darwin: { |
| 109 | enabled: false, |
| 110 | }, |
| 111 | windows: { |
| 112 | enabled: false, |
| 113 | }, |
| 114 | }, |
| 115 | } |
| 116 | |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 117 | // libadbconnection |
| 118 | // ========================================================= |
| 119 | // libadbconnection_client/server implement the socket handling for jdwp |
| 120 | // forwarding and the track-jdwp service. |
| 121 | cc_library { |
| 122 | name: "libadbconnection_server", |
| 123 | srcs: ["adbconnection/adbconnection_server.cpp"], |
| 124 | |
| 125 | export_include_dirs: ["adbconnection/include"], |
| 126 | |
| 127 | stl: "libc++_static", |
| 128 | shared_libs: ["liblog"], |
| 129 | static_libs: ["libbase"], |
| 130 | |
| 131 | defaults: ["adbd_defaults", "host_adbd_supported"], |
| 132 | |
| 133 | // Avoid getting duplicate symbol of android::build::getbuildnumber(). |
| 134 | use_version_lib: false, |
| 135 | |
| 136 | recovery_available: true, |
| 137 | compile_multilib: "both", |
| 138 | } |
| 139 | |
| 140 | cc_library { |
| 141 | name: "libadbconnection_client", |
| 142 | srcs: ["adbconnection/adbconnection_client.cpp"], |
| 143 | |
| 144 | export_include_dirs: ["adbconnection/include"], |
| 145 | |
| 146 | stl: "libc++_static", |
| 147 | shared_libs: ["liblog"], |
| 148 | static_libs: ["libbase"], |
| 149 | |
| 150 | defaults: ["adbd_defaults"], |
| 151 | visibility: [ |
| 152 | "//art:__subpackages__", |
| 153 | "//system/core/adb/apex:__subpackages__", |
| 154 | ], |
| 155 | apex_available: [ |
| 156 | "com.android.adbd", |
| 157 | "test_com.android.adbd", |
| 158 | ], |
| 159 | |
| 160 | // libadbconnection_client doesn't need an embedded build number. |
| 161 | use_version_lib: false, |
| 162 | |
Josh Gao | c7ff4a5 | 2020-01-31 16:51:54 -0800 | [diff] [blame^] | 163 | version_script: "adbconnection/libadbconnection_client.map.txt", |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 164 | stubs: { |
| 165 | symbol_file: "adbconnection/libadbconnection_client.map.txt", |
| 166 | versions: ["1"], |
| 167 | }, |
| 168 | |
| 169 | host_supported: true, |
| 170 | compile_multilib: "both", |
| 171 | } |
| 172 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 173 | // libadb |
| 174 | // ========================================================= |
| 175 | // These files are compiled for both the host and the device. |
| 176 | libadb_srcs = [ |
| 177 | "adb.cpp", |
| 178 | "adb_io.cpp", |
| 179 | "adb_listeners.cpp", |
| 180 | "adb_trace.cpp", |
Josh Gao | 7d5762c | 2018-05-24 22:54:50 -0700 | [diff] [blame] | 181 | "adb_unique_fd.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 182 | "adb_utils.cpp", |
Josh Gao | b51193a | 2019-06-28 13:50:37 -0700 | [diff] [blame] | 183 | "fdevent/fdevent.cpp", |
Josh Gao | 9e4aa3a | 2019-07-08 15:23:17 -0700 | [diff] [blame] | 184 | "fdevent/fdevent_poll.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 185 | "services.cpp", |
| 186 | "sockets.cpp", |
| 187 | "socket_spec.cpp", |
| 188 | "sysdeps/errno.cpp", |
| 189 | "transport.cpp", |
Josh Gao | 1e41fda | 2018-04-05 16:16:04 -0700 | [diff] [blame] | 190 | "transport_fd.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 191 | "transport_local.cpp", |
| 192 | "transport_usb.cpp", |
Yurii Zubrytskyi | e5e6b0d | 2019-07-12 14:11:54 -0700 | [diff] [blame] | 193 | "types.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 194 | ] |
| 195 | |
| 196 | libadb_posix_srcs = [ |
| 197 | "sysdeps_unix.cpp", |
| 198 | "sysdeps/posix/network.cpp", |
| 199 | ] |
| 200 | |
Josh Gao | dd71642 | 2019-07-11 13:47:44 -0700 | [diff] [blame] | 201 | libadb_linux_srcs = [ |
| 202 | "fdevent/fdevent_epoll.cpp", |
| 203 | ] |
| 204 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 205 | libadb_test_srcs = [ |
| 206 | "adb_io_test.cpp", |
| 207 | "adb_listeners_test.cpp", |
| 208 | "adb_utils_test.cpp", |
Josh Gao | b51193a | 2019-06-28 13:50:37 -0700 | [diff] [blame] | 209 | "fdevent/fdevent_test.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 210 | "socket_spec_test.cpp", |
| 211 | "socket_test.cpp", |
| 212 | "sysdeps_test.cpp", |
| 213 | "sysdeps/stat_test.cpp", |
| 214 | "transport_test.cpp", |
Josh Gao | 9f155db | 2018-04-03 14:37:11 -0700 | [diff] [blame] | 215 | "types_test.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 216 | ] |
| 217 | |
| 218 | cc_library_host_static { |
| 219 | name: "libadb_host", |
| 220 | defaults: ["adb_defaults"], |
| 221 | |
| 222 | srcs: libadb_srcs + [ |
| 223 | "client/auth.cpp", |
| 224 | "client/usb_libusb.cpp", |
| 225 | "client/usb_dispatch.cpp", |
| 226 | "client/transport_mdns.cpp", |
| 227 | ], |
| 228 | |
Dan Willemsen | 1886189 | 2018-08-29 14:58:02 -0700 | [diff] [blame] | 229 | generated_headers: ["platform_tools_version"], |
| 230 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 231 | target: { |
| 232 | linux: { |
Josh Gao | dd71642 | 2019-07-11 13:47:44 -0700 | [diff] [blame] | 233 | srcs: ["client/usb_linux.cpp"] + libadb_linux_srcs, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 234 | }, |
| 235 | darwin: { |
| 236 | srcs: ["client/usb_osx.cpp"], |
| 237 | }, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 238 | not_windows: { |
| 239 | srcs: libadb_posix_srcs, |
| 240 | }, |
| 241 | windows: { |
| 242 | enabled: true, |
| 243 | srcs: [ |
| 244 | "client/usb_windows.cpp", |
| 245 | "sysdeps_win32.cpp", |
| 246 | "sysdeps/win32/errno.cpp", |
| 247 | "sysdeps/win32/stat.cpp", |
| 248 | ], |
| 249 | shared_libs: ["AdbWinApi"], |
| 250 | }, |
| 251 | }, |
| 252 | |
| 253 | static_libs: [ |
| 254 | "libbase", |
| 255 | "libcrypto_utils", |
| 256 | "libcrypto", |
| 257 | "libdiagnose_usb", |
| 258 | "libmdnssd", |
| 259 | "libusb", |
Idries Hamadi | 78330f0 | 2018-09-13 18:00:25 +0100 | [diff] [blame] | 260 | "libutils", |
| 261 | "liblog", |
| 262 | "libcutils", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 263 | ], |
| 264 | } |
| 265 | |
| 266 | cc_test_host { |
| 267 | name: "adb_test", |
| 268 | defaults: ["adb_defaults"], |
| 269 | srcs: libadb_test_srcs, |
| 270 | static_libs: [ |
| 271 | "libadb_host", |
| 272 | "libbase", |
| 273 | "libcutils", |
| 274 | "libcrypto_utils", |
| 275 | "libcrypto", |
Tom Cherry | 49b96ec | 2020-01-08 13:41:56 -0800 | [diff] [blame] | 276 | "liblog", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 277 | "libmdnssd", |
| 278 | "libdiagnose_usb", |
| 279 | "libusb", |
| 280 | ], |
Josh Gao | ea7b95a | 2018-03-23 15:37:20 -0700 | [diff] [blame] | 281 | |
| 282 | target: { |
| 283 | windows: { |
| 284 | enabled: true, |
Josh Gao | 3e8bdab | 2019-07-16 15:08:42 -0700 | [diff] [blame] | 285 | ldflags: ["-municode"], |
Josh Gao | ea7b95a | 2018-03-23 15:37:20 -0700 | [diff] [blame] | 286 | shared_libs: ["AdbWinApi"], |
| 287 | }, |
| 288 | }, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 289 | } |
| 290 | |
Josh Gao | 11e41d6 | 2018-04-04 11:27:24 -0700 | [diff] [blame] | 291 | cc_benchmark { |
| 292 | name: "adb_benchmark", |
| 293 | defaults: ["adb_defaults"], |
| 294 | |
| 295 | srcs: ["transport_benchmark.cpp"], |
| 296 | target: { |
| 297 | android: { |
| 298 | static_libs: [ |
| 299 | "libadbd", |
| 300 | ], |
| 301 | }, |
| 302 | host: { |
| 303 | static_libs: [ |
| 304 | "libadb_host", |
| 305 | ], |
| 306 | }, |
| 307 | }, |
| 308 | |
| 309 | static_libs: [ |
| 310 | "libbase", |
| 311 | "libcutils", |
| 312 | "libcrypto_utils", |
Colin Cross | e1cc1ec | 2019-09-18 11:04:35 -0700 | [diff] [blame] | 313 | "libcrypto_static", |
Josh Gao | 11e41d6 | 2018-04-04 11:27:24 -0700 | [diff] [blame] | 314 | "libdiagnose_usb", |
| 315 | "liblog", |
| 316 | "libusb", |
| 317 | ], |
| 318 | } |
| 319 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 320 | cc_binary_host { |
| 321 | name: "adb", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 322 | |
| 323 | defaults: ["adb_defaults"], |
| 324 | |
| 325 | srcs: [ |
| 326 | "client/adb_client.cpp", |
| 327 | "client/bugreport.cpp", |
| 328 | "client/commandline.cpp", |
| 329 | "client/file_sync_client.cpp", |
| 330 | "client/main.cpp", |
| 331 | "client/console.cpp", |
Idries Hamadi | 1ecee44 | 2018-01-29 16:30:36 +0000 | [diff] [blame] | 332 | "client/adb_install.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 333 | "client/line_printer.cpp", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 334 | "client/fastdeploy.cpp", |
| 335 | "client/fastdeploycallbacks.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 336 | "shell_service_protocol.cpp", |
| 337 | ], |
| 338 | |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 339 | generated_headers: [ |
| 340 | "bin2c_fastdeployagent", |
| 341 | "bin2c_fastdeployagentscript" |
| 342 | ], |
| 343 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 344 | static_libs: [ |
| 345 | "libadb_host", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 346 | "libandroidfw", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 347 | "libbase", |
| 348 | "libcutils", |
| 349 | "libcrypto_utils", |
| 350 | "libcrypto", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 351 | "libfastdeploy_host", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 352 | "libdiagnose_usb", |
| 353 | "liblog", |
| 354 | "libmdnssd", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 355 | "libprotobuf-cpp-lite", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 356 | "libusb", |
Idries Hamadi | 78330f0 | 2018-09-13 18:00:25 +0100 | [diff] [blame] | 357 | "libutils", |
| 358 | "liblog", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 359 | "libziparchive", |
| 360 | "libz", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 361 | ], |
| 362 | |
| 363 | stl: "libc++_static", |
| 364 | |
| 365 | // Don't add anything here, we don't want additional shared dependencies |
| 366 | // on the host adb tool, and shared libraries that link against libc++ |
| 367 | // will violate ODR |
| 368 | shared_libs: [], |
| 369 | |
Dan Willemsen | 7024da4 | 2018-11-19 19:11:35 -0800 | [diff] [blame] | 370 | // Archive adb, adb.exe. |
| 371 | dist: { |
| 372 | targets: [ |
| 373 | "dist_files", |
| 374 | "sdk", |
| 375 | "win_sdk", |
| 376 | ], |
| 377 | }, |
| 378 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 379 | target: { |
| 380 | darwin: { |
| 381 | cflags: [ |
| 382 | "-Wno-sizeof-pointer-memaccess", |
| 383 | ], |
| 384 | }, |
| 385 | windows: { |
| 386 | enabled: true, |
| 387 | ldflags: ["-municode"], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 388 | shared_libs: ["AdbWinApi"], |
| 389 | required: [ |
| 390 | "AdbWinUsbApi", |
| 391 | ], |
| 392 | }, |
| 393 | }, |
| 394 | } |
| 395 | |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 396 | // libadbd_core contains the common sources to build libadbd and libadbd_services. |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 397 | cc_library_static { |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 398 | name: "libadbd_core", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 399 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 400 | recovery_available: true, |
| 401 | |
| 402 | // libminadbd wants both, as it's used to build native tests. |
| 403 | compile_multilib: "both", |
| 404 | |
Josh Gao | dd71642 | 2019-07-11 13:47:44 -0700 | [diff] [blame] | 405 | srcs: libadb_srcs + libadb_linux_srcs + libadb_posix_srcs + [ |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 406 | "daemon/auth.cpp", |
| 407 | "daemon/jdwp_service.cpp", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 408 | ], |
| 409 | |
| 410 | local_include_dirs: [ |
| 411 | "daemon/include", |
| 412 | ], |
| 413 | |
Dan Willemsen | 1886189 | 2018-08-29 14:58:02 -0700 | [diff] [blame] | 414 | generated_headers: ["platform_tools_version"], |
| 415 | |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 416 | static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 417 | "libadbconnection_server", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 418 | "libdiagnose_usb", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 419 | ], |
| 420 | |
| 421 | shared_libs: [ |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 422 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 423 | "libasyncio", |
| 424 | "libbase", |
| 425 | "libcrypto", |
| 426 | "libcrypto_utils", |
| 427 | "libcutils", |
| 428 | "liblog", |
| 429 | ], |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 430 | |
| 431 | target: { |
| 432 | android: { |
| 433 | whole_static_libs: [ |
| 434 | "libqemu_pipe", |
| 435 | ], |
| 436 | srcs: [ |
| 437 | "daemon/transport_qemu.cpp", |
| 438 | "daemon/usb.cpp", |
| 439 | "daemon/usb_ffs.cpp", |
| 440 | "daemon/usb_legacy.cpp", |
| 441 | ] |
| 442 | }, |
| 443 | linux_glibc: { |
| 444 | srcs: [ |
| 445 | "daemon/usb_dummy.cpp", |
| 446 | ] |
| 447 | } |
| 448 | }, |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 449 | } |
| 450 | |
| 451 | cc_library { |
| 452 | name: "libadbd_services", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 453 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 454 | recovery_available: true, |
| 455 | compile_multilib: "both", |
| 456 | |
| 457 | srcs: [ |
| 458 | "daemon/file_sync_service.cpp", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 459 | "daemon/services.cpp", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 460 | "daemon/shell_service.cpp", |
| 461 | "shell_service_protocol.cpp", |
| 462 | ], |
| 463 | |
| 464 | cflags: [ |
| 465 | "-D_GNU_SOURCE", |
| 466 | "-Wno-deprecated-declarations", |
| 467 | ], |
| 468 | |
| 469 | static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 470 | "libadbconnection_server", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 471 | "libadbd_core", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 472 | "libdiagnose_usb", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 473 | ], |
| 474 | |
| 475 | shared_libs: [ |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 476 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 477 | "libasyncio", |
| 478 | "libbase", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 479 | "libcrypto", |
| 480 | "libcrypto_utils", |
| 481 | "libcutils", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 482 | "liblog", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 483 | ], |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 484 | |
| 485 | target: { |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 486 | android: { |
| 487 | srcs: [ |
| 488 | "daemon/abb_service.cpp", |
| 489 | "daemon/framebuffer_service.cpp", |
| 490 | "daemon/mdns.cpp", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 491 | "daemon/restart_service.cpp", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 492 | ], |
| 493 | shared_libs: [ |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 494 | "libmdnssd", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 495 | "libselinux", |
| 496 | ], |
| 497 | }, |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 498 | recovery: { |
| 499 | exclude_srcs: [ |
| 500 | "daemon/abb_service.cpp", |
| 501 | ], |
| 502 | }, |
| 503 | }, |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 504 | } |
| 505 | |
| 506 | cc_library { |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 507 | name: "libadbd", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 508 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Jiyong Park | eb59039 | 2018-05-24 14:11:00 +0900 | [diff] [blame] | 509 | recovery_available: true, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 510 | |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 511 | // avoid getting duplicate symbol of android::build::getbuildnumber(). |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 512 | use_version_lib: false, |
| 513 | |
| 514 | // libminadbd wants both, as it's used to build native tests. |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 515 | compile_multilib: "both", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 516 | |
| 517 | // libadbd doesn't build any additional source, but to expose libadbd_core as a shared library. |
| 518 | whole_static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 519 | "libadbconnection_server", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 520 | "libadbd_core", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 521 | ], |
| 522 | |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 523 | shared_libs: [ |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 524 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 525 | "libadbd_services", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 526 | "libasyncio", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 527 | "libbase", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 528 | "libcrypto", |
| 529 | "libcrypto_utils", |
| 530 | "libcutils", |
| 531 | "liblog", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 532 | ], |
Jerry Zhang | d4fe8b6 | 2018-05-07 15:14:47 -0700 | [diff] [blame] | 533 | |
| 534 | export_include_dirs: [ |
| 535 | "daemon/include", |
| 536 | ], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 537 | } |
| 538 | |
| 539 | cc_binary { |
| 540 | name: "adbd", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 541 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Jiyong Park | eb59039 | 2018-05-24 14:11:00 +0900 | [diff] [blame] | 542 | recovery_available: true, |
Josh Gao | 3e0540a | 2018-03-06 12:57:27 -0800 | [diff] [blame] | 543 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 544 | srcs: [ |
| 545 | "daemon/main.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 546 | ], |
| 547 | |
| 548 | cflags: [ |
| 549 | "-D_GNU_SOURCE", |
| 550 | "-Wno-deprecated-declarations", |
| 551 | ], |
| 552 | |
| 553 | strip: { |
| 554 | keep_symbols: true, |
| 555 | }, |
| 556 | |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 557 | stl: "libc++_static", |
| 558 | static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 559 | "libadbconnection_server", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 560 | "libadbd", |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 561 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 562 | "libadbd_services", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 563 | "libasyncio", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 564 | "libbase", |
| 565 | "libcap", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 566 | "libcrypto_utils", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 567 | "libcutils", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 568 | "libdiagnose_usb", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 569 | "liblog", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 570 | "libmdnssd", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 571 | "libminijail", |
| 572 | "libselinux", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 573 | ], |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 574 | |
| 575 | shared_libs: [ |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 576 | "libcrypto", |
| 577 | ], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 578 | } |
| 579 | |
Josh Gao | 06e4593 | 2019-10-23 13:27:17 -0700 | [diff] [blame] | 580 | phony { |
| 581 | name: "adbd_system_binaries", |
| 582 | required: [ |
| 583 | "abb", |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 584 | "libadbd_auth", |
Josh Gao | 83ce3e2 | 2019-10-22 12:30:36 -0700 | [diff] [blame] | 585 | "reboot", |
Josh Gao | b554f4b | 2019-10-22 12:30:30 -0700 | [diff] [blame] | 586 | "set-verity-state", |
Josh Gao | 06e4593 | 2019-10-23 13:27:17 -0700 | [diff] [blame] | 587 | ] |
| 588 | } |
| 589 | |
| 590 | phony { |
| 591 | name: "adbd_system_binaries_recovery", |
| 592 | required: [ |
Josh Gao | 83ce3e2 | 2019-10-22 12:30:36 -0700 | [diff] [blame] | 593 | "reboot.recovery", |
Josh Gao | 06e4593 | 2019-10-23 13:27:17 -0700 | [diff] [blame] | 594 | ], |
| 595 | } |
| 596 | |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 597 | cc_binary { |
| 598 | name: "abb", |
| 599 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 600 | defaults: ["adbd_defaults"], |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 601 | recovery_available: false, |
| 602 | |
| 603 | srcs: [ |
| 604 | "daemon/abb.cpp", |
| 605 | ], |
| 606 | |
| 607 | cflags: [ |
| 608 | "-D_GNU_SOURCE", |
| 609 | "-Wno-deprecated-declarations", |
| 610 | ], |
| 611 | |
| 612 | strip: { |
| 613 | keep_symbols: true, |
| 614 | }, |
| 615 | |
| 616 | static_libs: [ |
| 617 | "libadbd_core", |
| 618 | "libadbd_services", |
| 619 | "libcmd", |
| 620 | ], |
| 621 | |
| 622 | shared_libs: [ |
| 623 | "libbase", |
| 624 | "libbinder", |
| 625 | "liblog", |
| 626 | "libutils", |
| 627 | "libselinux", |
| 628 | ], |
| 629 | } |
| 630 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 631 | cc_test { |
| 632 | name: "adbd_test", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 633 | defaults: ["adbd_defaults"], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 634 | srcs: libadb_test_srcs + [ |
Josh Gao | 5607e92 | 2018-07-25 18:15:52 -0700 | [diff] [blame] | 635 | "daemon/services.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 636 | "daemon/shell_service.cpp", |
| 637 | "daemon/shell_service_test.cpp", |
| 638 | "shell_service_protocol.cpp", |
| 639 | "shell_service_protocol_test.cpp", |
| 640 | ], |
| 641 | |
| 642 | static_libs: [ |
| 643 | "libadbd", |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 644 | "libadbd_auth", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 645 | "libbase", |
| 646 | "libcutils", |
| 647 | "libcrypto_utils", |
Colin Cross | e1cc1ec | 2019-09-18 11:04:35 -0700 | [diff] [blame] | 648 | "libcrypto_static", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 649 | "libdiagnose_usb", |
| 650 | "liblog", |
| 651 | "libusb", |
| 652 | "libmdnssd", |
Jiyong Park | 19c39fa | 2018-05-29 16:41:30 +0900 | [diff] [blame] | 653 | "libselinux", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 654 | ], |
Elliott Hughes | ce226c9 | 2018-04-27 16:12:06 -0700 | [diff] [blame] | 655 | test_suites: ["device-tests"], |
Dan Shi | 22e091b | 2019-09-24 09:04:05 -0700 | [diff] [blame] | 656 | require_root: true, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 657 | } |
| 658 | |
Julien Desprez | ae94f51 | 2018-08-08 12:08:50 -0700 | [diff] [blame] | 659 | python_test_host { |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 660 | name: "adb_integration_test_adb", |
| 661 | main: "test_adb.py", |
| 662 | srcs: [ |
| 663 | "test_adb.py", |
| 664 | ], |
Julien Desprez | ae94f51 | 2018-08-08 12:08:50 -0700 | [diff] [blame] | 665 | test_config: "adb_integration_test_adb.xml", |
| 666 | test_suites: ["general-tests"], |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 667 | version: { |
| 668 | py2: { |
Josh Gao | b1df00e | 2018-08-07 14:31:17 -0700 | [diff] [blame] | 669 | enabled: false, |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 670 | }, |
| 671 | py3: { |
Josh Gao | b1df00e | 2018-08-07 14:31:17 -0700 | [diff] [blame] | 672 | enabled: true, |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 673 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 674 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 675 | } |
| 676 | |
Julien Desprez | cd11d0d | 2018-10-12 13:48:14 -0700 | [diff] [blame] | 677 | python_test_host { |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 678 | name: "adb_integration_test_device", |
| 679 | main: "test_device.py", |
| 680 | srcs: [ |
| 681 | "test_device.py", |
| 682 | ], |
| 683 | libs: [ |
| 684 | "adb_py", |
| 685 | ], |
Julien Desprez | cd11d0d | 2018-10-12 13:48:14 -0700 | [diff] [blame] | 686 | test_config: "adb_integration_test_device.xml", |
| 687 | test_suites: ["general-tests"], |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 688 | version: { |
| 689 | py2: { |
| 690 | enabled: true, |
| 691 | }, |
| 692 | py3: { |
| 693 | enabled: false, |
| 694 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 695 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 696 | } |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 697 | |
| 698 | // Note: using pipe for xxd to control the variable name generated |
| 699 | // the default name used by xxd is the path to the input file. |
| 700 | java_genrule { |
| 701 | name: "bin2c_fastdeployagent", |
| 702 | out: ["deployagent.inc"], |
| 703 | srcs: [":deployagent"], |
| 704 | cmd: "(echo 'unsigned char kDeployAgent[] = {' && xxd -i <$(in) && echo '};') > $(out)", |
| 705 | } |
| 706 | |
| 707 | genrule { |
| 708 | name: "bin2c_fastdeployagentscript", |
| 709 | out: ["deployagentscript.inc"], |
| 710 | srcs: ["fastdeploy/deployagent/deployagent.sh"], |
| 711 | cmd: "(echo 'unsigned char kDeployAgentScript[] = {' && xxd -i <$(in) && echo '};') > $(out)", |
| 712 | } |
| 713 | |
| 714 | cc_library_host_static { |
| 715 | name: "libfastdeploy_host", |
| 716 | defaults: ["adb_defaults"], |
| 717 | srcs: [ |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 718 | "fastdeploy/deploypatchgenerator/apk_archive.cpp", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 719 | "fastdeploy/deploypatchgenerator/deploy_patch_generator.cpp", |
| 720 | "fastdeploy/deploypatchgenerator/patch_utils.cpp", |
| 721 | "fastdeploy/proto/ApkEntry.proto", |
| 722 | ], |
| 723 | static_libs: [ |
| 724 | "libadb_host", |
| 725 | "libandroidfw", |
| 726 | "libbase", |
| 727 | "libcutils", |
| 728 | "libcrypto_utils", |
| 729 | "libcrypto", |
| 730 | "libdiagnose_usb", |
| 731 | "liblog", |
| 732 | "libmdnssd", |
| 733 | "libusb", |
| 734 | "libutils", |
| 735 | "libziparchive", |
| 736 | "libz", |
| 737 | ], |
| 738 | stl: "libc++_static", |
| 739 | proto: { |
| 740 | type: "lite", |
| 741 | export_proto_headers: true, |
| 742 | }, |
| 743 | target: { |
| 744 | windows: { |
| 745 | enabled: true, |
| 746 | shared_libs: ["AdbWinApi"], |
| 747 | }, |
| 748 | }, |
| 749 | } |
| 750 | |
| 751 | cc_test_host { |
| 752 | name: "fastdeploy_test", |
| 753 | defaults: ["adb_defaults"], |
| 754 | srcs: [ |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 755 | "fastdeploy/deploypatchgenerator/apk_archive_test.cpp", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 756 | "fastdeploy/deploypatchgenerator/deploy_patch_generator_test.cpp", |
| 757 | "fastdeploy/deploypatchgenerator/patch_utils_test.cpp", |
| 758 | ], |
| 759 | static_libs: [ |
| 760 | "libadb_host", |
| 761 | "libandroidfw", |
| 762 | "libbase", |
| 763 | "libcutils", |
| 764 | "libcrypto_utils", |
| 765 | "libcrypto", |
| 766 | "libdiagnose_usb", |
| 767 | "libfastdeploy_host", |
| 768 | "liblog", |
| 769 | "libmdnssd", |
| 770 | "libprotobuf-cpp-lite", |
| 771 | "libusb", |
| 772 | "libutils", |
| 773 | "libziparchive", |
| 774 | "libz", |
| 775 | ], |
| 776 | target: { |
| 777 | windows: { |
| 778 | enabled: true, |
| 779 | shared_libs: ["AdbWinApi"], |
| 780 | }, |
| 781 | }, |
| 782 | data: [ |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 783 | "fastdeploy/testdata/rotating_cube-metadata-release.data", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 784 | "fastdeploy/testdata/rotating_cube-release.apk", |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 785 | "fastdeploy/testdata/sample.apk", |
| 786 | "fastdeploy/testdata/sample.cd", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 787 | ], |
| 788 | } |