1//############################################################### 2// Compile Robolectric shadows androidx fragment # 3//############################################################### 4 5package { 6 // See: http://go/android-license-faq 7 // A large-scale-change added 'default_applicable_licenses' to import 8 // all of the 'license_kinds' from "external_robolectric-shadows_license" 9 // to get the below license kinds: 10 // SPDX-license-identifier-MIT 11 default_applicable_licenses: ["external_robolectric-shadows_license"], 12} 13 14java_library_host { 15 name: "Robolectric_shadows_androidx_fragment", 16 static_libs: [ 17 "Robolectric_shadows_framework", 18 "Robolectric_shadowapi", 19 ], 20 libs: [ 21 "robolectric-host-android_all", 22 "robolectric-host-androidx", 23 ], 24 plugins: ["Robolectric_processor"], 25 javacflags: ["-Aorg.robolectric.annotation.processing.shadowPackage=org.robolectric.shadows.androidx.fragment"], 26 srcs: ["src/main/java/**/*.java"], 27} 28