| 
									
										
										
										
											2017-08-21 08:23:47 -07:00
										 |  |  | package(default_visibility = ["//visibility:public"]) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-06 14:51:37 -07:00
										 |  |  | exports_files([ | 
					
						
							|  |  |  |     "protractor.conf.js", | 
					
						
							|  |  |  | ]) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-08-21 08:23:47 -07:00
										 |  |  | filegroup( | 
					
						
							|  |  |  |     name = "node_modules", | 
					
						
							| 
									
										
										
										
											2018-02-13 11:26:06 -08:00
										 |  |  |     srcs = glob( | 
					
						
							|  |  |  |         ["node_modules/**/*"], | 
					
						
							|  |  |  |         exclude = [ | 
					
						
							| 
									
										
										
										
											2018-04-06 11:08:19 -07:00
										 |  |  |             # Exclude rxjs because we build it from sources using the label @rxjs//:rxjs | 
					
						
							|  |  |  |             "node_modules/rxjs/**", | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             # Exclude directories that commonly contain filenames which are | 
					
						
							|  |  |  |             # illegal bazel labels | 
					
						
							| 
									
										
										
										
											2018-02-13 11:26:06 -08:00
										 |  |  |             # e.g. node_modules/adm-zip/test/assets/attributes_test/New folder/hidden.txt | 
					
						
							|  |  |  |             "node_modules/**/test/**", | 
					
						
							|  |  |  |             # e.g. node_modules/xpath/docs/function resolvers.md | 
					
						
							|  |  |  |             "node_modules/**/docs/**", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |     ), | 
					
						
							| 
									
										
										
										
											2017-08-21 08:23:47 -07:00
										 |  |  | ) | 
					
						
							| 
									
										
										
										
											2018-05-29 15:35:48 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | ANGULAR_TESTING = [ | 
					
						
							|  |  |  |     "node_modules/@angular/*/bundles/*-testing.umd.js", | 
					
						
							|  |  |  |     # We use AOT, so the compiler and the dynamic platform-browser should be | 
					
						
							|  |  |  |     # visible only in tests | 
					
						
							|  |  |  |     "node_modules/@angular/compiler/bundles/*.umd.js", | 
					
						
							|  |  |  |     "node_modules/@angular/platform-browser-dynamic/bundles/*.umd.js", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | filegroup( | 
					
						
							|  |  |  |     name = "angular_bundles", | 
					
						
							|  |  |  |     srcs = glob( | 
					
						
							|  |  |  |         ["node_modules/@angular/*/bundles/*.umd.js"], | 
					
						
							|  |  |  |         exclude = ANGULAR_TESTING, | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | filegroup( | 
					
						
							|  |  |  |     name = "angular_test_bundles", | 
					
						
							|  |  |  |     testonly = 1, | 
					
						
							|  |  |  |     srcs = glob(ANGULAR_TESTING), | 
					
						
							|  |  |  | ) |