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

Side by Side Diff: samples/android_sample/android_sample.gyp

Issue 11883013: Refactored OpenGL embedder that works on Android, Mac or Linux. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 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 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. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['OS=="android"', 7 ['OS=="android"',
8 { 8 {
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'android_sample', 11 'target_name': 'android_sample',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 'copy_extension',
15 'copy_main',
14 '../../runtime/dart-runtime.gyp:android_embedder', 16 '../../runtime/dart-runtime.gyp:android_embedder',
17 'copy_embedder',
15 ], 18 ],
16 'actions': [ 19 'actions': [
17 # TODO(gram) - this should have a debug and release version. 20 # TODO(gram) - this should have a debug and release version.
18 { 21 {
19 'action_name': 'build_app', 22 'action_name': 'build_app',
20 'inputs': [ 23 'inputs': [
21 'assets/dart/*.dart',
22 ], 24 ],
23 'outputs': [ 25 'outputs': [
24 'bin/NativeActivity-debug.apk', 26 'bin/NativeActivity-debug.apk',
25 ], 27 ],
26 'action': [ 'ant', 'debug' ] 28 'action': [ 'ant', 'debug' ]
27 } 29 }
28 ] 30 ]
29 } 31 },
32 {
33 'target_name': 'copy_embedder',
34 'type': 'none',
35 'copies': [ {
36 # TODO(gram) - this should vary based on architecture.
37 'destination': 'libs/x86',
38 'files': [
39 '<(PRODUCT_DIR)/lib.target/libandroid_embedder.so'
40 ],
41 }],
42 },
43 {
44 'target_name': 'copy_extension',
45 'type': 'none',
46 'copies': [ {
47 'destination': 'assets/dart',
48 'files': [
49 '../../runtime/embedders/openglui/common/gl.dart'
50 ],
51 }],
52 },
53 {
54 'target_name': 'copy_main',
55 'type': 'none',
56 'copies': [ {
57 'destination': 'assets/dart',
58 'files': [
59 '../../samples/simplegl/web/raytrace.dart'
60 ],
61 }],
62 },
30 ] 63 ]
31 } 64 }
32 ] 65 ]
33 ] 66 ]
34 } 67 }
35 68
36 69
OLDNEW
« no previous file with comments | « samples/android_sample/AndroidManifest.xml ('k') | samples/android_sample/assets/dart/android_extension.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698