97d7b0d7b9
The plugin and extension jars follow the scheme gerrit-$FOO -> $FOO.jar gerrit-$FOO -> $FOO-src.jar gerrit-$FOO -> $FOO-javadoc.jar Hence, for the gerrit-acceptance-framework directory, the artifacts were expected as: * gerrit-acceptance-framework.jar * gerrit-acceptance-framework-src.jar * gerrit-acceptance-framework-javadoc.jar However, they are called 'api.jar', 'src.jar', 'javadoc.jar' without any qualifier in front. To make naming more consistent, we make the new gerrit-acceptance-framework artifacts follow the above scheme. Change-Id: I6fcefed4a8ba05aae4ae2dc6f22ff39e48dea56d
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
include_defs('//tools/build.defs')
|
|
|
|
gerrit_war(name = 'gerrit')
|
|
gerrit_war(name = 'headless', ui = None)
|
|
gerrit_war(name = 'chrome', ui = 'ui_chrome')
|
|
gerrit_war(name = 'firefox', ui = 'ui_firefox')
|
|
gerrit_war(name = 'safari', ui = 'ui_safari')
|
|
gerrit_war(name = 'withdocs', docs = True)
|
|
gerrit_war(name = 'release', ui = 'ui_optdbg_r', docs = True, context = ['//plugins:core'], visibility = ['//tools/maven:'])
|
|
|
|
API_DEPS = [
|
|
'//gerrit-acceptance-framework:acceptance-framework',
|
|
'//gerrit-acceptance-framework:acceptance-framework-src',
|
|
'//gerrit-acceptance-framework:acceptance-framework-javadoc',
|
|
'//gerrit-extension-api:extension-api',
|
|
'//gerrit-extension-api:extension-api-src',
|
|
'//gerrit-extension-api:extension-api-javadoc',
|
|
'//gerrit-plugin-api:plugin-api',
|
|
'//gerrit-plugin-api:plugin-api-src',
|
|
'//gerrit-plugin-api:plugin-api-javadoc',
|
|
'//gerrit-plugin-gwtui:gwtui-api',
|
|
'//gerrit-plugin-gwtui:gwtui-api-src',
|
|
'//gerrit-plugin-gwtui:gwtui-api-javadoc',
|
|
]
|
|
|
|
genrule(
|
|
name = 'api',
|
|
cmd = 'echo done >$OUT',
|
|
deps = API_DEPS,
|
|
out = '__fake.api__',
|
|
)
|
|
|
|
genrule(
|
|
name = 'all',
|
|
cmd = 'echo done >$OUT',
|
|
deps = [
|
|
':api',
|
|
':release',
|
|
],
|
|
out = '__fake.all__',
|
|
)
|