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

Side by Side Diff: gyp/ports.gyp

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: again Created 6 years, 10 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 unified diff | Download patch
OLDNEW
1 # Port-specific Skia library code. 1 # Port-specific Skia library code.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'ports', 5 'target_name': 'ports',
6 'product_name': 'skia_ports', 6 'product_name': 'skia_ports',
7 'type': 'static_library', 7 'type': 'static_library',
8 'standalone_static_library': 1, 8 'standalone_static_library': 1,
9 'dependencies': [ 9 'dependencies': [
10 'core.gyp:*', 10 'core.gyp:*',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "na cl", "android"]', { 57 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "na cl", "android"]', {
58 'sources': [ 58 'sources': [
59 '../src/ports/SkFontHost_FreeType.cpp', 59 '../src/ports/SkFontHost_FreeType.cpp',
60 '../src/ports/SkFontHost_FreeType_common.cpp', 60 '../src/ports/SkFontHost_FreeType_common.cpp',
61 ], 61 ],
62 'dependencies': [ 62 'dependencies': [
63 'freetype.gyp:freetype', 63 'freetype.gyp:freetype',
64 ], 64 ],
65 }], 65 }],
66 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { 66 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
67 'link_settings': { 67 'conditions': [
68 'libraries': [ 68 [ 'skia_no_fontconfig', {
69 '-lfontconfig', 69 'link_settings': {
70 '-ldl', 70 'libraries': [
71 ], 71 '-ldl',
72 }, 72 ],
73 'sources': [ 73 },
74 '../src/fonts/SkFontMgr_fontconfig.cpp', 74 'sources': [
75 '../src/ports/SkFontHost_fontconfig.cpp', 75 '../src/ports/SkFontHost_linux.cpp',
76 '../src/ports/SkFontConfigInterface_direct.cpp', 76 ],
77 }, {
78 'link_settings': {
79 'libraries': [
80 '-lfontconfig',
81 '-ldl',
82 ],
83 },
84 'sources': [
85 '../src/fonts/SkFontMgr_fontconfig.cpp',
86 '../src/ports/SkFontHost_fontconfig.cpp',
87 '../src/ports/SkFontConfigInterface_direct.cpp',
88 ],
89 }]
77 ], 90 ],
78 }], 91 }],
79 [ 'skia_os == "nacl"', { 92 [ 'skia_os == "nacl"', {
80 'sources': [ 93 'sources': [
81 '../src/ports/SkFontHost_linux.cpp', 94 '../src/ports/SkFontHost_linux.cpp',
82 ], 95 ],
83 'sources!': [ 96 'sources!': [
84 '../src/ports/SkDebug_stdio.cpp', 97 '../src/ports/SkDebug_stdio.cpp',
85 ], 98 ],
86 }, { 99 }, {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 }], 185 }],
173 ], 186 ],
174 'direct_dependent_settings': { 187 'direct_dependent_settings': {
175 'include_dirs': [ 188 'include_dirs': [
176 '../include/ports', 189 '../include/ports',
177 ], 190 ],
178 }, 191 },
179 }, 192 },
180 ], 193 ],
181 } 194 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698