OLD | NEW |
1 { | 1 { |
2 'includes': [ | 2 'includes': [ |
3 '../../../build/features.gypi', | 3 '../../../build/features.gypi', |
4 '../../../core/core.gypi', | 4 '../../../core/core.gypi', |
5 '../../../modules/modules.gypi', | 5 '../../../modules/modules.gypi', |
6 'overrides.gypi', | 6 'overrides.gypi', |
7 ], | 7 ], |
8 'variables': { | 8 'variables': { |
9 'dart_dir': '../../../../../../dart', | 9 'dart_dir': '../../../../../../dart', |
10 'dart_lib_dir': '<(dart_dir)/sdk/lib', | 10 'dart_lib_dir': '<(dart_dir)/sdk/lib', |
11 'resources_dir': '../resources', | 11 'resources_dir': '../resources', |
| 12 'build_dir': '../../../build', |
12 'core_dir': '../../../core', | 13 'core_dir': '../../../core', |
13 'modules_dir': '../../../modules', | 14 'modules_dir': '../../../modules', |
14 'core_gyp_dir': '<(core_dir)', | 15 'core_gyp_dir': '<(core_dir)', |
15 | 16 |
16 # Share with Source/core/core.gyp somehow. | 17 # Share with Source/core/core.gyp somehow. |
17 # Note: that SVG exclusions are not applicable for Dartium. | 18 # Note: that SVG exclusions are not applicable for Dartium. |
18 'bindings_idl_files': [ | 19 'bindings_idl_files': [ |
19 '<@(core_idl_files)', | 20 '<@(core_idl_files)', |
20 '<@(core_dependency_idl_files)', | 21 '<@(core_dependency_idl_files)', |
21 '<@(modules_idl_files)', | 22 '<@(modules_idl_files)', |
(...skipping 24 matching lines...) Expand all Loading... |
46 'actions': [ | 47 'actions': [ |
47 { | 48 { |
48 'action_name': 'generateDartDebugHooksSource', | 49 'action_name': 'generateDartDebugHooksSource', |
49 'inputs': [ | 50 'inputs': [ |
50 '../DartDebugHooks.js', | 51 '../DartDebugHooks.js', |
51 ], | 52 ], |
52 'outputs': [ | 53 'outputs': [ |
53 '<(SHARED_INTERMEDIATE_DIR)/blink/DartDebugHooksSource.h', | 54 '<(SHARED_INTERMEDIATE_DIR)/blink/DartDebugHooksSource.h', |
54 ], | 55 ], |
55 'action': [ | 56 'action': [ |
56 'perl', | 57 'python', |
57 'scripts/xxd.pl', | 58 '<(build_dir)/scripts/xxd.py', |
58 'DartDebugHooksSource_js', | 59 'DartDebugHooksSource_js', |
59 '<@(_inputs)', | 60 '<@(_inputs)', |
60 '<@(_outputs)' | 61 '<@(_outputs)' |
61 ], | 62 ], |
62 'msvs_cygwin_shell': 1, | |
63 'message': 'Generating DartDebugHooksSource.h from DartDebugHooks.js', | 63 'message': 'Generating DartDebugHooksSource.h from DartDebugHooks.js', |
64 }, | 64 }, |
65 ] | 65 ] |
66 }, | 66 }, |
67 { | 67 { |
68 'target_name': 'dart_generated_sources', | 68 'target_name': 'dart_generated_sources', |
69 'type': 'none', | 69 'type': 'none', |
70 'toolsets':['host'], | 70 'toolsets':['host'], |
71 'hard_dependency': 1, | 71 'hard_dependency': 1, |
72 'dependencies': [ | 72 'dependencies': [ |
73 '<(core_dir)/core_generated.gyp:make_core_generated#host', | 73 '<(core_dir)/core_generated.gyp:make_core_generated#host', |
74 ], | 74 ], |
75 'actions': [ | |
76 { | |
77 'action_name': 'DartEventHeaders', | |
78 'inputs': [ | |
79 'scripts/make_header.pl', | |
80 'scripts/EventNames.in', | |
81 ], | |
82 'outputs': [ | |
83 '<(SHARED_INTERMEDIATE_DIR)/blink/DartEventHeaders.h', | |
84 ], | |
85 'action': [ | |
86 'perl', | |
87 '-I', 'scripts', | |
88 'scripts/make_header.pl', | |
89 '--input', 'scripts/EventNames.in', | |
90 '--outputDir', '<(SHARED_INTERMEDIATE_DIR)/blink', | |
91 ], | |
92 'msvs_cygwin_shell': 1, | |
93 }, | |
94 { | |
95 'action_name': 'DartEventTargetHeaders', | |
96 'inputs': [ | |
97 'scripts/make_header.pl', | |
98 '<(core_dir)/events/EventTargetFactory.in', | |
99 ], | |
100 'outputs': [ | |
101 '<(SHARED_INTERMEDIATE_DIR)/blink/DartEventTargetHeaders.h', | |
102 ], | |
103 'action': [ | |
104 'perl', | |
105 '-I', 'scripts', | |
106 'scripts/make_header.pl', | |
107 '--input', '<(core_dir)/events/EventTargetFactory.in', | |
108 '--outputDir', '<(SHARED_INTERMEDIATE_DIR)/blink', | |
109 ], | |
110 'msvs_cygwin_shell': 1, | |
111 }, | |
112 ], | |
113 }, | 75 }, |
114 { | 76 { |
115 'target_name': 'dart_snapshot', | 77 'target_name': 'dart_snapshot', |
116 'type': 'none', | 78 'type': 'none', |
117 'toolsets':['host'], | 79 'toolsets':['host'], |
118 'hard_dependency': 1, | 80 'hard_dependency': 1, |
119 'dependencies': [ | 81 'dependencies': [ |
120 'dart_generated_sources', | 82 'dart_generated_sources', |
121 '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot#host', | 83 '<(dart_dir)/runtime/dart-runtime.gyp:gen_snapshot#host', |
122 ], | 84 ], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 ], | 119 ], |
158 'action': [ | 120 'action': [ |
159 'python', | 121 'python', |
160 'scripts/generate_dart_bindings.py', | 122 'scripts/generate_dart_bindings.py', |
161 '<(idls_list_temp_file)', | 123 '<(idls_list_temp_file)', |
162 'scripts', | 124 'scripts', |
163 '<(dart_html_lib_dir)/scripts', | 125 '<(dart_html_lib_dir)/scripts', |
164 '<(output_path)', | 126 '<(output_path)', |
165 '<(feature_defines)', | 127 '<(feature_defines)', |
166 ], | 128 ], |
167 'msvs_cygwin_shell': 1, | |
168 }, | 129 }, |
169 { | 130 { |
170 'action_name': 'build_dart_snapshot', | 131 'action_name': 'build_dart_snapshot', |
171 'variables': { | 132 'variables': { |
172 'output_path': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/dart', | 133 'output_path': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/dart', |
173 'pure_libs': [ | 134 'pure_libs': [ |
174 '<(dart_lib_dir)/html/html_common/html_common.dart', | 135 '<(dart_lib_dir)/html/html_common/html_common.dart', |
175 ], | 136 ], |
176 }, | 137 }, |
177 'inputs': [ | 138 'inputs': [ |
(...skipping 17 matching lines...) Expand all Loading... |
195 ], | 156 ], |
196 'action': [ | 157 'action': [ |
197 'python', | 158 'python', |
198 'scripts/build_dart_snapshot.py', | 159 'scripts/build_dart_snapshot.py', |
199 '<(dart_dir)', | 160 '<(dart_dir)', |
200 '<(resources_dir)/DartSnapshot.bytes.template', | 161 '<(resources_dir)/DartSnapshot.bytes.template', |
201 '<(output_path)', | 162 '<(output_path)', |
202 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 163 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
203 '<@(pure_libs)', | 164 '<@(pure_libs)', |
204 ], | 165 ], |
205 'msvs_cygwin_shell': 1, | |
206 }, | 166 }, |
207 ], | 167 ], |
208 }, | 168 }, |
209 ], | 169 ], |
210 } | 170 } |
OLD | NEW |