OLD | NEW |
1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dartino 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.md file. | 3 # BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'include_dirs': [ | 7 'include_dirs': [ |
8 '../../../', | 8 '../../../', |
9 ], | 9 ], |
10 }, | 10 }, |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'driver', | 13 'target_name': 'driver', |
14 'type': 'static_library', | 14 'type': 'static_library', |
15 'toolsets': ['target'], | 15 'toolsets': ['target'], |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../../shared/shared.gyp:fletch_shared', | 17 '../../shared/shared.gyp:dartino_shared', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 'connection.cc', | 20 'connection.cc', |
21 'connection.h', | 21 'connection.h', |
22 'platform.h', | 22 'platform.h', |
23 'platform_linux.cc', | 23 'platform_linux.cc', |
24 'platform_macos.cc', | 24 'platform_macos.cc', |
25 ], | 25 ], |
26 }, | 26 }, |
27 { | 27 { |
28 'target_name': 'fletch', | 28 'target_name': 'dartino', |
29 'type': 'executable', | 29 'type': 'executable', |
30 'toolsets': ['target'], | 30 'toolsets': ['target'], |
31 'dependencies': [ | 31 'dependencies': [ |
32 'driver', | 32 'driver', |
33 ], | 33 ], |
34 'defines': [ | 34 'defines': [ |
35 'FLETCHC_LIBRARY_ROOT="../../lib"', | 35 'DARTINOC_LIBRARY_ROOT="../../lib"', |
36 # How many directories up is the root, used for getting full path to | 36 # How many directories up is the root, used for getting full path to |
37 # the .packages file for the compiler | 37 # the .packages file for the compiler |
38 'FLETCH_ROOT_DISTANCE=2', | 38 'DARTINO_ROOT_DISTANCE=2', |
39 'FLETCHC_PKG_FILE="pkg/fletchc/.packages"', | 39 'DARTINOC_PKG_FILE="pkg/dartino_compiler/.packages"', |
40 'DART_VM_NAME="dart"', | 40 'DART_VM_NAME="dart"', |
41 ], | 41 ], |
42 'sources': [ | 42 'sources': [ |
43 'main.cc', | 43 'main.cc', |
44 ], | 44 ], |
45 }, | 45 }, |
46 # The same as fletch, but with paths relative to the location in | 46 # The same as dartino, but with paths relative to the location in |
47 # the sdk. | 47 # the sdk. |
48 { | 48 { |
49 'target_name': 'fletch_for_sdk', | 49 'target_name': 'dartino_for_sdk', |
50 'type': 'executable', | 50 'type': 'executable', |
51 'toolsets': ['target'], | 51 'toolsets': ['target'], |
52 'dependencies': [ | 52 'dependencies': [ |
53 'driver', | 53 'driver', |
54 ], | 54 ], |
55 'defines': [ | 55 'defines': [ |
56 'FLETCHC_LIBRARY_ROOT="../internal/fletch_lib"', | 56 'DARTINOC_LIBRARY_ROOT="../internal/dartino_lib"', |
57 # How many directories up is the root, used for getting full path to | 57 # How many directories up is the root, used for getting full path to |
58 # the .packages file for the compiler | 58 # the .packages file for the compiler |
59 'FLETCH_ROOT_DISTANCE=1', | 59 'DARTINO_ROOT_DISTANCE=1', |
60 'FLETCHC_PKG_FILE="internal/pkg/fletchc/.packages"', | 60 'DARTINOC_PKG_FILE="internal/pkg/dartino_compiler/.packages"', |
61 'DART_VM_NAME="../internal/dart"', | 61 'DART_VM_NAME="../internal/dart"', |
62 ], | 62 ], |
63 'sources': [ | 63 'sources': [ |
64 'main.cc', | 64 'main.cc', |
65 ], | 65 ], |
66 }, | 66 }, |
67 ], | 67 ], |
68 } | 68 } |
OLD | NEW |