89773d89f9
The silk icons [1] look a little more modern than the tango icons and the set contains a bigger variation of icons. The silk icons are available under the Creative Commons Attribution 3.0 License. For some icons (arrowDown.png, arrowUp.png, arrowRight.png, draftComments.png and queryIcon.png) the origin is unclear and hence we should no longer use them. The origin of deleteNormal.png and deleteHover.png is also unclear but at the moment we don't have a good replacement for them. The magnifying glass icon that was used as query icon is replaced by a spy glasses icon. This is because the magnifying glass is associated with zoom and not with find/query. Some icons from the tango icon library [2] (goNext.png, goPrev.png, goUp.png, listAdd.png) are still used because there is no suitable replacement for them in the silk icons set. Some unused icons have been removed. In the source code the icons are now grouped by origin. This should make it more obvious when icons of unknown origin are added. [1] http://famfamfam.com/lab/icons/silk/ [2] http://tango.freedesktop.org/Tango_Icon_Library Change-Id: I5e153647c60410115d06da1a706a0ec1ecdfcaed Signed-off-by: Edwin Kempin <ekempin@google.com>
78 lines
1.7 KiB
Python
78 lines
1.7 KiB
Python
include_defs('//gerrit-gwtui/gwt.defs')
|
|
include_defs('//tools/gwt-constants.defs')
|
|
|
|
DEPS = GWT_TRANSITIVE_DEPS + [
|
|
'//gerrit-gwtexpui:CSS',
|
|
'//lib:gwtjsonrpc',
|
|
'//lib/gwt:dev',
|
|
]
|
|
|
|
gwt_genrule(MODULE, DEPS)
|
|
gwt_genrule(MODULE, DEPS, '_r')
|
|
|
|
gwt_user_agent_permutations(
|
|
name = 'ui',
|
|
module_name = 'gerrit_ui',
|
|
modules = [MODULE],
|
|
module_deps = [':ui_module'],
|
|
deps = DEPS,
|
|
visibility = ['//:'],
|
|
)
|
|
|
|
gwt_module(
|
|
name = 'ui_module',
|
|
srcs = glob(['src/main/java/**/*.java']),
|
|
gwt_xml = 'src/main/java/%s.gwt.xml' % MODULE.replace('.', '/'),
|
|
resources = glob(['src/main/java/**/*']),
|
|
deps = [
|
|
':freebie_application_icon_set',
|
|
':silk_icons',
|
|
'//gerrit-gwtui-common:diffy_logo',
|
|
'//gerrit-gwtui-common:client',
|
|
'//gerrit-gwtexpui:CSS',
|
|
'//lib/codemirror:codemirror',
|
|
'//lib/gwt:user',
|
|
],
|
|
visibility = [
|
|
'//tools/eclipse:classpath',
|
|
'//Documentation:licenses.txt',
|
|
'//Documentation:js_licenses.txt',
|
|
],
|
|
)
|
|
|
|
java_library(
|
|
name = 'freebie_application_icon_set',
|
|
deps = [
|
|
'//lib:LICENSE-freebie_application_icon_set',
|
|
'//lib:LICENSE-CC-BY3.0',
|
|
],
|
|
)
|
|
|
|
java_library(
|
|
name = 'silk_icons',
|
|
deps = [
|
|
'//lib:LICENSE-silk_icons',
|
|
'//lib:LICENSE-CC-BY3.0',
|
|
],
|
|
)
|
|
|
|
java_test(
|
|
name = 'ui_tests',
|
|
srcs = glob(['src/test/java/**/*.java']),
|
|
resources = glob(['src/test/resources/**/*']) + [
|
|
'src/main/java/com/google/gerrit/GerritGwtUI.gwt.xml',
|
|
],
|
|
deps = [
|
|
':ui_module',
|
|
'//gerrit-common:client',
|
|
'//gerrit-extension-api:client',
|
|
'//lib:junit',
|
|
'//lib/gwt:dev',
|
|
'//lib/gwt:user',
|
|
'//lib/gwt:gwt-test-utils',
|
|
],
|
|
source_under_test = [':ui_module'],
|
|
vm_args = ['-Xmx512m'],
|
|
visibility = ['//tools/eclipse:classpath'],
|
|
)
|