| OLD | NEW |
| (Empty) |
| 1 { | |
| 2 'variables': { | |
| 3 'chromium_code': 1, | |
| 4 }, | |
| 5 'targets': [ | |
| 6 { | |
| 7 'target_name': 'gn_lib', | |
| 8 'type': 'static_library', | |
| 9 'dependencies': [ | |
| 10 '../../base/base.gyp:base', | |
| 11 ], | |
| 12 'sources': [ | |
| 13 'action_target_generator.cc', | |
| 14 'action_target_generator.h', | |
| 15 'action_values.cc', | |
| 16 'action_values.h', | |
| 17 'analyzer.cc', | |
| 18 'analyzer.h', | |
| 19 'args.cc', | |
| 20 'args.h', | |
| 21 'binary_target_generator.cc', | |
| 22 'binary_target_generator.h', | |
| 23 'build_settings.cc', | |
| 24 'build_settings.h', | |
| 25 'builder.cc', | |
| 26 'builder.h', | |
| 27 'builder_record.cc', | |
| 28 'builder_record.h', | |
| 29 'bundle_data.cc', | |
| 30 'bundle_data.h', | |
| 31 'bundle_data_target_generator.cc', | |
| 32 'bundle_data_target_generator.h', | |
| 33 'bundle_file_rule.cc', | |
| 34 'bundle_file_rule.h', | |
| 35 'c_include_iterator.cc', | |
| 36 'c_include_iterator.h', | |
| 37 'command_analyze.cc', | |
| 38 'command_args.cc', | |
| 39 'command_check.cc', | |
| 40 'command_clean.cc', | |
| 41 'command_desc.cc', | |
| 42 'command_format.cc', | |
| 43 'command_gen.cc', | |
| 44 'command_help.cc', | |
| 45 'command_ls.cc', | |
| 46 'command_path.cc', | |
| 47 'command_refs.cc', | |
| 48 'commands.cc', | |
| 49 'commands.h', | |
| 50 'config.cc', | |
| 51 'config.h', | |
| 52 'config_values.cc', | |
| 53 'config_values.h', | |
| 54 'config_values_extractors.cc', | |
| 55 'config_values_extractors.h', | |
| 56 'config_values_generator.cc', | |
| 57 'config_values_generator.h', | |
| 58 'copy_target_generator.cc', | |
| 59 'copy_target_generator.h', | |
| 60 'create_bundle_target_generator.cc', | |
| 61 'create_bundle_target_generator.h', | |
| 62 'deps_iterator.cc', | |
| 63 'deps_iterator.h', | |
| 64 'desc_builder.cc', | |
| 65 'desc_builder.h', | |
| 66 'eclipse_writer.cc', | |
| 67 'eclipse_writer.h', | |
| 68 'err.cc', | |
| 69 'err.h', | |
| 70 'escape.cc', | |
| 71 'escape.h', | |
| 72 'exec_process.cc', | |
| 73 'exec_process.h', | |
| 74 'filesystem_utils.cc', | |
| 75 'filesystem_utils.h', | |
| 76 'function_exec_script.cc', | |
| 77 'function_foreach.cc', | |
| 78 'function_forward_variables_from.cc', | |
| 79 'function_get_label_info.cc', | |
| 80 'function_get_path_info.cc', | |
| 81 'function_get_target_outputs.cc', | |
| 82 'function_process_file_template.cc', | |
| 83 'function_read_file.cc', | |
| 84 'function_rebase_path.cc', | |
| 85 'function_set_default_toolchain.cc', | |
| 86 'function_set_defaults.cc', | |
| 87 'function_template.cc', | |
| 88 'function_toolchain.cc', | |
| 89 'function_write_file.cc', | |
| 90 'functions.cc', | |
| 91 'functions.h', | |
| 92 'functions_target.cc', | |
| 93 'group_target_generator.cc', | |
| 94 'group_target_generator.h', | |
| 95 'header_checker.cc', | |
| 96 'header_checker.h', | |
| 97 'import_manager.cc', | |
| 98 'import_manager.h', | |
| 99 'inherited_libraries.cc', | |
| 100 'inherited_libraries.h', | |
| 101 'input_conversion.cc', | |
| 102 'input_conversion.h', | |
| 103 'input_file.cc', | |
| 104 'input_file.h', | |
| 105 'input_file_manager.cc', | |
| 106 'input_file_manager.h', | |
| 107 'item.cc', | |
| 108 'item.h', | |
| 109 'json_project_writer.cc', | |
| 110 'json_project_writer.h', | |
| 111 'label.cc', | |
| 112 'label.h', | |
| 113 'label_pattern.cc', | |
| 114 'label_pattern.h', | |
| 115 'label_ptr.h', | |
| 116 'lib_file.cc', | |
| 117 'lib_file.h', | |
| 118 'loader.cc', | |
| 119 'loader.h', | |
| 120 'location.cc', | |
| 121 'location.h', | |
| 122 'ninja_action_target_writer.cc', | |
| 123 'ninja_action_target_writer.h', | |
| 124 'ninja_binary_target_writer.cc', | |
| 125 'ninja_binary_target_writer.h', | |
| 126 'ninja_build_writer.cc', | |
| 127 'ninja_build_writer.h', | |
| 128 'ninja_bundle_data_target_writer.cc', | |
| 129 'ninja_bundle_data_target_writer.h', | |
| 130 'ninja_copy_target_writer.cc', | |
| 131 'ninja_copy_target_writer.h', | |
| 132 'ninja_create_bundle_target_writer.cc', | |
| 133 'ninja_create_bundle_target_writer.h', | |
| 134 'ninja_group_target_writer.cc', | |
| 135 'ninja_group_target_writer.h', | |
| 136 'ninja_target_writer.cc', | |
| 137 'ninja_target_writer.h', | |
| 138 'ninja_toolchain_writer.cc', | |
| 139 'ninja_toolchain_writer.h', | |
| 140 'ninja_utils.cc', | |
| 141 'ninja_utils.h', | |
| 142 'ninja_writer.cc', | |
| 143 'ninja_writer.h', | |
| 144 'operators.cc', | |
| 145 'operators.h', | |
| 146 'output_file.cc', | |
| 147 'output_file.h', | |
| 148 'parse_node_value_adapter.cc', | |
| 149 'parse_node_value_adapter.h', | |
| 150 'parse_tree.cc', | |
| 151 'parse_tree.h', | |
| 152 'parser.cc', | |
| 153 'parser.h', | |
| 154 'path_output.cc', | |
| 155 'path_output.h', | |
| 156 'pattern.cc', | |
| 157 'pattern.h', | |
| 158 'pool.cc', | |
| 159 'pool.h', | |
| 160 'qt_creator_writer.cc', | |
| 161 'qt_creator_writer.h', | |
| 162 'runtime_deps.cc', | |
| 163 'runtime_deps.h', | |
| 164 'scheduler.cc', | |
| 165 'scheduler.h', | |
| 166 'scope.cc', | |
| 167 'scope.h', | |
| 168 'scope_per_file_provider.cc', | |
| 169 'scope_per_file_provider.h', | |
| 170 'settings.cc', | |
| 171 'settings.h', | |
| 172 'setup.cc', | |
| 173 'setup.h', | |
| 174 'source_dir.cc', | |
| 175 'source_dir.h', | |
| 176 'source_file.cc', | |
| 177 'source_file.h', | |
| 178 'source_file_type.cc', | |
| 179 'source_file_type.h', | |
| 180 'standard_out.cc', | |
| 181 'standard_out.h', | |
| 182 'string_utils.cc', | |
| 183 'string_utils.h', | |
| 184 'substitution_list.cc', | |
| 185 'substitution_list.h', | |
| 186 'substitution_pattern.cc', | |
| 187 'substitution_pattern.h', | |
| 188 'substitution_type.cc', | |
| 189 'substitution_type.h', | |
| 190 'substitution_writer.cc', | |
| 191 'substitution_writer.h', | |
| 192 'switches.cc', | |
| 193 'switches.h', | |
| 194 'target.cc', | |
| 195 'target.h', | |
| 196 'target_generator.cc', | |
| 197 'target_generator.h', | |
| 198 'template.cc', | |
| 199 'template.h', | |
| 200 'token.cc', | |
| 201 'token.h', | |
| 202 'tokenizer.cc', | |
| 203 'tokenizer.h', | |
| 204 'tool.cc', | |
| 205 'tool.h', | |
| 206 'toolchain.cc', | |
| 207 'toolchain.h', | |
| 208 'trace.cc', | |
| 209 'trace.h', | |
| 210 'unique_vector.h', | |
| 211 'value.cc', | |
| 212 'value.h', | |
| 213 'value_extractors.cc', | |
| 214 'value_extractors.h', | |
| 215 'variables.cc', | |
| 216 'variables.h', | |
| 217 'visibility.cc', | |
| 218 'visibility.h', | |
| 219 'visual_studio_utils.cc', | |
| 220 'visual_studio_utils.h', | |
| 221 'visual_studio_writer.cc', | |
| 222 'visual_studio_writer.h', | |
| 223 'xcode_object.cc', | |
| 224 'xcode_object.h', | |
| 225 'xcode_writer.cc', | |
| 226 'xcode_writer.h', | |
| 227 'xml_element_writer.cc', | |
| 228 'xml_element_writer.h', | |
| 229 ], | |
| 230 }, | |
| 231 { | |
| 232 'target_name': 'gn', | |
| 233 'type': 'executable', | |
| 234 'sources': [ | |
| 235 'gn_main.cc', | |
| 236 ], | |
| 237 'dependencies': [ | |
| 238 'gn_lib', | |
| 239 '../../base/base.gyp:base', | |
| 240 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | |
| 241 ], | |
| 242 }, | |
| 243 { | |
| 244 'target_name': 'gn_unittests', | |
| 245 'type': '<(gtest_target_type)', | |
| 246 'sources': [ | |
| 247 'action_target_generator_unittest.cc', | |
| 248 'analyzer_unittest.cc', | |
| 249 'builder_unittest.cc', | |
| 250 'c_include_iterator_unittest.cc', | |
| 251 'command_format_unittest.cc', | |
| 252 'config_unittest.cc', | |
| 253 'config_values_extractors_unittest.cc', | |
| 254 'escape_unittest.cc', | |
| 255 'exec_process_unittest.cc', | |
| 256 'filesystem_utils_unittest.cc', | |
| 257 'function_foreach_unittest.cc', | |
| 258 'function_forward_variables_from_unittest.cc', | |
| 259 'function_get_label_info_unittest.cc', | |
| 260 'function_get_path_info_unittest.cc', | |
| 261 'function_get_target_outputs_unittest.cc', | |
| 262 'function_process_file_template_unittest.cc', | |
| 263 'function_rebase_path_unittest.cc', | |
| 264 'function_toolchain_unittest.cc', | |
| 265 'function_write_file_unittest.cc', | |
| 266 'functions_target_unittest.cc', | |
| 267 'functions_unittest.cc', | |
| 268 'header_checker_unittest.cc', | |
| 269 'inherited_libraries_unittest.cc', | |
| 270 'input_conversion_unittest.cc', | |
| 271 'label_pattern_unittest.cc', | |
| 272 'label_unittest.cc', | |
| 273 'loader_unittest.cc', | |
| 274 'ninja_action_target_writer_unittest.cc', | |
| 275 'ninja_binary_target_writer_unittest.cc', | |
| 276 'ninja_bundle_data_target_writer_unittest.cc', | |
| 277 'ninja_copy_target_writer_unittest.cc', | |
| 278 'ninja_create_bundle_target_writer_unittest.cc', | |
| 279 'ninja_group_target_writer_unittest.cc', | |
| 280 'ninja_target_writer_unittest.cc', | |
| 281 'ninja_toolchain_writer_unittest.cc', | |
| 282 'operators_unittest.cc', | |
| 283 'parse_tree_unittest.cc', | |
| 284 'parser_unittest.cc', | |
| 285 'path_output_unittest.cc', | |
| 286 'pattern_unittest.cc', | |
| 287 'runtime_deps_unittest.cc', | |
| 288 'scope_per_file_provider_unittest.cc', | |
| 289 'scope_unittest.cc', | |
| 290 'source_dir_unittest.cc', | |
| 291 'source_file_unittest.cc', | |
| 292 'string_utils_unittest.cc', | |
| 293 'substitution_pattern_unittest.cc', | |
| 294 'substitution_writer_unittest.cc', | |
| 295 'target_unittest.cc', | |
| 296 'template_unittest.cc', | |
| 297 'test_with_scope.cc', | |
| 298 'test_with_scope.h', | |
| 299 'tokenizer_unittest.cc', | |
| 300 'unique_vector_unittest.cc', | |
| 301 'value_unittest.cc', | |
| 302 'visibility_unittest.cc', | |
| 303 'visual_studio_utils_unittest.cc', | |
| 304 'visual_studio_writer_unittest.cc', | |
| 305 'xml_element_writer_unittest.cc', | |
| 306 ], | |
| 307 'dependencies': [ | |
| 308 'gn_lib', | |
| 309 '../../base/base.gyp:run_all_unittests', | |
| 310 '../../base/base.gyp:test_support_base', | |
| 311 '../../testing/gtest.gyp:gtest', | |
| 312 ], | |
| 313 }, | |
| 314 ], | |
| 315 'conditions': [ | |
| 316 ['test_isolation_mode != "noop"', { | |
| 317 'targets': [ | |
| 318 { | |
| 319 'target_name': 'gn_unittests_run', | |
| 320 'type': 'none', | |
| 321 'dependencies': [ | |
| 322 'gn_unittests', | |
| 323 ], | |
| 324 'includes': [ '../../build/isolate.gypi' ], | |
| 325 'sources': [ 'gn_unittests.isolate' ], | |
| 326 }, | |
| 327 ], | |
| 328 }], | |
| 329 ], | |
| 330 } | |
| OLD | NEW |