From 33defb5db4ddef442c57c6a9463351b9fdc15b9c Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Sat, 10 Nov 2018 11:35:24 +0100 Subject: [PATCH] build: switch away from deprecated http_archive usage --- WORKSPACE | 2 ++ src/cdk/BUILD.bazel | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 2a82660fdcbe..0ec2dcbd0ed2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,5 +1,7 @@ workspace(name = "angular_material") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + # Add NodeJS rules (explicitly used for sass bundle rules) http_archive( name = "build_bazel_rules_nodejs", diff --git a/src/cdk/BUILD.bazel b/src/cdk/BUILD.bazel index d7ff562ddcb5..1cef9e0beab5 100644 --- a/src/cdk/BUILD.bazel +++ b/src/cdk/BUILD.bazel @@ -4,9 +4,6 @@ load("@angular//:index.bzl", "ng_package") load("//:packages.bzl", "CDK_TARGETS", "ROLLUP_GLOBALS", "VERSION_PLACEHOLDER_REPLACEMENTS") load("//tools:defaults.bzl", "ng_module") -# Export the CDK tsconfig so that subpackages can reference it directly. -exports_files(["tsconfig-build.json"]) - # Root "@angular/cdk" entry-point that does not re-export individual entry-points. ng_module( name = "cdk", @@ -15,7 +12,6 @@ ng_module( deps = [ "@angular//packages/core", ], - tsconfig = ":tsconfig-build.json", ) # Creates the @angular/cdk package published to npm.