Files
lawnchair/concurrent/Android.bp
Adnan Begovic 3b0dd96093 launcher3: Implement ExecutorsModule
Implement the ExecutorsModule interface
to provide the necessary dependencies needed
for having injectable executors.

Bug: 407593767
Test: N/A
Flag: NONE - new module
Change-Id: I4a53fc6be31664b7a6fa907761ea93a2d0377f08
2025-04-14 09:16:57 -07:00

54 lines
1.7 KiB
Plaintext

// Copyright (C) 2025 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library {
name: "launcher-executor-qualifiers",
srcs: [
"src/com/android/launcher3/concurrent/annotations/Background.kt",
"src/com/android/launcher3/concurrent/annotations/LightweightBackground.kt",
"src/com/android/launcher3/concurrent/annotations/ThreadPool.kt",
"src/com/android/launcher3/concurrent/annotations/Ui.kt",
],
sdk_version: "current",
min_sdk_version: min_launcher3_sdk_version,
target_sdk_version: "current",
static_libs: [
"androidx.annotation_annotation",
"jsr330",
],
}
java_library {
name: "launcher-executors-module",
srcs: [
"src/com/android/launcher3/concurrent/ExecutorsModule.kt",
],
sdk_version: "current",
min_sdk_version: min_launcher3_sdk_version,
target_sdk_version: "current",
plugins: ["dagger2-compiler"],
static_libs: [
"androidx.annotation_annotation",
"dagger2",
"guava",
"jsr330",
"launcher-executor-qualifiers",
],
}