| Index: samples/openglui/openglui.gyp
|
| diff --git a/samples/openglui/openglui.gyp b/samples/openglui/openglui.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b7c5e09b81a2d35099bf5f41889d5c72dc4a2e9c
|
| --- /dev/null
|
| +++ b/samples/openglui/openglui.gyp
|
| @@ -0,0 +1,33 @@
|
| +# Copyright (c) 2013, 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.
|
| +
|
| +{
|
| + 'variables': {
|
| + # Disable the OpenGLUI embedder by default on desktop OSes. Note,
|
| + # to build this on the desktop, you need GLUT installed.
|
| + # TODO(vsm): This is also defined in runtime/dart-runtime.gyp. Can we
|
| + # reuse that definition?
|
| + 'enable_openglui%': 0,
|
| + },
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'openglui_sample',
|
| + 'type': 'none',
|
| + 'conditions': [
|
| + ['OS=="android"', {
|
| + 'dependencies': [
|
| + 'android/android.gyp:android_sample',
|
| + ],
|
| + },
|
| + ],
|
| + ['enable_openglui==1', {
|
| + 'dependencies': [
|
| + 'emulator/emulator.gyp:mobile_emulator_sample',
|
| + ],
|
| + },
|
| + ],
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|