build: Fix all the BUILD files for google3

This commit is contained in:
Yi Qi 2018-08-03 11:16:01 -07:00 committed by Filipe Silva
parent d77304b700
commit b834014bb1
4 changed files with 31 additions and 1 deletions

View File

@ -18,6 +18,7 @@ ts_library(
"**/*_spec_large.ts",
],
),
data = glob(["**/*.json"]),
deps = [
"//packages/angular_devkit/architect",
"//packages/angular_devkit/core",
@ -30,4 +31,4 @@ ts_library(
# @typings: semver
],
tsconfig = "//:tsconfig.json"
)
)

View File

@ -23,6 +23,7 @@ ts_library(
"**/*_spec_large.ts",
],
),
data = glob(["**/*.json"]),
deps = [
"//packages/angular_devkit/core",
"//packages/angular_devkit/core:node",

View File

@ -18,6 +18,7 @@ ts_library(
"src/**/*_benchmark.ts",
],
),
data = glob(["**/*.json"]),
module_name = "@angular-devkit/core",
module_root = "src",
deps = [

View File

@ -0,0 +1,27 @@
# Copyright Google Inc. All Rights Reserved.
#
# Use of this source code is governed by an MIT-style license that can be
# found in the LICENSE file at https://angular.io/license
licenses(["notice"]) # MIT
load("//tools:defaults.bzl", "ts_library")
ts_library(
name = "utility",
srcs = glob(
include = ["utility/**/*.ts"],
exclude = [
"utility/**/*_spec.ts",
"utility/test/**",
],
),
visibility = ["//visibility:public"],
deps = [
"//packages/angular_devkit/core",
"//packages/angular_devkit/schematics",
"//packages/angular_devkit/schematics:tasks",
# @typings: typescript
# @typings: node
],
)