| 
									
										
										
										
											2019-11-01 11:17:10 -07:00
										 |  |  | # Copyright 2018 The Bazel Authors. All rights reserved. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  | # you may not use this file except in compliance with the License. | 
					
						
							|  |  |  | # You may obtain a copy of the License at | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #    http://www.apache.org/licenses/LICENSE-2.0 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  | # distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  | # See the License for the specific language governing permissions and | 
					
						
							|  |  |  | # limitations under the License. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | """Pinned browser versions.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | This function is here to make browser repositories work with cross-platform RBE. | 
					
						
							|  |  |  | Unlike the rules_webtesting browser_repositories, this function defines | 
					
						
							|  |  |  | separate repositories for each platform | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-13 22:25:46 +02:00
										 |  |  | load("//dev-infra/browsers/chromium:chromium.bzl", "define_chromium_repositories") | 
					
						
							|  |  |  | load("//dev-infra/browsers/firefox:firefox.bzl", "define_firefox_repositories") | 
					
						
							| 
									
										
										
										
											2019-11-01 11:17:10 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | def browser_repositories(): | 
					
						
							|  |  |  |     """Load pinned rules_webtesting browser versions.""" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-13 22:25:46 +02:00
										 |  |  |     define_chromium_repositories() | 
					
						
							|  |  |  |     define_firefox_repositories() |