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

Unified Diff: skia/skia.gyp

Issue 7963001: aura: Make 'skia' target build and link without gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: skia/skia.gyp
diff --git a/skia/skia.gyp b/skia/skia.gyp
index daecaae22b2f4716aea6392a6ac84b3cbea2c6b2..f1165232988126b5838f8f22d4e32ff313259d8f 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -743,16 +743,6 @@
'../third_party/skia/src/utils/SkMatrix44.cpp',
],
}],
- [ 'toolkit_uses_gtk == 0', {
- 'sources/': [ ['exclude', '_(linux|gtk)\\.(cc|cpp)$'] ],
- 'sources!': [
- '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
- '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp',
- '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
- '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
- '../third_party/skia/src/ports/SkFontHost_tables.cpp',
- ],
- }],
[ 'OS == "android"', {
'sources/': [
['include', 'ext/platform_device_linux.cc'],
@@ -779,9 +769,8 @@
'../third_party/skia/src/opts/opts_check_SSE2.cpp'
],
}],
- [ 'toolkit_uses_gtk == 1', {
+ [ 'use_glib == 1', {
Nico 2011/09/19 21:58:09 Where is this set? I don't see it in http://codese
sadrul 2011/09/19 22:00:10 This will happen, presumably soon, with http://cod
'dependencies': [
- '../build/linux/system.gyp:gdk',
'../build/linux/system.gyp:fontconfig',
'../build/linux/system.gyp:freetype2',
'../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
@@ -798,6 +787,22 @@
'defines': [
'SK_MAX_SIZE_FOR_LCDTEXT=256',
],
+ }, { # use_glib == 0
+ 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
+ 'sources!': [
+ '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
+ '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp',
+ '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
+ '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
+ '../third_party/skia/src/ports/SkFontHost_tables.cpp',
+ ],
+ }],
+ [ 'toolkit_uses_gtk == 1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:gdk',
+ ],
+ }, { # toolkit_uses_gtk == 0
+ 'sources/': [ ['exclude', '_gtk\\.(cc|cpp)$'] ],
}],
[ 'OS == "mac"', {
'defines': [
« 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