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 'build_settings.cc', |
| 14 'build_settings.h', |
| 15 'command_desc.cc', |
| 16 'command_desc.h', |
| 17 'command_gen.cc', |
| 18 'command_gen.h', |
| 19 'commands.h', |
| 20 'config.cc', |
| 21 'config.h', |
| 22 'config_values.cc', |
| 23 'config_values.h', |
| 24 'config_values_extractors.cc', |
| 25 'config_values_extractors.h', |
| 26 'config_values_generator.cc', |
| 27 'config_values_generator.h', |
| 28 'err.cc', |
| 29 'err.h', |
| 30 'escape.cc', |
| 31 'escape.h', |
| 32 'file_template.cc', |
| 33 'file_template.h', |
| 34 'filesystem_utils.cc', |
| 35 'filesystem_utils.h', |
| 36 'functions_target.cc', |
| 37 'functions.cc', |
| 38 'functions.h', |
| 39 'function_exec_script.cc', |
| 40 'function_process_file_template.cc', |
| 41 'function_read_file.cc', |
| 42 'function_set_default_toolchain.cc', |
| 43 'function_template.cc', |
| 44 'function_toolchain.cc', |
| 45 'function_write_file.cc', |
| 46 'import_manager.cc', |
| 47 'import_manager.h', |
| 48 'input_conversion.cc', |
| 49 'input_conversion.h', |
| 50 'input_file.cc', |
| 51 'input_file.h', |
| 52 'input_file_manager.cc', |
| 53 'input_file_manager.h', |
| 54 'item.cc', |
| 55 'item.h', |
| 56 'item_node.cc', |
| 57 'item_node.h', |
| 58 'item_tree.cc', |
| 59 'item_tree.h', |
| 60 'label.cc', |
| 61 'label.h', |
| 62 'location.h', |
| 63 'ninja_build_writer.cc', |
| 64 'ninja_build_writer.h', |
| 65 'ninja_helper.cc', |
| 66 'ninja_helper.h', |
| 67 'ninja_target_writer.cc', |
| 68 'ninja_target_writer.h', |
| 69 'ninja_toolchain_writer.cc', |
| 70 'ninja_toolchain_writer.h', |
| 71 'ninja_writer.cc', |
| 72 'ninja_writer.h', |
| 73 'operators.cc', |
| 74 'operators.h', |
| 75 'output_file.h', |
| 76 'parse_tree.cc', |
| 77 'parse_tree.h', |
| 78 'parser.cc', |
| 79 'parser.h', |
| 80 'path_output.cc', |
| 81 'path_output.h', |
| 82 'pattern.cc', |
| 83 'pattern.h', |
| 84 'scheduler.cc', |
| 85 'scheduler.h', |
| 86 'scope.cc', |
| 87 'scope.h', |
| 88 'scope_per_file_provider.cc', |
| 89 'scope_per_file_provider.h', |
| 90 'settings.cc', |
| 91 'settings.h', |
| 92 'setup.cc', |
| 93 'setup.h', |
| 94 'source_dir.cc', |
| 95 'source_dir.h', |
| 96 'source_file.cc', |
| 97 'source_file.h', |
| 98 'standard_out.cc', |
| 99 'standard_out.h', |
| 100 'string_utils.cc', |
| 101 'string_utils.h', |
| 102 'target.cc', |
| 103 'target.h', |
| 104 'target_generator.cc', |
| 105 'target_generator.h', |
| 106 'target_manager.cc', |
| 107 'target_manager.h', |
| 108 'token.cc', |
| 109 'token.h', |
| 110 'tokenizer.cc', |
| 111 'tokenizer.h', |
| 112 'toolchain.cc', |
| 113 'toolchain.h', |
| 114 'toolchain_manager.cc', |
| 115 'toolchain_manager.h', |
| 116 'value.cc', |
| 117 'value.h', |
| 118 'value_extractors.cc', |
| 119 'value_extractors.h', |
| 120 ], |
| 121 }, |
| 122 { |
| 123 'target_name': 'gn', |
| 124 'type': 'executable', |
| 125 'sources': [ |
| 126 'gn_main.cc', |
| 127 ], |
| 128 'dependencies': [ |
| 129 'gn_lib', |
| 130 '../../base/base.gyp:base', |
| 131 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
| 132 ], |
| 133 }, |
| 134 { |
| 135 'target_name': 'gn_unittests', |
| 136 'type': '<(gtest_target_type)', |
| 137 'sources': [ |
| 138 'escape_unittest.cc', |
| 139 'file_template_unittest.cc', |
| 140 'filesystem_utils_unittest.cc', |
| 141 'input_conversion_unittest.cc', |
| 142 'label_unittest.cc', |
| 143 'ninja_helper_unittest.cc', |
| 144 'parser_unittest.cc', |
| 145 'path_output_unittest.cc', |
| 146 'pattern_unittest.cc', |
| 147 'source_dir_unittest.cc', |
| 148 'string_utils_unittest.cc', |
| 149 'target_generator_unittest.cc', |
| 150 'target_manager_unittest.cc', |
| 151 'tokenizer_unittest.cc', |
| 152 ], |
| 153 'dependencies': [ |
| 154 'gn_lib', |
| 155 '../../base/base.gyp:run_all_unittests', |
| 156 '../../base/base.gyp:test_support_base', |
| 157 '../../testing/gtest.gyp:gtest', |
| 158 ], |
| 159 }, |
| 160 { |
| 161 'target_name': 'generate_test_gn_data', |
| 162 'type': 'executable', |
| 163 'sources': [ |
| 164 'generate_test_gn_data.cc', |
| 165 ], |
| 166 'dependencies': [ |
| 167 '../../base/base.gyp:base', |
| 168 ], |
| 169 } |
| 170 ], |
| 171 } |
OLD | NEW |