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

Side by Side Diff: samples/openglui/emulator/emulator.gyp

Issue 24698003: Removed the openglui sample app. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
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.
4
5 # We should be able to make this work on Mac. We need:
6 # -framework OpenGL -framework GLUT -lm -L /usr/X11/lib
7
8 {
9 'targets': [
10 {
11 'target_name': 'mobile_emulator_app',
12 'type': 'none',
13 'conditions': [
14 ['OS=="linux" or OS=="mac"',
15 {
16 'dependencies': [
17 '../../../runtime/dart-runtime.gyp:emulator_embedder',
18 'mobile_emulator',
19 'copy_dart_files',
20 '../web/web.gyp:assets',
21 'copy_assets',
22 ]
23 }
24 ]
25 ]
26 },
27 {
28 'target_name': 'copy_dart_files',
29 'type': 'none',
30 'copies': [ {
31 'destination': '<(PRODUCT_DIR)',
32 'files': [
33 '../../../runtime/embedders/openglui/common/gl.dart',
34 '../src/openglui_raytrace.dart',
35 '../src/openglui_canvas_tests.dart',
36 '../src/flashingbox.dart',
37 '../src/blasteroids.dart'
38 ],
39 }],
40 },
41 {
42 'target_name': 'copy_assets',
43 'type': 'none',
44 'copies': [ {
45 'destination': '<(PRODUCT_DIR)',
46 'files': [
47 '../web/asteroid1.png',
48 '../web/asteroid2.png',
49 '../web/asteroid3.png',
50 '../web/asteroid4.png',
51 '../web/bg3_1.png',
52 '../web/enemyship1.png',
53 '../web/player.png',
54 '../web/shield.png',
55 ],
56 }],
57 },
58 {
59 'target_name': 'mobile_emulator',
60 'type': 'executable',
61 'dependencies': [
62 '../../../runtime/dart-runtime.gyp:emulator_embedder',
63 ],
64 'include_dirs': [
65 '../../../runtime',
66 '/usr/X11/include',
67 ],
68 'sources': [
69 'mobile_emulator_sample.cc',
70 ],
71 'conditions': [
72 ['OS=="linux"',
73 {
74 'link_settings': {
75 'libraries': [
76 '-Wl,--start-group',
77 '-lskia_core',
78 '-lskia_effects',
79 '-lskia_gr',
80 '-lskia_images',
81 '-lskia_opts',
82 '-lskia_opts_ssse3',
83 '-lskia_pdf',
84 '-lskia_ports',
85 '-lskia_sfnt',
86 '-lskia_skgr',
87 '-lskia_utils',
88 '-lskia_views',
89 '-lskia_xml',
90 '-Wl,--end-group',
91 '-lfontconfig',
92 '-lfreetype',
93 '-lGL',
94 '-lglut',
95 '-lGLU',
96 '-lpng',
97 '-lm',
98 '-lc' ],
99 'ldflags': [
100 '-Wall',
101 # TODO(gram): handle release mode.
102 '-Lthird_party/skia/trunk/out/Debug',
103 ],
104 },
105 }
106 ],
107 ['OS=="mac"',
108 {
109 'ldflags': [
110 '-framework OpenGL',
111 '-framework GLUT',
112 '-L /usr/X11/lib'
113 ],
114 }
115 ]
116 ]
117 }
118 ]
119 }
120
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698