Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: tools/gn/BUILD.gn

Issue 23606031: GN: Use build directory for CD for scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert all.gyp Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 static_library("gn_lib") { 1 static_library("gn_lib") {
2 sources = [ 2 sources = [
3 "args.cc", 3 "args.cc",
4 "args.h", 4 "args.h",
5 "binary_target_generator.cc", 5 "binary_target_generator.cc",
6 "binary_target_generator.h", 6 "binary_target_generator.h",
7 "build_settings.cc", 7 "build_settings.cc",
8 "build_settings.h", 8 "build_settings.h",
9 "command_args.cc", 9 "command_args.cc",
10 "command_desc.cc", 10 "command_desc.cc",
(...skipping 23 matching lines...) Expand all
34 "filesystem_utils.h", 34 "filesystem_utils.h",
35 "functions.cc", 35 "functions.cc",
36 "functions.h", 36 "functions.h",
37 "functions_target.cc", 37 "functions_target.cc",
38 "function_exec_script.cc", 38 "function_exec_script.cc",
39 "function_process_file_template.cc", 39 "function_process_file_template.cc",
40 "function_read_file.cc", 40 "function_read_file.cc",
41 "function_set_default_toolchain.cc", 41 "function_set_default_toolchain.cc",
42 "function_set_defaults.cc", 42 "function_set_defaults.cc",
43 "function_template.cc", 43 "function_template.cc",
44 "function_to_build_path.cc",
44 "function_toolchain.cc", 45 "function_toolchain.cc",
45 "function_write_file.cc", 46 "function_write_file.cc",
46 "group_target_generator.cc", 47 "group_target_generator.cc",
47 "group_target_generator.h", 48 "group_target_generator.h",
48 "import_manager.cc", 49 "import_manager.cc",
49 "import_manager.h", 50 "import_manager.h",
50 "input_conversion.cc", 51 "input_conversion.cc",
51 "input_conversion.h", 52 "input_conversion.h",
52 "input_file.cc", 53 "input_file.cc",
53 "input_file.h", 54 "input_file.h",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 deps = [ 148 deps = [
148 ":gn_lib", 149 ":gn_lib",
149 ] 150 ]
150 } 151 }
151 152
152 test("gn_unittests") { 153 test("gn_unittests") {
153 sources = [ 154 sources = [
154 "escape_unittest.cc", 155 "escape_unittest.cc",
155 "file_template_unittest.cc", 156 "file_template_unittest.cc",
156 "filesystem_utils_unittest.cc", 157 "filesystem_utils_unittest.cc",
158 "function_to_build_path_unittest.cc",
157 "input_conversion_unittest.cc", 159 "input_conversion_unittest.cc",
158 "label_unittest.cc", 160 "label_unittest.cc",
159 "ninja_helper_unittest.cc", 161 "ninja_helper_unittest.cc",
160 "parser_unittest.cc", 162 "parser_unittest.cc",
161 "path_output_unittest.cc", 163 "path_output_unittest.cc",
162 "pattern_unittest.cc", 164 "pattern_unittest.cc",
163 "scope_per_file_provider_unittest.cc", 165 "scope_per_file_provider_unittest.cc",
164 "source_dir_unittest.cc", 166 "source_dir_unittest.cc",
165 "string_utils_unittest.cc", 167 "string_utils_unittest.cc",
166 "target_generator_unittest.cc", 168 "target_generator_unittest.cc",
167 "target_manager_unittest.cc", 169 "target_manager_unittest.cc",
168 "target_unittest.cc", 170 "target_unittest.cc",
171 "test_with_scope.cc",
172 "test_with_scope.h",
169 "tokenizer_unittest.cc", 173 "tokenizer_unittest.cc",
170 ] 174 ]
171 deps = [ 175 deps = [
172 ":gn_lib", 176 ":gn_lib",
173 "//base:run_all_unittests", 177 "//base:run_all_unittests",
174 "//base:test_support_base", 178 "//base:test_support_base",
175 "//testing:gtest", 179 "//testing:gtest",
176 ] 180 ]
177 } 181 }
178 182
179 executable("generate_test_gn_data") { 183 executable("generate_test_gn_data") {
180 sources = [ "generate_test_gn_data.cc" ] 184 sources = [ "generate_test_gn_data.cc" ]
181 deps = [ "//base" ] 185 deps = [ "//base" ]
182 } 186 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/function_exec_script.cc » ('j') | tools/gn/secondary/build/config/compiler/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698