1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 static_library("gn_lib") {
11 "binary_target_generator.cc",
12 "binary_target_generator.h",
27 "config_values_extractors.cc",
28 "config_values_extractors.h",
29 "config_values_generator.cc",
30 "config_values_generator.h",
31 "copy_target_generator.cc",
32 "copy_target_generator.h",
39 "filesystem_utils.cc",
43 "functions_target.cc",
44 "function_exec_script.cc",
45 "function_process_file_template.cc",
46 "function_read_file.cc",
47 "function_rebase_path.cc",
48 "function_set_default_toolchain.cc",
49 "function_set_defaults.cc",
50 "function_template.cc",
51 "function_toolchain.cc",
52 "function_write_file.cc",
53 "group_target_generator.cc",
54 "group_target_generator.h",
55 "gyp_binary_target_writer.cc",
56 "gyp_binary_target_writer.h",
59 "gyp_target_writer.cc",
60 "gyp_target_writer.h",
63 "input_conversion.cc",
67 "input_file_manager.cc",
68 "input_file_manager.h",
80 "ninja_binary_target_writer.cc",
81 "ninja_binary_target_writer.h",
82 "ninja_build_writer.cc",
83 "ninja_build_writer.h",
84 "ninja_copy_target_writer.cc",
85 "ninja_copy_target_writer.h",
86 "ninja_group_target_writer.cc",
87 "ninja_group_target_writer.h",
90 "ninja_script_target_writer.cc",
91 "ninja_script_target_writer.h",
92 "ninja_target_writer.cc",
93 "ninja_target_writer.h",
94 "ninja_toolchain_writer.cc",
95 "ninja_toolchain_writer.h",
113 "scope_per_file_provider.cc",
114 "scope_per_file_provider.h",
115 "script_target_generator.cc",
116 "script_target_generator.h",
133 "target_generator.cc",
134 "target_generator.h",
143 "toolchain_manager.cc",
144 "toolchain_manager.h",
149 "value_extractors.cc",
150 "value_extractors.h",
156 "//base/third_party/dynamic_annotations",
169 test("gn_unittests") {
171 "escape_unittest.cc",
172 "file_template_unittest.cc",
173 "filesystem_utils_unittest.cc",
174 "function_rebase_path_unittest.cc",
175 "input_conversion_unittest.cc",
177 "ninja_binary_target_writer_unittest.cc",
178 "ninja_copy_target_writer_unittest.cc",
179 "ninja_helper_unittest.cc",
180 "ninja_script_target_writer_unittest.cc",
181 "parser_unittest.cc",
182 "path_output_unittest.cc",
183 "pattern_unittest.cc",
184 "scope_per_file_provider_unittest.cc",
185 "source_dir_unittest.cc",
186 "string_utils_unittest.cc",
187 "target_generator_unittest.cc",
188 "target_manager_unittest.cc",
189 "target_unittest.cc",
190 "test_with_scope.cc",
192 "tokenizer_unittest.cc",
196 "//base:run_all_unittests",
197 "//base:test_support_base",
202 executable("generate_test_gn_data") {
203 sources = [ "generate_test_gn_data.cc" ]