| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 gyp_file = "gn.gyp" | 5 gyp_file = "gn.gyp" |
| 6 external = true | 6 external = true |
| 7 | 7 |
| 8 # Not defined when doing a GYP build, this lets the code key off of GN-specific | 8 # Not defined when doing a GYP build, this lets the code key off of GN-specific |
| 9 # features (the last change target). This can be removed when the last change | 9 # features (the last change target). This can be removed when the last change |
| 10 # target is supported by the GN->GYP converter (see is_gyp conditional for that | 10 # target is supported by the GN->GYP converter (see is_gyp conditional for that |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 executable("gn") { | 170 executable("gn") { |
| 171 sources = [ | 171 sources = [ |
| 172 "gn_main.cc", | 172 "gn_main.cc", |
| 173 ] | 173 ] |
| 174 | 174 |
| 175 deps = [ | 175 deps = [ |
| 176 ":gn_lib", | 176 ":gn_lib", |
| 177 ] | 177 ] |
| 178 if (!is_gyp) { | 178 if (!is_gyp) { |
| 179 # Currently this only works in GYP (see GN_BUILD above). | 179 # Currently this only works in GYP (see GN_BUILD above). |
| 180 deps += "//build/util:last_change" | 180 deps += [ "//build/util:last_change" ] |
| 181 } | 181 } |
| 182 } | 182 } |
| 183 | 183 |
| 184 test("gn_unittests") { | 184 test("gn_unittests") { |
| 185 sources = [ | 185 sources = [ |
| 186 "builder_unittest.cc", | 186 "builder_unittest.cc", |
| 187 "escape_unittest.cc", | 187 "escape_unittest.cc", |
| 188 "file_template_unittest.cc", | 188 "file_template_unittest.cc", |
| 189 "filesystem_utils_unittest.cc", | 189 "filesystem_utils_unittest.cc", |
| 190 "function_rebase_path_unittest.cc", | 190 "function_rebase_path_unittest.cc", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 215 "//base/test:run_all_unittests", | 215 "//base/test:run_all_unittests", |
| 216 "//base/test:test_support_base", | 216 "//base/test:test_support_base", |
| 217 "//testing/gtest", | 217 "//testing/gtest", |
| 218 ] | 218 ] |
| 219 } | 219 } |
| 220 | 220 |
| 221 executable("generate_test_gn_data") { | 221 executable("generate_test_gn_data") { |
| 222 sources = [ "generate_test_gn_data.cc" ] | 222 sources = [ "generate_test_gn_data.cc" ] |
| 223 deps = [ "//base" ] | 223 deps = [ "//base" ] |
| 224 } | 224 } |
| OLD | NEW |