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 "prebuilts_misc_license" 5 // to get the below license kinds: 6 // legacy_restricted 7 default_applicable_licenses: ["prebuilts_misc_license"], 8} 9 10java_library_host { 11 // Robolectric Prebuilts of android c++ code targeting mac (amd64/arm64) and linux (amd64) 12 // Sourced from here: https://github.com/robolectric/robolectric/actions/workflows/build_native_runtime.yml 13 // This set of prebuilts typically ships as part of robolectric, and allows Robolectric Native Graphics on 14 // versions of android-all (the robolectic SDK version) prior to V. 15 // 16 // Releases including and since VanillaIceCream ships with a libandroid_runtime.so 17 // equivalent to the librobolectric-nativeruntime.so included in this artifact. 18 name: "robolectric_nativeruntime_native_prebuilt", 19 java_resource_dirs: ["resources_robolectric"], 20} 21 22java_library_host { 23 // libandroid_runtime.so (currently from layoutlib branch of android), included in the android-all jar 24 // for VanillaIceCream and later. 25 // 26 // Todo(rexhoffman): build android code for host systems in standard builds in branch for the android-all jar. 27 // 28 name: "robolectric_nativeruntime_native_prebuilt_main", 29 java_resource_dirs: ["resources_android"], 30} 31