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

Side by Side Diff: runtime/embedders/openglui/openglui_embedder.gypi

Issue 15317012: Fix the Skia build for Android. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/embedders/openglui/build_skia.sh ('k') | tools/build.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 # TODO(gram) : figure out how to make this be autoconfigured. 6 # TODO(gram) : figure out how to make this be autoconfigured.
7 # I've tried a bunch of things with no success yet. 7 # I've tried a bunch of things with no success yet.
8 'variables': { 8 'variables': {
9 'skia_build_flag' : '--release', 9 'skia_build_flag' : '--release',
10 'skia_libs_location_android': '-Lthird_party/skia/trunk/out/config/android-x 86/Release/obj.target/gyp', 10 'skia_libs_location_android': '-Lthird_party/skia/trunk/out/config/android-x 86/Release/obj.target/gyp',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 'SK_BUILD_FOR_ANDROID_NDK', 43 'SK_BUILD_FOR_ANDROID_NDK',
44 ], 44 ],
45 'sources': [ 45 'sources': [
46 '../../include/dart_api.h', 46 '../../include/dart_api.h',
47 '../../include/dart_debugger_api.h', 47 '../../include/dart_debugger_api.h',
48 '../../vm/dart_api_impl.cc', 48 '../../vm/dart_api_impl.cc',
49 '../../vm/debugger_api_impl.cc', 49 '../../vm/debugger_api_impl.cc',
50 '../../vm/version.h', 50 '../../vm/version.h',
51 '../../../third_party/android_tools/ndk/sources/android/native_app _glue/android_native_app_glue.h', 51 '../../../third_party/android_tools/ndk/sources/android/native_app _glue/android_native_app_glue.h',
52 '../../../third_party/android_tools/ndk/sources/android/native_app _glue/android_native_app_glue.c', 52 '../../../third_party/android_tools/ndk/sources/android/native_app _glue/android_native_app_glue.c',
53 '../../../third_party/skia/trunk/src/core/SkPaintOptionsAndroid.cp p',
53 'android/android_graphics_handler.cc', 54 'android/android_graphics_handler.cc',
54 'android/android_graphics_handler.h', 55 'android/android_graphics_handler.h',
55 'android/android_input_handler.h', 56 'android/android_input_handler.h',
56 'android/android_resource.h', 57 'android/android_resource.h',
57 'android/android_sound_handler.cc', 58 'android/android_sound_handler.cc',
58 'android/android_sound_handler.h', 59 'android/android_sound_handler.h',
59 'android/eventloop.cc', 60 'android/eventloop.cc',
60 'android/eventloop.h', 61 'android/eventloop.h',
61 'android/log.h', 62 'android/log.h',
62 'android/main.cc', 63 'android/main.cc',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 'ldflags!': [ 109 'ldflags!': [
109 '-Wl,--exclude-libs=ALL,-shared', 110 '-Wl,--exclude-libs=ALL,-shared',
110 ], 111 ],
111 'libraries': [ 112 'libraries': [
112 '-Wl,--start-group', 113 '-Wl,--start-group',
113 '-lexpat', 114 '-lexpat',
114 '-lfreetype', 115 '-lfreetype',
115 '-lgif', 116 '-lgif',
116 '-ljpeg', 117 '-ljpeg',
117 '-lpng', 118 '-lpng',
119 '-lwebp_dec',
120 '-lwebp_utils',
121 '-lwebp_dsp',
122 '-lwebp_enc',
118 '-lskia_core', 123 '-lskia_core',
119 '-lskia_effects', 124 '-lskia_effects',
120 '-lskia_gr', 125 '-lskia_gr',
121 '-lskia_images', 126 '-lskia_images',
122 '-lskia_opts', 127 '-lskia_opts',
123 '-lskia_pdf', 128 '-lskia_pdf',
124 '-lskia_ports', 129 '-lskia_ports',
125 '-lskia_sfnt', 130 '-lskia_sfnt',
126 '-lskia_skgr', 131 '-lskia_skgr',
127 '-lskia_utils', 132 '-lskia_utils',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 '-lskia_sfnt', 262 '-lskia_sfnt',
258 '-lskia_skgr', 263 '-lskia_skgr',
259 '-lskia_utils', 264 '-lskia_utils',
260 '-Wl,--end-group', 265 '-Wl,--end-group',
261 '-lfreetype', 266 '-lfreetype',
262 ], 267 ],
263 'libraries': [ 268 'libraries': [
264 '-lGL', 269 '-lGL',
265 '-lglut', 270 '-lglut',
266 '-lGLU', 271 '-lGLU',
267 '-lm' 272 '-lm',
273 '-lwebp'
268 ], 274 ],
269 }, 275 },
270 'conditions': [ 276 'conditions': [
271 ['OS=="mac"', { 277 ['OS=="mac"', {
272 'xcode_settings' : { 278 'xcode_settings' : {
273 'OTHER_LDFLAGS': [ '-framework OpenGL', '-framework GLUT', '-L /usr/X11/lib' ] 279 'OTHER_LDFLAGS': [ '-framework OpenGL', '-framework GLUT', '-L /usr/X11/lib' ]
274 }, 280 },
275 }], 281 }],
276 ] 282 ]
277 }, 283 },
(...skipping 17 matching lines...) Expand all
295 'message': 'Building Skia.' 301 'message': 'Building Skia.'
296 } 302 }
297 ] 303 ]
298 } 304 }
299 ], 305 ],
300 }, 306 },
301 ], 307 ],
302 ], 308 ],
303 } 309 }
304 310
OLDNEW
« no previous file with comments | « runtime/embedders/openglui/build_skia.sh ('k') | tools/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698