OLD | NEW |
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 'variables': { | 6 'variables': { |
7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
10 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 10 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'message': 'Generating ''<(json_cc_file)'' file.' | 104 'message': 'Generating ''<(json_cc_file)'' file.' |
105 }, | 105 }, |
106 ] | 106 ] |
107 }, | 107 }, |
108 { | 108 { |
109 'target_name': 'generate_uri_cc_file', | 109 'target_name': 'generate_uri_cc_file', |
110 'type': 'none', | 110 'type': 'none', |
111 'includes': [ | 111 'includes': [ |
112 'uri_sources.gypi', | 112 'uri_sources.gypi', |
113 ], | 113 ], |
| 114 'variables': { |
| 115 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri.dart', |
| 116 }, |
114 'actions': [ | 117 'actions': [ |
115 { | 118 { |
| 119 'action_name': 'generate_uri_dart', |
| 120 'inputs': [ |
| 121 '../tools/concat_library.py', |
| 122 '<@(_sources)', |
| 123 ], |
| 124 'outputs': [ |
| 125 '<(uri_dart)', |
| 126 ], |
| 127 'action': [ |
| 128 'python', |
| 129 '<@(_inputs)', |
| 130 '--output', '<(uri_dart)', |
| 131 ], |
| 132 'message': 'Generating ''<(uri_dart)'' file.' |
| 133 }, |
| 134 { |
116 'action_name': 'generate_uri_cc', | 135 'action_name': 'generate_uri_cc', |
117 'inputs': [ | 136 'inputs': [ |
118 '../tools/create_string_literal.py', | 137 '../tools/create_string_literal.py', |
119 '<(builtin_in_cc_file)', | 138 '<(builtin_in_cc_file)', |
120 '<@(_sources)', | 139 '<(uri_dart)', |
121 ], | 140 ], |
122 'outputs': [ | 141 'outputs': [ |
123 '<(uri_cc_file)', | 142 '<(uri_cc_file)', |
124 ], | 143 ], |
125 'action': [ | 144 'action': [ |
126 'python', | 145 'python', |
127 'tools/create_string_literal.py', | 146 'tools/create_string_literal.py', |
128 '--output', '<(uri_cc_file)', | 147 '--output', '<(uri_cc_file)', |
129 '--input_cc', '<(builtin_in_cc_file)', | 148 '--input_cc', '<(builtin_in_cc_file)', |
130 '--include', 'bin/builtin.h', | 149 '--include', 'bin/builtin.h', |
131 '--var_name', 'Builtin::uri_source_', | 150 '--var_name', 'Builtin::uri_source_', |
132 '<@(_sources)', | 151 '<(uri_dart)', |
133 ], | 152 ], |
134 'message': 'Generating ''<(uri_cc_file)'' file.' | 153 'message': 'Generating ''<(uri_cc_file)'' file.' |
135 }, | 154 }, |
136 ] | 155 ] |
137 }, | 156 }, |
138 { | 157 { |
139 'target_name': 'generate_utf_cc_file', | 158 'target_name': 'generate_utf_cc_file', |
140 'type': 'none', | 159 'type': 'none', |
141 'includes': [ | 160 'includes': [ |
142 'utf_sources.gypi', | 161 'utf_sources.gypi', |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 ['OS=="mac"', { | 454 ['OS=="mac"', { |
436 'xcode_settings': { | 455 'xcode_settings': { |
437 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 456 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
438 }, | 457 }, |
439 }], | 458 }], |
440 ], | 459 ], |
441 }, | 460 }, |
442 ], | 461 ], |
443 } | 462 } |
444 | 463 |
OLD | NEW |