GN: polyfill is_fuchsia
I'll tell you what, I need to practice typing fuchsia out a few hundred times... I managed to spell it three different ways in this CL. Plus, gn format BUILD.gn BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164453003 Review-Url: https://codereview.chromium.org/2164453003
This commit is contained in:
parent
fd75dd4086
commit
e817ddf9b3
8
BUILD.gn
8
BUILD.gn
@ -70,6 +70,10 @@ skia_library_configs = [
|
||||
":skia_library",
|
||||
]
|
||||
|
||||
if (!defined(is_fuchsia)) {
|
||||
is_fuchsia = current_os == "fuchsia"
|
||||
}
|
||||
|
||||
unwanted_configs = []
|
||||
|
||||
if (!is_fuchsia) {
|
||||
@ -245,9 +249,7 @@ component("skia") {
|
||||
}
|
||||
|
||||
if (is_fuchsia) {
|
||||
sources += [
|
||||
"src/ports/SkFontMgr_empty_factory.cpp",
|
||||
]
|
||||
sources += [ "src/ports/SkFontMgr_empty_factory.cpp" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user