| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'includes': [ | 6 'includes': [ |
| 7 'tools/gyp/runtime-configurations.gypi', | 7 'tools/gyp/runtime-configurations.gypi', |
| 8 'vm/vm.gypi', | 8 'vm/vm.gypi', |
| 9 'bin/bin.gypi', | 9 'bin/bin.gypi', |
| 10 'third_party/double-conversion/src/double-conversion.gypi', | 10 'third_party/double-conversion/src/double-conversion.gypi', |
| 11 'third_party/jscre/jscre.gypi', | 11 'third_party/jscre/jscre.gypi', |
| 12 ], | 12 ], |
| 13 'variables': { | 13 'variables': { |
| 14 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 14 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 15 'version_in_cc_file': 'vm/version_in.cc', | 15 'version_in_cc_file': 'vm/version_in.cc', |
| 16 'version_cc_file': '<(gen_source_dir)/version.cc', | 16 'version_cc_file': '<(gen_source_dir)/version.cc', |
| 17 | 17 |
| 18 # Disable the OpenGLUI embedder by default on desktop OSes. Note, | |
| 19 # to build this on the desktop, you need GLUT installed. | |
| 20 'enable_openglui%': 0, | |
| 21 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm', | 18 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm', |
| 22 'libjscre', 'libdouble_conversion',], | 19 'libjscre', 'libdouble_conversion',], |
| 23 }, | 20 }, |
| 24 'conditions': [ | |
| 25 ['OS=="android" or enable_openglui==1', { | |
| 26 'includes': [ | |
| 27 'embedders/openglui/openglui_embedder.gypi', | |
| 28 ], | |
| 29 }, | |
| 30 ], | |
| 31 ], | |
| 32 'targets': [ | 21 'targets': [ |
| 33 { | 22 { |
| 34 'target_name': 'libdart', | 23 'target_name': 'libdart', |
| 35 'type': 'static_library', | 24 'type': 'static_library', |
| 36 'dependencies': [ | 25 'dependencies': [ |
| 37 'libdart_lib', | 26 'libdart_lib', |
| 38 'libdart_vm', | 27 'libdart_vm', |
| 39 'libjscre', | 28 'libjscre', |
| 40 'libdouble_conversion', | 29 'libdouble_conversion', |
| 41 'generate_version_cc_file#host', | 30 'generate_version_cc_file#host', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 }, | 113 }, |
| 125 { | 114 { |
| 126 'target_name': 'runtime_packages', | 115 'target_name': 'runtime_packages', |
| 127 'type': 'none', | 116 'type': 'none', |
| 128 'dependencies': [ | 117 'dependencies': [ |
| 129 '../pkg/pkg.gyp:pkg_packages', | 118 '../pkg/pkg.gyp:pkg_packages', |
| 130 ], | 119 ], |
| 131 }, | 120 }, |
| 132 ], | 121 ], |
| 133 } | 122 } |
| OLD | NEW |