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

Unified Diff: samples/openglui/emulator/emulator.gyp

Issue 13345002: Cleaned up OpenGLUI samples and added Blasteroids. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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/android/src/com/google/dartndk/DummyActivity.java ('k') | samples/openglui/openglui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/openglui/emulator/emulator.gyp
===================================================================
--- samples/openglui/emulator/emulator.gyp (revision 20700)
+++ samples/openglui/emulator/emulator.gyp (working copy)
@@ -8,7 +8,7 @@
{
'targets': [
{
- 'target_name': 'mobile_emulator_sample',
+ 'target_name': 'mobile_emulator_app',
'type': 'none',
'conditions': [
['OS=="linux" or OS=="mac"',
@@ -17,7 +17,7 @@
'../../../runtime/dart-runtime.gyp:emulator_embedder',
'mobile_emulator',
'copy_dart_files',
- 'decode_png'
+ 'copy_assets',
]
}
]
@@ -31,26 +31,28 @@
'files': [
'../../../runtime/embedders/openglui/common/gl.dart',
'../src/openglui_raytrace.dart',
- '../src/openglui_canvas_tests.dart'
+ '../src/openglui_canvas_tests.dart',
+ '../src/flashingbox.dart',
+ '../src/blasteroids.dart'
],
}],
},
{
- 'target_name': 'decode_png',
+ 'target_name': 'copy_assets',
'type': 'none',
- 'actions': [
- {
- 'action_name': 'decode',
- 'inputs': [
- '../src/chrome.hex'
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/chrome.png',
- ],
- 'action': [ 'xxd', '-r', '../src/chrome.hex',
- '<(PRODUCT_DIR)/chrome.png' ]
- }
- ]
+ 'copies': [ {
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [
+ '../web/asteroid1.png',
+ '../web/asteroid2.png',
+ '../web/asteroid3.png',
+ '../web/asteroid4.png',
+ '../web/bg3_1.png',
+ '../web/enemyship1.png',
+ '../web/player.png',
+ '../web/shield.png',
+ ],
+ }],
},
{
'target_name': 'mobile_emulator',
@@ -92,7 +94,6 @@
'-lc' ],
'ldflags': [
'-Wall',
- '-g',
# TODO(gram): handle release mode.
'-Lthird_party/skia/trunk/out/Debug',
],
« no previous file with comments | « samples/openglui/android/src/com/google/dartndk/DummyActivity.java ('k') | samples/openglui/openglui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698