blob: 348214174ce14b1ea2d81de65e56560ea99ab5f1 [file] [log] [blame]
load("//tools/base/bazel:bazel.bzl", "iml_module")
# managed by go/iml_to_build
iml_module(
name = "intellij.android.dagger",
srcs = ["src"],
iml_files = ["intellij.android.dagger.iml"],
resources = ["resources"],
visibility = ["//visibility:public"],
# do not sort: must match IML order
deps = [
"@intellij//:intellij-sdk",
"@intellij//:com.intellij.java",
"@intellij//:org.jetbrains.kotlin",
"//tools/adt/idea/project-system:intellij.android.projectSystem",
"//tools/adt/idea/android-common:intellij.android.common",
"//tools/base/annotations:studio.android.sdktools.android-annotations",
"//tools/base/flags:studio.android.sdktools.flags",
"//tools/adt/idea/artwork:intellij.android.artwork",
"//tools/adt/idea/.idea/libraries:studio-analytics-proto",
"//tools/analytics-library/tracker:analytics-tracker",
],
)
# managed by go/iml_to_build
iml_module(
name = "intellij.android.dagger.tests",
generate_k1_tests = True,
iml_files = ["intellij.android.dagger.tests.iml"],
tags = [
"noci:studio-win", # b/135665870
],
test_class = "com.android.tools.tests.AndroidDaggerTestSuite",
test_data = [
"//prebuilts/studio/sdk:platforms/latest",
"//tools/adt/idea/android/testData",
"@maven//:com.google.dagger.dagger_2.52",
"@maven//:com.google.dagger.hilt-core_2.44.2",
"@maven//:javax.inject.javax.inject_1",
],
# do not sort: must match IML order
test_deps = [
"//tools/adt/idea/.idea/libraries:junit4",
"//tools/adt/idea/.idea/libraries:truth",
"//tools/adt/idea/.idea/libraries:mockito",
"//tools/adt/idea/.idea/libraries:mockito-kotlin",
],
test_friends = ["//tools/adt/idea/dagger:intellij.android.dagger"],
test_srcs = ["testSrc"],
visibility = ["//visibility:public"],
# do not sort: must match IML order
deps = [
"@intellij//:intellij-sdk",
"@intellij//:com.intellij.java",
"@intellij//:com.intellij.gradle",
"@intellij//:org.jetbrains.kotlin",
"//tools/adt/idea/android-test-framework:intellij.android.testFramework",
"//tools/base/testutils:studio.android.sdktools.testutils",
"//tools/adt/idea/adt-testutils:intellij.android.adt.testutils",
"//tools/adt/idea/android-common:intellij.android.common",
"//tools/adt/idea/project-system:intellij.android.projectSystem",
"//tools/adt/idea/dagger:intellij.android.dagger",
"//tools/base/flags:studio.android.sdktools.flags",
"//tools/adt/idea/.idea/libraries:studio-analytics-proto",
"//tools/analytics-library/tracker:analytics-tracker",
"//tools/adt/idea/artwork:intellij.android.artwork",
],
)