
Modify license_map rule to: - Accept more than 1 targets - Add '--asciidoctor' option to generate asciidoctor txt file - Add support for multiple licenses for a single target (diffy_logo) Also add test_license.sh for license_test rule to handle special DO_NOT_DISTRIBUTE exceptions. TESTED: bazel build Documentation:licenses.txt bazel test gerrit-pgm:pgm_license_test bazel test gerrit-gwtui:ui_module_license_test Change-Id: Ic64b227fea34882721e6e064b1520cd9a4d5d4a4
12 lines
188 B
Python
12 lines
188 B
Python
|
|
load("//tools/bzl:license.bzl", "license_map")
|
|
|
|
license_map(
|
|
name = "licenses",
|
|
targets = [
|
|
"//gerrit-pgm:pgm",
|
|
"//gerrit-gwtui:ui_module",
|
|
],
|
|
opts = ["--asciidoctor"],
|
|
)
|