File tree Expand file tree Collapse file tree
javatests/io/bazel/rules/closure
com/google/javascript/jscomp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ def _closure_js_library_impl(
136136 suppress = suppress + [
137137 "analyzerChecks" ,
138138 "deprecated" ,
139- "legacyGoogScopeRequire" ,
140139 "lintChecks" ,
141140 "missingOverride" ,
142141 "reportUnknownTypes" ,
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ bzl_library(
6161 srcs = ["webdriver_test.bzl" ],
6262 deps = [
6363 "//closure:web_library_bzl" ,
64- "@io_bazel_rules_webtesting //web:web" ,
64+ "@rules_webtesting //web:web" ,
6565 ],
6666)
6767
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ closure_js_test(
118118 name = "simple_webtest_test" ,
119119 timeout = "short" ,
120120 srcs = ["simple_test.js" ],
121- browsers = ["@io_bazel_rules_webtesting //browsers:chromium-local" ],
121+ browsers = ["@rules_webtesting //browsers:chromium-local" ],
122122 tags = [
123123 "local" ,
124124 "manual" ,
@@ -133,7 +133,7 @@ closure_js_test(
133133 name = "arithmetic_module_webtest_test" ,
134134 timeout = "short" ,
135135 srcs = ["arithmetic_module_test.js" ],
136- browsers = ["@io_bazel_rules_webtesting //browsers:chromium-local" ],
136+ browsers = ["@rules_webtesting //browsers:chromium-local" ],
137137 entry_points = ["goog:arithmetic_module_test" ],
138138 tags = [
139139 "local" ,
Original file line number Diff line number Diff line change 1414
1515"""Macro for running webtest with a test driver."""
1616
17- load ("@io_bazel_rules_webtesting //web:web.bzl" , "web_test" , "web_test_suite" )
17+ load ("@rules_webtesting //web:web.bzl" , "web_test" , "web_test_suite" )
1818load ("//closure:webfiles/web_library.bzl" , "web_library" )
1919
2020def webdriver_test (
Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ final class Diagnostics {
9090 "globalThis" ,
9191 "invalidCasts" ,
9292 "lateProvide" ,
93- "legacyGoogScopeRequire" ,
9493 "lintChecks" ,
9594 "messageConventions" ,
9695 "misplacedTypeAnnotation" ,
@@ -118,7 +117,6 @@ final class Diagnostics {
118117 "unknownDefines" ,
119118 "untranspilableFeatures" ,
120119 "unusedLocalVariables" ,
121- "unusedPrivateMembers" ,
122120 "useOfGoogProvide" ,
123121 "uselessCode" ,
124122 "visibility" ,
Original file line number Diff line number Diff line change @@ -102,11 +102,7 @@ private PassFactory scopedAliases() {
102102 return PassFactory .builder ()
103103 .setName ("scopedAliases" )
104104 .setInternalFactory (
105- (compiler ) ->
106- new ScopedAliases (
107- compiler ,
108- /*preprocessorSymbolTable=*/ null ,
109- compiler .getOptions ().getAliasTransformationHandler ()))
105+ (compiler ) -> ScopedAliases .builder (compiler ).build ())
110106 .build ();
111107 }
112108
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ java_binary(
3131 "@maven//:org_seleniumhq_selenium_selenium_api" ,
3232 "@maven//:org_seleniumhq_selenium_selenium_remote_driver" ,
3333 "@maven//:org_seleniumhq_selenium_selenium_support" ,
34- "@io_rules_web_testing_java //java/com/google/testing/web" ,
34+ "@rules_web_testing_java //java/com/google/testing/web" ,
3535 ],
3636)
Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ licenses(["notice"])
1919
2020java_library (
2121 name = "webfiles" ,
22- srcs = glob (
23- ["*.java" ],
24- ),
22+ srcs = glob (["*.java" ]),
2523 visibility = ["//visibility:public" ],
2624 deps = [
2725 ":build_info_java_proto" ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ java_library(
2323 deps = [
2424 "@google_bazel_common//third_party/java/dagger" ,
2525 "@google_bazel_common//third_party/java/guava" ,
26+ "@google_bazel_common//third_party/java/jsr330_inject" ,
2627 "@maven//:com_google_closure_stylesheets_closure_stylesheets" ,
27- "@maven//:javax_inject_javax_inject" ,
2828 ],
2929)
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ java_library(
3131 "@google_bazel_common//third_party/java/auto:value" ,
3232 "@google_bazel_common//third_party/java/dagger" ,
3333 "@google_bazel_common//third_party/java/guava" ,
34- "@maven//:javax_inject_javax_inject " ,
34+ "@google_bazel_common//third_party/java/jsr330_inject " ,
3535 ],
3636)
3737
You can’t perform that action at this time.
0 commit comments