Make libraries that depend on //javascript/angular2/testing/catalyst into ng_modules.
Currently you need a dep on something in //third_party/javascript/angular2, so people are forced to insert dummy taze comments.
PiperOrigin-RevId: 263022649
diff --git a/ts_auto_deps/updater/updater.go b/ts_auto_deps/updater/updater.go
index ff3d986..b77acba 100644
--- a/ts_auto_deps/updater/updater.go
+++ b/ts_auto_deps/updater/updater.go
@@ -958,13 +958,7 @@
for _, li := range edit.AllLists(e) {
for _, elem := range li.List {
str, ok := elem.(*build.StringExpr)
- if !ok {
- continue
- }
- if strings.HasPrefix(str.Value, "//third_party/javascript/angular2") {
- return true
- }
- if str.Value == "//javascript/angular2/testing/catalyst" {
+ if ok && strings.HasPrefix(str.Value, "//third_party/javascript/angular2") {
return true
}
}