1package { 2 default_team: "trendy_team_fwk_wifi_hal", 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6java_defaults { 7 name: "WifiTrackerLibDefaults", 8 srcs: ["src/**/*.java"], 9 resource_dirs: [], 10 static_libs: [ 11 "androidx.annotation_annotation", 12 "androidx.core_core", 13 "androidx.lifecycle_lifecycle-runtime", 14 "WifiTrackerLibRes", 15 "SettingsLibHelpUtils", 16 ], 17 18 min_sdk_version: "S", 19} 20 21android_library { 22 name: "WifiTrackerLib", 23 defaults: ["WifiTrackerLibDefaults"], 24 static_libs: [ 25 "wifi_aconfig_flags_lib", 26 ], 27 srcs: ["src/**/*.java"], 28} 29 30android_library { 31 name: "SdkWifiTrackerLib", 32 defaults: ["WifiTrackerLibDefaults"], 33 srcs: ["sdk_src/**/NonSdkApiWrapper.java"], 34 exclude_srcs: ["src/**/NonSdkApiWrapper.java"], 35 36 sdk_version: "system_current", 37} 38 39// Define the resources as a separate library so that external apps may use them without needing to 40// be up-to-date with WifiTrackerLib's min_sdk_version 41android_library { 42 name: "WifiTrackerLibRes", 43 resource_dirs: ["res"], 44 min_sdk_version: "1", 45} 46