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

Unified Diff: runtime/embedders/openglui/android/android_embedder.gypi

Issue 11883013: Refactored OpenGL embedder that works on Android, Mac or Linux. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
Index: runtime/embedders/openglui/android/android_embedder.gypi
===================================================================
--- runtime/embedders/openglui/android/android_embedder.gypi (revision 0)
+++ runtime/embedders/openglui/android/android_embedder.gypi (revision 0)
@@ -0,0 +1,89 @@
+# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+{
+ 'conditions': [
+ ['OS=="android"',
+ {
+ 'targets': [
+ {
+ # Dart shared library for Android.
+ 'target_name': 'android_embedder',
+ 'type': 'shared_library',
+ 'dependencies': [
+ 'libdart_lib_withcore',
+ 'libdart_vm',
+ 'libjscre',
+ 'libdouble_conversion',
+ 'generate_version_cc_file',
+ ],
+ 'include_dirs': [
+ '../../..',
+ '../../../../third_party/android_tools/ndk/sources/android/native_app_glue',
+ ],
+ 'defines': [
+ 'DART_SHARED_LIB',
+ '__ANDROID__'
+ ],
+ 'sources': [
+ '../common/context.h',
+ '../common/dart_host.cc',
+ '../common/dart_host.h',
+ '../common/events.h',
+ '../common/extension.cc',
+ '../common/extension.h',
+ '../common/gl_graphics_handler.cc',
+ '../common/gl_graphics_handler.h',
+ '../common/graphics_handler.h',
+ '../common/input_handler.cc',
+ '../common/input_handler.h',
+ '../common/isized.h',
+ '../common/life_cycle_handler.h',
+ '../common/log.h',
+ '../common/opengl.h',
+ ',,.common/resource.h',
+ '../common/sample.h',
+ '../common/sound_handler.cc',
+ '../common/sound_handler.h',
+ '../common/timer.cc',
+ '../common/timer.h',
+ '../common/types.h',
+ '../common/vm_glue.cc',
+ '../common/vm_glue.h',
+ '../../../include/dart_api.h',
+ '../../../include/dart_debugger_api.h',
+ '../../../vm/dart_api_impl.cc',
+ '../../../vm/debugger_api_impl.cc',
+ '../../../vm/version.h',
+ '../../../../third_party/android_tools/ndk/sources/android/native_app_glue/android_native_app_glue.h',
+ '../../../../third_party/android_tools/ndk/sources/android/native_app_glue/android_native_app_glue.c',
+ 'android_graphics_handler.cc',
+ 'android_graphics_handler.h',
+ 'android_input_handler.h',
+ 'android_resource.h',
+ 'android_sound_handler.cc',
+ 'android_sound_handler.h',
+ 'eventloop.cc',
+ 'eventloop.h',
+ 'log.h',
+ 'main.cc',
+ 'support_android.cc',
+ '<(version_cc_file)',
+ ],
+ 'link_settings': {
+ 'libraries': [ '-llog', '-lc', '-landroid', '-lEGL', '-lGLESv2', '-lOpenSLES', '-landroid' ],
+ 'ldflags': [
+ '-z', 'muldefs'
+ ],
+ 'ldflags!': [
+ '-Wl,--exclude-libs=ALL',
+ ],
+ },
+ },
+ ],
+ },
+ ]
+ ],
+}
+

Powered by Google App Engine
This is Rietveld 408576698