OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 { |
| 6 'conditions': [ |
| 7 ['OS=="android"', |
| 8 { |
| 9 'targets': [ |
| 10 { |
| 11 # Dart shared library for Android. |
| 12 'target_name': 'android_embedder', |
| 13 'type': 'shared_library', |
| 14 'dependencies': [ |
| 15 'libdart_lib_withcore', |
| 16 'libdart_vm', |
| 17 'libjscre', |
| 18 'libdouble_conversion', |
| 19 'generate_version_cc_file', |
| 20 ], |
| 21 'include_dirs': [ |
| 22 '../../..', |
| 23 '../../../../third_party/android_tools/ndk/sources/android/native_
app_glue', |
| 24 ], |
| 25 'defines': [ |
| 26 'DART_SHARED_LIB', |
| 27 '__ANDROID__' |
| 28 ], |
| 29 'sources': [ |
| 30 '../common/context.h', |
| 31 '../common/dart_host.cc', |
| 32 '../common/dart_host.h', |
| 33 '../common/events.h', |
| 34 '../common/extension.cc', |
| 35 '../common/extension.h', |
| 36 '../common/gl_graphics_handler.cc', |
| 37 '../common/gl_graphics_handler.h', |
| 38 '../common/graphics_handler.h', |
| 39 '../common/input_handler.cc', |
| 40 '../common/input_handler.h', |
| 41 '../common/isized.h', |
| 42 '../common/life_cycle_handler.h', |
| 43 '../common/log.h', |
| 44 '../common/opengl.h', |
| 45 ',,.common/resource.h', |
| 46 '../common/sample.h', |
| 47 '../common/sound_handler.cc', |
| 48 '../common/sound_handler.h', |
| 49 '../common/timer.cc', |
| 50 '../common/timer.h', |
| 51 '../common/types.h', |
| 52 '../common/vm_glue.cc', |
| 53 '../common/vm_glue.h', |
| 54 '../../../include/dart_api.h', |
| 55 '../../../include/dart_debugger_api.h', |
| 56 '../../../vm/dart_api_impl.cc', |
| 57 '../../../vm/debugger_api_impl.cc', |
| 58 '../../../vm/version.h', |
| 59 '../../../../third_party/android_tools/ndk/sources/android/native_
app_glue/android_native_app_glue.h', |
| 60 '../../../../third_party/android_tools/ndk/sources/android/native_
app_glue/android_native_app_glue.c', |
| 61 'android_graphics_handler.cc', |
| 62 'android_graphics_handler.h', |
| 63 'android_input_handler.h', |
| 64 'android_resource.h', |
| 65 'android_sound_handler.cc', |
| 66 'android_sound_handler.h', |
| 67 'eventloop.cc', |
| 68 'eventloop.h', |
| 69 'log.h', |
| 70 'main.cc', |
| 71 'support_android.cc', |
| 72 '<(version_cc_file)', |
| 73 ], |
| 74 'link_settings': { |
| 75 'libraries': [ '-llog', '-lc', '-landroid', '-lEGL', '-lGLESv2', '
-lOpenSLES', '-landroid' ], |
| 76 'ldflags': [ |
| 77 '-z', 'muldefs' |
| 78 ], |
| 79 'ldflags!': [ |
| 80 '-Wl,--exclude-libs=ALL', |
| 81 ], |
| 82 }, |
| 83 }, |
| 84 ], |
| 85 }, |
| 86 ] |
| 87 ], |
| 88 } |
| 89 |
OLD | NEW |