blob: ea446512b1089426e1c535e5ba873233a8173fc0 [file] [log] [blame]
load("//tools/base/bazel:bazel.bzl", "iml_module")
iml_module(
name = "studio.layoutinspector",
srcs = ["src/main/java"],
iml_files = ["layoutinspector.iml"],
tags = ["managed"],
test_srcs = ["src/test/java"],
visibility = ["//visibility:public"],
exports = ["//tools/base/common:studio.common"],
# do not sort: must match IML order
deps = [
"//tools/base/common:studio.common[module]",
"//tools/base/annotations:studio.android-annotations[module]",
"//tools/base/ddmlib:studio.ddmlib[module]",
"//tools/idea/.idea/libraries:gson",
"//tools/idea/.idea/libraries:JUnit4[test]",
"//tools/idea/.idea/libraries:KotlinJavaRuntime",
],
)
java_test(
name = "tools.tests",
srcs = glob(["src/test/java/**"]),
jvm_flags = ["-Dtest.suite.jar=tools.tests.jar"],
test_class = "com.android.testutils.JarTestSuite",
runtime_deps = ["//tools/base/testutils:tools.testutils"],
deps = [
"studio.layoutinspector",
],
)