blob: 5f70a53bba1aad81dcfa5874dc81331ae83aff79 [file] [log] [blame]
load("//tools/base/bazel:bazel.bzl", "iml_module")
# managed by go/iml_to_build
iml_module(
name = "intellij.android.databinding",
# do not sort: must match IML order
srcs = ["src"],
iml_files = ["intellij.android.databinding.iml"],
lint_baseline = "//tools/base/lint:studio-checks/empty_baseline.xml",
test_resources = ["testData"],
visibility = ["//visibility:public"],
# do not sort: must match IML order
runtime_deps = [
"//tools/idea/platform/tasks-platform-impl:intellij.platform.tasks.impl",
"//tools/idea/json:intellij.json",
"//tools/idea/platform/credential-store:intellij.platform.credentialStore",
"//tools/idea/jvm/jvm-analysis-impl:intellij.jvm.analysis.impl",
"//tools/idea/java/compiler/instrumentation-util-8:intellij.java.compiler.instrumentationUtil.java8",
"//tools/idea/plugins/maven/error-prone-compiler:intellij.maven.errorProne.compiler",
"//tools/idea/plugins/IntelliLang/intellilang-jps-plugin:intellij.java.langInjection.jps",
"//tools/adt/idea/adt-branding:intellij.android.adt.branding",
],
# do not sort: must match IML order
deps = [
"//tools/idea/platform/core-api:intellij.platform.core[module]",
"//tools/idea/java/java-psi-impl:intellij.java.psi.impl[module]",
"//tools/idea/java/java-indexing-api:intellij.java.indexing[module]",
"//tools/adt/idea/android:intellij.android.core[module]",
"//tools/idea/platform/projectModel-api:intellij.platform.projectModel[module]",
"//tools/idea/platform/lang-api:intellij.platform.lang[module]",
"//tools/idea/xml/xml-psi-api:intellij.xml.psi[module]",
"//tools/idea/xml/dom-openapi:intellij.xml.dom[module]",
"//tools/idea/xml/dom-impl:intellij.xml.dom.impl[module]",
"//tools/idea/platform/lang-impl:intellij.platform.lang.impl[module]",
"//tools/idea/xml/xml-psi-impl:intellij.xml.psi.impl[module]",
"//tools/idea/xml/impl:intellij.xml.impl[module]",
"//tools/idea/.idea/libraries:studio-analytics-proto",
"//tools/analytics-library/tracker:analytics-tracker[module]",
"//tools/idea/.idea/libraries:protobuf",
"//tools/idea:intellij.java.analysis.impl[module]",
"//tools/idea/.idea/libraries:NanoXML",
],
)
# managed by go/iml_to_build
iml_module(
name = "intellij.android.databinding.tests",
iml_files = ["intellij.android.databinding.tests.iml"],
tags = [
"no_test_mac",
"no_test_mac_psq", # b/113099009
"no_test_windows",
],
test_class = "com.android.tools.idea.databinding.AndroidDataBindingTestSuite",
test_coverage = True,
# keep sorted
test_data = [
"//prebuilts/studio/jdk",
"//prebuilts/studio/sdk:build-tools/latest",
"//prebuilts/studio/sdk:platforms/latest",
"//prebuilts/tools/common/kotlin-plugin:Kotlin/kotlinc/build.txt",
"//tools/adt/idea/android:test_deps.zip",
"//tools/adt/idea/android/annotations",
"//tools/adt/idea/databinding/testData",
"//tools/base/build-system:gradle-distrib",
"//tools/base/build-system:studio_repo.zip",
"//tools/base/templates",
"//tools/data-binding:data_binding_runtime.zip",
"//tools/idea:platform-build-info",
"//tools/idea/java/jdkAnnotations",
"//tools/idea/java/mockJDK-1.7",
],
# do not sort: must match IML order
test_runtime_deps = [
"//tools/idea/platform/tasks-platform-impl:intellij.platform.tasks.impl",
"//tools/idea/platform/credential-store:intellij.platform.credentialStore",
"//tools/idea/java/compiler/instrumentation-util-8:intellij.java.compiler.instrumentationUtil.java8",
"//tools/idea/jvm/jvm-analysis-impl:intellij.jvm.analysis.impl",
"//tools/idea/plugins/maven/error-prone-compiler:intellij.maven.errorProne.compiler",
"//tools/idea/plugins/IntelliLang/intellilang-jps-plugin:intellij.java.langInjection.jps",
"//tools/adt/idea/adt-branding:intellij.android.adt.branding",
"//tools/vendor/intellij/cidr/cidr-common-testFramework:intellij.cidr.common.testFramework",
"//tools/vendor/intellij/cidr:intellij.c.doxygen",
],
test_srcs = ["testSrc"],
test_timeout = "long",
visibility = ["//visibility:public"],
# do not sort: must match IML order
deps = [
"//tools/idea/.idea/libraries:JUnit4[test]",
"//tools/idea/.idea/libraries:commons-io[test]",
"//tools/base/testutils:studio.android.sdktools.testutils[module, test]",
"//tools/adt/idea/adt-testutils:intellij.android.adt.testutils[module, test]",
"//tools/adt/idea/android:intellij.android.core[module, test]",
"//tools/adt/idea/android-kotlin:intellij.android.kotlin.extensions[module, test]",
"//tools/adt/idea/android-test-framework:intellij.android.testFramework[module, test]",
"//tools/idea:intellij.platform.jps.build_and_others[module, test]",
"//tools/idea/platform/editor-ui-api:intellij.platform.editor[module, test]",
"//tools/idea/platform/testFramework:intellij.platform.testFramework[module, test]",
"//tools/idea/.idea/libraries:truth[test]",
"//tools/adt/idea/databinding:intellij.android.databinding[module, test]",
"//tools/analytics-library/tracker:analytics-tracker[module, test]",
"//tools/analytics-library/testing:android.sdktools.analytics-testing[module, test]",
"//tools/idea/.idea/libraries:studio-analytics-proto[test]",
"//tools/idea/.idea/libraries:protobuf[test]",
"//tools/idea/xml/xml-psi-impl:intellij.xml.psi.impl[module, test]",
"//tools/vendor/intellij/cidr:intellij.c[module, test]",
"//tools/idea/xml/dom-openapi:intellij.xml.dom[module, test]",
],
)