github.com/bazelbuild/rules_webtesting@v0.2.0/browsers/BUILD.bazel (about) 1 # Copyright 2016 Google Inc. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 # 15 ################################################################################ 16 # 17 load("//web:web.bzl", "browser") 18 19 package( 20 default_testonly = True, 21 default_visibility = ["//visibility:public"], 22 ) 23 24 licenses(["notice"]) # Apache 2.0 25 26 browser( 27 name = "firefox-external", 28 execution_requirements = {"requires-network": ""}, 29 metadata = "firefox-external.json", 30 ) 31 32 browser( 33 name = "chrome-external", 34 execution_requirements = {"requires-network": ""}, 35 metadata = "chrome-external.json", 36 ) 37 38 browser( 39 name = "disabled", 40 disabled = "disabled pseudo-browser", 41 metadata = "disabled.json", 42 ) 43 44 browser( 45 name = "chromium-local", 46 metadata = "chromium-local.json", 47 deps = [ 48 "//go/wsl", 49 "//third_party/chromedriver", 50 "//third_party/chromium", 51 ], 52 ) 53 54 browser( 55 name = "firefox-local", 56 metadata = "firefox-local.json", 57 deps = [ 58 "//go/wsl", 59 "//third_party/firefox", 60 "//third_party/geckodriver", 61 ], 62 )