package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "prebuilts_misc_license" // to get the below license kinds: // legacy_restricted default_applicable_licenses: ["prebuilts_misc_license"], } java_library_host { // Robolectric Prebuilts of android c++ code targeting mac (amd64/arm64) and linux (amd64) // Sourced from here: https://github.com/robolectric/robolectric/actions/workflows/build_native_runtime.yml // This set of prebuilts typically ships as part of robolectric, and allows Robolectric Native Graphics on // versions of android-all (the robolectic SDK version) prior to V. // // Releases including and since VanillaIceCream ships with a libandroid_runtime.so // equivalent to the librobolectric-nativeruntime.so included in this artifact. name: "robolectric_nativeruntime_native_prebuilt", java_resource_dirs: ["resources_robolectric"], } java_library_host { // libandroid_runtime.so (currently from layoutlib branch of android), included in the android-all jar // for VanillaIceCream and later. // // Todo(rexhoffman): build android code for host systems in standard builds in branch for the android-all jar. // name: "robolectric_nativeruntime_native_prebuilt_main", java_resource_dirs: ["resources_android"], }