Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: BUILD.gn

Issue 2343103002: GN: add a flag to implement Android_FrameworkDefs bot. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gn/shared_sources.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 46d443474f2fde881c22cdc9751f4e3f02a8e7ab..b845627905a323f9abf47905ef9eb37b52122140 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -18,6 +18,8 @@ declare_args() {
skia_use_sfntly = !is_fuchsia
skia_use_vulkan = false
skia_use_zlib = true
+
+ skia_enable_android_framework_defines = false
}
fontmgr_android_enabled = skia_use_expat && skia_use_freetype
@@ -222,6 +224,11 @@ template("optional") {
}
}
+optional("android_framework_defines") {
+ enabled = skia_enable_android_framework_defines
+ public_defines = skia_android_framework_defines
+}
+
optional("fontmgr_android") {
enabled = fontmgr_android_enabled
@@ -384,6 +391,7 @@ component("skia") {
configs += skia_library_configs
deps = [
+ ":android_framework_defines",
":arm64",
":armv7",
":avx",
« no previous file with comments | « no previous file | gn/shared_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698