Merge "Buck: Fix api build"
This commit is contained in:
@@ -3,10 +3,7 @@ GWTEXPUI = ['gerrit-gwtexpui/src/main/java/']
|
||||
SRC = 'src/main/java/com/google/gerrit/'
|
||||
SRCS = glob([SRC + '**/*.java'])
|
||||
|
||||
DEPS = [
|
||||
'//lib/gwt:user',
|
||||
'//lib/gwt:dev',
|
||||
]
|
||||
DEPS = ['//lib/gwt:user']
|
||||
|
||||
java_binary(
|
||||
name = 'gwtui-api',
|
||||
@@ -36,7 +33,7 @@ java_library(
|
||||
'//gerrit-gwtexpui:UserAgent',
|
||||
'//gerrit-gwtui-common:client-lib2',
|
||||
],
|
||||
provided_deps = DEPS,
|
||||
provided_deps = DEPS + ['//lib/gwt:dev'],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
@@ -69,7 +66,10 @@ java_doc(
|
||||
],
|
||||
paths = COMMON + GWTEXPUI,
|
||||
srcs = SRCS,
|
||||
deps = DEPS + ['//gerrit-gwtui-common:client-lib2'],
|
||||
deps = DEPS + [
|
||||
'//lib/gwt:dev__jar',
|
||||
'//gerrit-gwtui-common:client-lib2',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
do_it_wrong = True,
|
||||
)
|
||||
|
||||
@@ -134,6 +134,7 @@ def maven_jar(
|
||||
deps = deps + license,
|
||||
binary_jar = ':%s__download_bin' % name,
|
||||
source_jar = ':%s__download_src' % name if srcjar else None,
|
||||
visibility = visibility,
|
||||
)
|
||||
java_library(
|
||||
name = name,
|
||||
|
||||
Reference in New Issue
Block a user