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

Unified Diff: samples/mobile_emulator_sample/mobile_emulator_sample.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
Index: samples/mobile_emulator_sample/mobile_emulator_sample.gyp
diff --git a/samples/mobile_emulator_sample/mobile_emulator_sample.gyp b/samples/mobile_emulator_sample/mobile_emulator_sample.gyp
deleted file mode 100644
index adad238d55b6334e8467ac9fcd7115b9c7dbc9ef..0000000000000000000000000000000000000000
--- a/samples/mobile_emulator_sample/mobile_emulator_sample.gyp
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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.
-
-# We should be able to make this work on Mac. We need:
-# -framework OpenGL -framework GLUT -lm -L /usr/X11/lib
-
-{
- 'targets': [
- {
- 'target_name': 'mobile_emulator_sample',
- 'type': 'none',
- 'conditions': [
- ['OS=="linux" or OS=="mac"',
- {
- 'dependencies': [
- '../../runtime/dart-runtime.gyp:emulator_embedder',
- 'mobile_emulator',
- 'copy_dart_files'
- ]
- }
- ]
- ]
- },
- {
- 'target_name': 'copy_dart_files',
- 'type': 'none',
- 'copies': [ {
- 'destination': '<(PRODUCT_DIR)',
- 'files': [
- '../../runtime/embedders/openglui/common/gl.dart',
- '../../samples/simplegl/web/raytrace.dart'
- ],
- }],
- },
- {
- 'target_name': 'mobile_emulator',
- 'type': 'executable',
- 'dependencies': [
- '../../runtime/dart-runtime.gyp:emulator_embedder',
- ],
- 'include_dirs': [
- '../../runtime',
- '/usr/X11/include',
- ],
- 'sources': [
- 'mobile_emulator_sample.cc',
- ],
- 'conditions': [
- ['OS=="linux"',
- {
- 'link_settings': {
- 'libraries': [ '-lGL', '-lglut', '-lGLU', '-lm', '-lc' ],
- },
- }
- ],
- ['OS=="mac"',
- {
- 'ldflags': [
- '-framework OpenGL',
- '-framework GLUT',
- '-L /usr/X11/lib'
- ],
- }
- ]
- ]
- }
- ]
-}
-
« no previous file with comments | « samples/mobile_emulator_sample/mobile_emulator_sample.cc ('k') | samples/openglui/android/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698