gerrit/gerrit-reviewdb/BUILD
David Ostrovsky fa18907d7f Bazel: Reformat build files
Reformat the Bazel build files with the buildifier tool [1].

The style is different for Bazel files. Most notably, indentation level
is 4 spaces instead of 2, and " is used instead of '.

[1] https://github.com/bazelbuild/buildifier

Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
2016-12-07 11:33:07 +00:00

46 lines
1.0 KiB
Python

package(
default_visibility = ["//visibility:public"],
)
load("//tools/bzl:gwt.bzl", "gwt_module")
load("//tools/bzl:junit.bzl", "junit_tests")
SRC = "src/main/java/com/google/gerrit/reviewdb/"
TESTS = "src/test/java/com/google/gerrit/reviewdb/"
gwt_module(
name = "client",
srcs = glob([SRC + "client/**/*.java"]),
gwt_xml = SRC + "ReviewDB.gwt.xml",
visibility = ["//visibility:public"],
deps = [
"//gerrit-extension-api:client",
"//lib:gwtorm_client",
"//lib:gwtorm_client_src",
],
)
java_library(
name = "server",
srcs = glob([SRC + "**/*.java"]),
resources = glob(["src/main/resources/**/*"]),
visibility = ["//visibility:public"],
deps = [
"//gerrit-extension-api:api",
"//lib:guava",
"//lib:gwtorm",
],
)
junit_tests(
name = "client_tests",
srcs = glob([TESTS + "client/**/*.java"]),
deps = [
":client",
"//gerrit-server:testutil",
"//lib:gwtorm",
"//lib:truth",
],
)