Migrate MockProtoSupport from js_library to js_lib.
RELNOTES: None.
@@ -201,20 +201,23 @@ public final class MockProtoSupport {
" srcs = ['plugin.cc'])");
config.create(
"javascript/apps/jspb/BUILD",
+ "load('//tools/build_defs/js:rules.bzl', 'js_lib')",
"package(default_visibility=['//visibility:public'])",
- "js_library(name = 'message',",
+ "js_lib(name = 'message',",
" srcs = ['message.js'],",
" deps_mgmt = 'legacy')");
config.create(
"javascript/closure/array/BUILD",
+ "load('//tools/build_defs/js:rules.bzl', 'js_lib')",
"package(default_visibility=['//visibility:public'])",
- "js_library(name = 'array',",
+ "js_lib(name = 'array',",
" srcs = ['array.js'],",
" deps_mgmt = 'legacy')");
config.create(
"javascript/apps/xid/BUILD",
+ "load('//tools/build_defs/js:rules.bzl', 'js_lib')",
"package(default_visibility=['//visibility:public'])",
- "js_library(name = 'xid',",
+ "js_lib(name = 'xid',",
" srcs = ['xid.js'],",
" deps_mgmt = 'legacy')");
}
