Index: runtime/embedders/openglui/emulator/emulator_embedder.gypi |
=================================================================== |
--- runtime/embedders/openglui/emulator/emulator_embedder.gypi (revision 0) |
+++ runtime/embedders/openglui/emulator/emulator_embedder.gypi (revision 0) |
@@ -0,0 +1,70 @@ |
+# 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. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'emulator_embedder', |
+ 'type': 'shared_library', |
+ 'dependencies': [ |
+ 'libdart_lib_withcore', |
+ 'libdart_vm', |
+ 'libjscre', |
+ 'libdouble_conversion', |
+ 'generate_version_cc_file', |
+ ], |
+ 'include_dirs': [ |
+ '../../..', |
+ ], |
+ 'defines': [ |
+ 'DART_SHARED_LIB' |
+ ], |
+ 'sources': [ |
+ '../../../include/dart_api.h', |
+ '../../../include/dart_debugger_api.h', |
+ '../../../vm/dart_api_impl.cc', |
+ '../../../vm/debugger_api_impl.cc', |
+ '../../../vm/version.h', |
+ '../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', |
+ 'emulator_embedder.cc', |
+ 'emulator_embedder.h', |
+ 'emulator_graphics_handler.cc', |
+ 'emulator_graphics_handler.h', |
+ 'emulator_resource.h', |
+ '<(version_cc_file)', |
+ ], |
+ 'conditions': [ |
+ ['OS=="mac"', { |
+ 'xcode_settings' : { |
+ 'OTHER_LDFLAGS': [ '-framework OpenGL', '-framework GLUT', '-L /usr/X11/lib' ] |
+ }, |
+ }], |
+ ] |
+ }, |
+ ], |
+} |
+ |