diff --git a/third_party/BUILD b/third_party/BUILD index 678c23f9e9..a947666383 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -116,6 +116,11 @@ alias( actual = "@com_google_auto_common//jar", ) +alias( + name = "error_prone_annotations", + actual = "@com_google_errorprone_error_prone_annotations", +) + alias( name = "gson", actual = "@com_google_code_gson", diff --git a/transpiler/java/com/google/j2cl/common/BUILD b/transpiler/java/com/google/j2cl/common/BUILD index a641688967..01f8b70566 100644 --- a/transpiler/java/com/google/j2cl/common/BUILD +++ b/transpiler/java/com/google/j2cl/common/BUILD @@ -15,6 +15,7 @@ java_library( deps = [ "//third_party:args4j", "//third_party:auto_value", + "//third_party:error_prone_annotations", "//third_party:guava", "//third_party:jsr305_annotations", ], diff --git a/transpiler/java/com/google/j2cl/transpiler/ast/BUILD b/transpiler/java/com/google/j2cl/transpiler/ast/BUILD index 8b45b89f3e..9da74e34cf 100644 --- a/transpiler/java/com/google/j2cl/transpiler/ast/BUILD +++ b/transpiler/java/com/google/j2cl/transpiler/ast/BUILD @@ -12,6 +12,7 @@ java_library( javacopts = ["-Xep:BetaApi:OFF"], deps = [ "//third_party:auto_value", + "//third_party:error_prone_annotations", "//third_party:guava", "//third_party:jsr305_annotations", "//transpiler/java/com/google/j2cl/common", diff --git a/transpiler/java/com/google/j2cl/transpiler/backend/common/BUILD b/transpiler/java/com/google/j2cl/transpiler/backend/common/BUILD index 8d10bbf86a..398f1f85d1 100644 --- a/transpiler/java/com/google/j2cl/transpiler/backend/common/BUILD +++ b/transpiler/java/com/google/j2cl/transpiler/backend/common/BUILD @@ -10,6 +10,7 @@ java_library( name = "common", srcs = glob(["*.java"]), deps = [ + "//third_party:error_prone_annotations", "//third_party:guava", "//transpiler/java/com/google/j2cl/common", "//transpiler/java/com/google/j2cl/transpiler/ast", diff --git a/transpiler/java/com/google/j2cl/transpiler/backend/wasm/BUILD b/transpiler/java/com/google/j2cl/transpiler/backend/wasm/BUILD index 8dc0225791..6f8433dbaa 100644 --- a/transpiler/java/com/google/j2cl/transpiler/backend/wasm/BUILD +++ b/transpiler/java/com/google/j2cl/transpiler/backend/wasm/BUILD @@ -24,6 +24,7 @@ java_library( deps = [ ":summary_java_proto", "//third_party:auto_value", + "//third_party:error_prone_annotations", "//third_party:gson", "//third_party:guava", "//third_party:jsr305_annotations", diff --git a/transpiler/java/com/google/j2cl/transpiler/frontend/common/BUILD b/transpiler/java/com/google/j2cl/transpiler/frontend/common/BUILD index 524bfc8015..1e5d6a5282 100644 --- a/transpiler/java/com/google/j2cl/transpiler/frontend/common/BUILD +++ b/transpiler/java/com/google/j2cl/transpiler/frontend/common/BUILD @@ -18,6 +18,7 @@ java_library( deps = [ "//third_party:asm", "//third_party:auto_value", + "//third_party:error_prone_annotations", "//third_party:guava", "//third_party:j2objc_annotations", "//third_party:jsinterop-annotations", diff --git a/transpiler/java/com/google/j2cl/transpiler/frontend/jdt/BUILD b/transpiler/java/com/google/j2cl/transpiler/frontend/jdt/BUILD index b48c3ce82c..4fc9741e4f 100644 --- a/transpiler/java/com/google/j2cl/transpiler/frontend/jdt/BUILD +++ b/transpiler/java/com/google/j2cl/transpiler/frontend/jdt/BUILD @@ -18,6 +18,7 @@ java_library( srcs = glob(["*.java"]), deps = [ "//third_party:auto_value", + "//third_party:error_prone_annotations", "//third_party:guava", "//third_party:jdt-core", "//third_party:jsinterop-annotations", diff --git a/transpiler/java/com/google/j2cl/transpiler/passes/BUILD b/transpiler/java/com/google/j2cl/transpiler/passes/BUILD index e78667634f..55e1438f16 100644 --- a/transpiler/java/com/google/j2cl/transpiler/passes/BUILD +++ b/transpiler/java/com/google/j2cl/transpiler/passes/BUILD @@ -12,6 +12,7 @@ java_library( javacopts = ["-Xep:BetaApi:OFF"], deps = [ "//third_party:auto_value", + "//third_party:error_prone_annotations", "//third_party:guava", "//third_party:jsr305_annotations", "//transpiler/java/com/google/j2cl/common",