Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/third_party/fonts.google.com/open-sans/BUILD.bazel

12 lines
319 B
Python
Raw Normal View History

build: fix routing playground example using external resource (#28490) Currently the "routing" playground example fails the e2e tests because it tries to load the OpenSans font using an external HTTP request. External http requests are not allowed (unless explicitly enabled) within Bazel in order to ensure that all targets are built and tested in a hermetic way. In order to work around this issue in a Bazel idiomatic way, we just vendor the fonts in the "third_party" folder. Note that we can technically also enable internet for the RBE host platform, but it's not a best practice for hermeticity. The following syntax would allow us to enable internet for RBE (stated here for tracking) ``` properties: { name: "dockerNetwork" value: "standard" } ``` PR Close #28490
2019-02-01 18:46:39 +01:00
licenses(["notice"])
# Downloaded from: https://fonts.google.com/?selection.family=Open+Sans:300,400,600,700
# Timestamp: 03/02/2019
exports_files(["LICENSE.txt"])
filegroup(
name = "open-sans",
srcs = ["open-sans.css"] + glob(["OpenSans-*.ttf"]),
visibility = ["//modules/playground:__subpackages__"],
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 142ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API