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

Unified Diff: samples/openglui/openglui.gyp

Issue 12021025: Merge the openglui samples into one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix emulator sample build 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
« no previous file with comments | « samples/openglui/emulator/mobile_emulator_sample.cc ('k') | samples/openglui/pubspec.lock » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+ ],
+ },
+ ],
+ ],
+ },
+ ],
+}
« no previous file with comments | « samples/openglui/emulator/mobile_emulator_sample.cc ('k') | samples/openglui/pubspec.lock » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698