| 
									
										
										
										
											2017-06-02 09:43:52 -07:00
										 |  |  | package(default_visibility=["//visibility:public"]) | 
					
						
							| 
									
										
										
										
											2017-07-21 14:11:35 -07:00
										 |  |  | load("@build_bazel_rules_typescript//:defs.bzl", "ts_library") | 
					
						
							| 
									
										
										
										
											2017-06-02 09:43:52 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | ts_library( | 
					
						
							|  |  |  |     name = "core", | 
					
						
							|  |  |  |     srcs = glob(["**/*.ts"], exclude=[ | 
					
						
							|  |  |  |       "test/**", | 
					
						
							|  |  |  |       "testing/**", | 
					
						
							|  |  |  |     ]), | 
					
						
							|  |  |  |     module_name = "@angular/core", | 
					
						
							|  |  |  |     deps = [], | 
					
						
							|  |  |  |     tsconfig = ":tsconfig-build.json", | 
					
						
							|  |  |  | ) | 
					
						
							| 
									
										
										
										
											2017-07-21 14:20:34 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | load("@build_bazel_rules_angular//:defs.bzl", "ng_module") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ng_module( | 
					
						
							|  |  |  |   name = "core_ng_module", | 
					
						
							|  |  |  |   srcs = glob(["**/*.ts"], exclude=[ | 
					
						
							|  |  |  |       "test/**", | 
					
						
							|  |  |  |       "testing/**", | 
					
						
							|  |  |  |   ]), | 
					
						
							|  |  |  |   # Needed to allow (ts_library,ng_module) pair | 
					
						
							|  |  |  |   write_ng_outputs_only = True, | 
					
						
							|  |  |  |   module_name = "@angular/core", | 
					
						
							|  |  |  |   tsconfig = ":tsconfig-build.json", | 
					
						
							|  |  |  |   compiler = "//tools/ngc-wrapped" | 
					
						
							|  |  |  | ) |