| 
									
										
										
										
											2018-09-11 18:11:32 -07:00
										 |  |  | load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") | 
					
						
							| 
									
										
										
										
											2018-02-02 15:08:25 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-16 10:19:01 +01:00
										 |  |  | package(default_visibility = ["//visibility:public"]) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-02 15:08:25 -08:00
										 |  |  | ts_library( | 
					
						
							|  |  |  |     name = "lib", | 
					
						
							| 
									
										
										
										
											2018-08-14 16:18:26 -07:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2018-02-02 15:08:25 -08:00
										 |  |  |     srcs = glob( | 
					
						
							|  |  |  |         ["**/*.ts"], | 
					
						
							|  |  |  |         exclude = [ | 
					
						
							|  |  |  |             "**/*_spec.ts", | 
					
						
							|  |  |  |             "**/*_spec", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//packages:types", | 
					
						
							| 
									
										
										
										
											2021-04-13 19:07:12 +02:00
										 |  |  |         "@npm//@bazel/runfiles", | 
					
						
							| 
									
										
										
										
											2019-02-20 09:54:42 -08:00
										 |  |  |         "@npm//typescript", | 
					
						
							| 
									
										
										
										
											2018-02-02 15:08:25 -08:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ts_library( | 
					
						
							|  |  |  |     name = "test_lib", | 
					
						
							|  |  |  |     testonly = 1, | 
					
						
							|  |  |  |     srcs = glob( | 
					
						
							|  |  |  |         ["**/*_spec.ts"], | 
					
						
							|  |  |  |         exclude = ["symbol_extractor_spec/**"], | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         ":lib", | 
					
						
							|  |  |  |         "//packages:types", | 
					
						
							| 
									
										
										
										
											2019-02-20 09:54:42 -08:00
										 |  |  |         "@npm//typescript", | 
					
						
							| 
									
										
										
										
											2018-02-02 15:08:25 -08:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | jasmine_node_test( | 
					
						
							|  |  |  |     name = "test", | 
					
						
							|  |  |  |     data = glob(["symbol_extractor_spec/**"]), | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         ":test_lib", | 
					
						
							| 
									
										
										
										
											2020-07-16 14:33:11 +02:00
										 |  |  |         "//tools/symbol-extractor/symbol_extractor_spec:es2015_class_output", | 
					
						
							|  |  |  |         "//tools/symbol-extractor/symbol_extractor_spec:fixtures", | 
					
						
							| 
									
										
										
										
											2018-02-02 15:08:25 -08:00
										 |  |  |     ], | 
					
						
							|  |  |  | ) |