blob: bbf1c7e156c3745b91c6a707d672ee410fdf5323 [file] [log] [blame]
licenses(["notice"]) # Apache 2.0
java_library(
name = "cpp",
srcs = glob(
["src/**/*.java"],
),
visibility = ["//visibility:public"],
deps = [
"//base",
"//common/experiments",
"//intellij_platform_sdk:plugin_api",
"//sdkcompat",
"@jsr305_annotations//jar",
],
)
filegroup(
name = "plugin_xml",
srcs = ["src/META-INF/blaze-cpp.xml"],
visibility = ["//visibility:public"],
)
load(
"//testing:test_defs.bzl",
"intellij_unit_test_suite",
)
intellij_unit_test_suite(
name = "unit_tests",
srcs = glob(["tests/unittests/**/*.java"]),
test_package_root = "com.google.idea.blaze.cpp",
deps = [
":cpp",
"//base:unit_test_utils",
"//intellij_platform_sdk:plugin_api_for_tests",
"//sdkcompat",
"@jsr305_annotations//jar",
"@junit//jar",
],
)