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

Unified Diff: BUILD.gn

Issue 2323353002: GN: port a few missing Android bits from GYP. (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 | no next file » | 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 5ea18dd3475b84889dd4e2528d230be5583d0611..f1439c7857253515868d76665385449977c9f35f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -78,6 +78,12 @@ config("skia_private") {
]
defines = [ "SK_GAMMA_APPLY_TO_A8" ]
+ if (is_android) {
+ defines += [
+ "SK_GAMMA_EXPONENT=1.4",
+ "SK_GAMMA_CONTRAST=0.0",
+ ]
+ }
}
# Any code that's linked into Skia-the-library should use this config via += skia_library_configs.
@@ -609,6 +615,7 @@ if (skia_enable_tools) {
sources = [
"src/images/SkForceLinking.cpp",
"src/utils/SkMultiPictureDocumentReader.cpp", # TODO(halcanary): move to tools?
+ "tools/AndroidSkDebugToStdOut.cpp",
"tools/CrashHandler.cpp",
"tools/LsanSuppressions.cpp",
"tools/ProcStats.cpp",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698