forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD.bazel
49 lines (41 loc) · 1.2 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
exports_files([
"LICENSE",
"tsconfig.json", # @external
"tsconfig-test.json", # @external
"tsconfig-build.json", # @external
"package.json",
])
# Detect if the build is running under --stamp
config_setting(
name = "stamp",
values = {"stamp": "true"},
)
# If set will replace dependency versions with tarballs for packages in this repo
bool_flag(
name = "enable_package_json_tar_deps",
build_setting_default = False,
)
config_setting(
name = "package_json_use_tar_deps",
flag_values = {
":enable_package_json_tar_deps": "true",
},
)
# If set will replace dependency versions with snapshot repos for packages in this repo
bool_flag(
name = "enable_snapshot_repo_deps",
build_setting_default = False,
)
config_setting(
name = "package_json_use_snapshot_repo_deps",
flag_values = {
":enable_snapshot_repo_deps": "true",
},
)