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

Unified Diff: gyp/common_conditions.gypi

Issue 198063002: Updates to Android.mk generation. (Closed) Base URL: https://skia.googlesource.com/skia.git@android_mk
Patch Set: Add a comment explaining the motivation of OrderedSet. Created 6 years, 9 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 | platform_tools/android/bin/gyp_to_android.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index d7bc5ab447231cb5a5b8553da90423a87deadf06..82f63f375bf15e92013bcc8a2338093412798012 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -253,9 +253,27 @@
# draw-time, at which point we know which SkTypeface is being drawn
'SK_USE_FREETYPE_EMBOLDEN',
# Android provides at least FreeType 2.4.0 at runtime.
- 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400',
+ 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION 0x020400',
# Skia should not use dlopen on Android.
- 'SK_CAN_USE_DLOPEN=0',
+ 'SK_CAN_USE_DLOPEN 0',
+ 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"',
+ # When built as part of the system image we can enable certian non-NDK
+ # compliant optimizations.
+ 'SK_BUILD_FOR_ANDROID_FRAMEWORK',
+ # Android Text Tuning
+ 'SK_GAMMA_APPLY_TO_A8',
+ 'SK_GAMMA_EXPONENT 1.4',
+ 'SK_GAMMA_CONTRAST 0.0',
+ # Optimizations for chromium (m30)
+ 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"',
+ 'IGNORE_ROT_AA_RECT_OPT',
+ # Disable this check because it is too strict for some chromium-specific
+ # subclasses of SkPixelRef. See bug: crbug.com/171776.
+ 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK',
+ 'SkLONGLONG int64_t',
+ 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)',
+ 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h"',
+ 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"',
],
}],
« no previous file with comments | « no previous file | platform_tools/android/bin/gyp_to_android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698