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

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

Issue 26267003: Add the concept of a source set to GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | tools/gn/functions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 155
156 test("gn_unittests") { 156 test("gn_unittests") {
157 sources = [ 157 sources = [
158 "escape_unittest.cc", 158 "escape_unittest.cc",
159 "file_template_unittest.cc", 159 "file_template_unittest.cc",
160 "filesystem_utils_unittest.cc", 160 "filesystem_utils_unittest.cc",
161 "function_rebase_path_unittest.cc", 161 "function_rebase_path_unittest.cc",
162 "input_conversion_unittest.cc", 162 "input_conversion_unittest.cc",
163 "label_unittest.cc", 163 "label_unittest.cc",
164 "ninja_binary_target_writer_unittest.cc",
164 "ninja_copy_target_writer_unittest.cc", 165 "ninja_copy_target_writer_unittest.cc",
165 "ninja_helper_unittest.cc", 166 "ninja_helper_unittest.cc",
166 "ninja_script_target_writer_unittest.cc", 167 "ninja_script_target_writer_unittest.cc",
167 "parser_unittest.cc", 168 "parser_unittest.cc",
168 "path_output_unittest.cc", 169 "path_output_unittest.cc",
169 "pattern_unittest.cc", 170 "pattern_unittest.cc",
170 "scope_per_file_provider_unittest.cc", 171 "scope_per_file_provider_unittest.cc",
171 "source_dir_unittest.cc", 172 "source_dir_unittest.cc",
172 "string_utils_unittest.cc", 173 "string_utils_unittest.cc",
173 "target_generator_unittest.cc", 174 "target_generator_unittest.cc",
174 "target_manager_unittest.cc", 175 "target_manager_unittest.cc",
175 "target_unittest.cc", 176 "target_unittest.cc",
176 "test_with_scope.cc", 177 "test_with_scope.cc",
177 "test_with_scope.h", 178 "test_with_scope.h",
178 "tokenizer_unittest.cc", 179 "tokenizer_unittest.cc",
179 ] 180 ]
180 deps = [ 181 deps = [
181 ":gn_lib", 182 ":gn_lib",
182 "//base:run_all_unittests", 183 "//base:run_all_unittests",
183 "//base:test_support_base", 184 "//base:test_support_base",
184 "//testing:gtest", 185 "//testing:gtest",
185 ] 186 ]
186 } 187 }
187 188
188 executable("generate_test_gn_data") { 189 executable("generate_test_gn_data") {
189 sources = [ "generate_test_gn_data.cc" ] 190 sources = [ "generate_test_gn_data.cc" ]
190 deps = [ "//base" ] 191 deps = [ "//base" ]
191 } 192 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/functions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698