* stable-2.14: Bazel: Fix more buildifier warnings Bazel: Automatically fix lint errors with buildifier 0.20.0 Bazel: Automatically fix lint errors with buildifier Change-Id: I02ba30185683a54dca09e6e200b90fe0e86e1f83
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
load("//tools/bzl:genrule2.bzl", "genrule2")
 | 
						|
load("//tools/bzl:js.bzl", "bower_component_bundle")
 | 
						|
 | 
						|
package(default_visibility = ["//visibility:public"])
 | 
						|
 | 
						|
bower_component_bundle(
 | 
						|
    name = "polygerrit_components.bower_components",
 | 
						|
    deps = [
 | 
						|
        "//lib/js:es6-promise",
 | 
						|
        "//lib/js:fetch",
 | 
						|
        # TODO(hanwen): this is inserted separately in the UI zip. Do we need this here?
 | 
						|
        "//lib/js:highlightjs",
 | 
						|
        "//lib/js:iron-a11y-keys-behavior",
 | 
						|
        "//lib/js:iron-autogrow-textarea",
 | 
						|
        "//lib/js:iron-dropdown",
 | 
						|
        "//lib/js:iron-icon",
 | 
						|
        "//lib/js:iron-iconset-svg",
 | 
						|
        "//lib/js:iron-input",
 | 
						|
        "//lib/js:iron-overlay-behavior",
 | 
						|
        "//lib/js:iron-selector",
 | 
						|
        "//lib/js:moment",
 | 
						|
        "//lib/js:page",
 | 
						|
        "//lib/js:paper-button",
 | 
						|
        "//lib/js:paper-input",
 | 
						|
        "//lib/js:paper-item",
 | 
						|
        "//lib/js:paper-listbox",
 | 
						|
        "//lib/js:polymer",
 | 
						|
        "//lib/js:polymer-resin",
 | 
						|
        "//lib/js:promise-polyfill",
 | 
						|
    ],
 | 
						|
)
 | 
						|
 | 
						|
genrule2(
 | 
						|
    name = "fonts",
 | 
						|
    srcs = [
 | 
						|
        "//lib/fonts:robotofonts",
 | 
						|
    ],
 | 
						|
    outs = ["fonts.zip"],
 | 
						|
    cmd = " && ".join([
 | 
						|
        "mkdir -p $$TMP/fonts",
 | 
						|
        "cp $(SRCS) $$TMP/fonts/",
 | 
						|
        "cd $$TMP",
 | 
						|
        "find fonts/ -exec touch -t 198001010000 '{}' ';'",
 | 
						|
        "zip -qr $$ROOT/$@ fonts",
 | 
						|
    ]),
 | 
						|
    output_to_bindir = 1,
 | 
						|
)
 |