Skip to content

Commit 3b8ac45

Browse files
banaagamaltas
authored andcommitted
Fixed lint errors for license.
PiperOrigin-RevId: 543822678
1 parent 6a75b00 commit 3b8ac45

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

  • validator/cpp/engine

validator/cpp/engine/BUILD

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
22
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
33
load("embed_data.bzl", "embed_data")
4+
load("//tools/build_defs/license:license.bzl", "license")
45

56
# Requirements:
67
# clang with c++17 support.
@@ -14,7 +15,15 @@ load("embed_data.bzl", "embed_data")
1415
#
1516
# bazel test --cxxopt='-std=c++17' validator_test
1617

17-
package(default_visibility = ["//visibility:public"])
18+
package(
19+
default_applicable_licenses = [":license"],
20+
default_visibility = ["//visibility:public"],
21+
)
22+
23+
license(
24+
name = "license",
25+
package_name = "ampvalidator",
26+
)
1827

1928
licenses(["notice"])
2029

0 commit comments

Comments
 (0)