1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "system_core_fastboot_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-BSD 7 default_applicable_licenses: ["system_core_fastboot_license"], 8} 9 10cc_test_host { 11 name: "fuzzy_fastboot", 12 isolated: false, 13 compile_multilib: "first", 14 15 srcs: [ 16 "main.cpp", 17 "extensions.cpp", 18 "transport_sniffer.cpp", 19 "fixtures.cpp", 20 "test_utils.cpp", 21 ], 22 23 static_libs: [ 24 "libfastboot2", 25 "libziparchive", 26 "libsparse", 27 "libutils", 28 "liblog", 29 "libz", 30 "libdiagnose_usb", 31 "libbase", 32 "libcutils", 33 "libgtest", 34 "libgtest_main", 35 "libbase", 36 "libadb_host", 37 "libtinyxml2", 38 "libsparse", 39 "liblp", 40 "libcrypto", 41 "libext4_utils", 42 ], 43 44 stl: "libc++_static", 45 46 // Static libs (libfastboot2) shared library dependencies are not transitively included 47 // This is needed to avoid link time errors when building for mac 48 target: { 49 darwin: { 50 host_ldlibs: [ 51 "-framework CoreFoundation", 52 "-framework IOKit", 53 ], 54 }, 55 }, 56 57 // Disable auto-generation of test config as this binary itself is not a test in the test suites, 58 // rather it is used by other tests. 59 auto_gen_config: false, 60 test_suites: [ 61 "general-tests", 62 "vts", 63 ], 64} 65