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 "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10filegroup { 11 name: "services.voiceinteraction-sources", 12 srcs: ["java/com/android/server/voiceinteraction/*.java"], 13 path: "java", 14 visibility: ["//frameworks/base/services"], 15} 16 17filegroup { 18 name: "services.soundtrigger_middleware-sources", 19 srcs: ["java/com/android/server/soundtrigger_middleware/*.java"], 20 path: "java", 21 visibility: ["//visibility:private"], 22} 23 24filegroup { 25 name: "services.soundtrigger_service-sources", 26 srcs: ["java/com/android/server/soundtrigger/*.java"], 27 path: "java", 28 visibility: ["//visibility:private"], 29} 30 31filegroup { 32 name: "services.soundtrigger-sources", 33 srcs: [ 34 ":services.soundtrigger_service-sources", 35 ":services.soundtrigger_middleware-sources", 36 ], 37 path: "java", 38 visibility: ["//frameworks/base/services"], 39} 40 41java_library_static { 42 name: "services.soundtrigger_middleware", 43 defaults: ["platform_service_defaults"], 44 srcs: [":services.soundtrigger_middleware-sources"], 45 libs: [ 46 "services.core", 47 ], 48 static_libs: [ 49 "android.hardware.soundtrigger-V2.3-java", 50 ], 51 visibility: ["//visibility/base/services/tests/voiceinteraction"], 52} 53 54java_library_static { 55 name: "services.soundtrigger", 56 defaults: ["platform_service_defaults"], 57 srcs: [":services.soundtrigger_service-sources"], 58 libs: [ 59 "services.core", 60 ], 61 static_libs: [ 62 "services.soundtrigger_middleware", 63 ], 64} 65 66java_library_static { 67 name: "services.voiceinteraction", 68 defaults: [ 69 "platform_service_defaults", 70 "android.hardware.power-java_shared", 71 ], 72 srcs: [":services.voiceinteraction-sources"], 73 libs: [ 74 "services.core", 75 "app-compat-annotations", 76 "android.hardware.power-V1.0-java", 77 ], 78} 79