| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 import("//chrome/process_version_rc_template.gni") | 5 import("//chrome/process_version_rc_template.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 executable("zucchini") { | 8 executable("zucchini") { |
| 9 sources = [ | 9 sources = [ |
| 10 "zucchini_main.cc", | 10 "zucchini_main.cc", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 deps = [] | 13 deps = [] |
| 14 | 14 |
| 15 if (is_win) { | 15 if (is_win) { |
| 16 deps += [ ":zucchini_exe_version" ] | 16 deps += [ ":zucchini_exe_version" ] |
| 17 } | 17 } |
| 18 } | 18 } |
| 19 | 19 |
| 20 if (is_win) { | 20 if (is_win) { |
| 21 process_version_rc_template("zucchini_exe_version") { | 21 process_version_rc_template("zucchini_exe_version") { |
| 22 template_file = "zucchini_exe_version.rc.version" | 22 template_file = "zucchini_exe_version.rc.version" |
| 23 output = "$target_gen_dir/zucchini_exe_version.rc" | 23 output = "$target_gen_dir/zucchini_exe_version.rc" |
| 24 } | 24 } |
| 25 } | 25 } |
| 26 | 26 |
| 27 test("zucchini_unittests") { | 27 test("zucchini_unittests") { |
| 28 sources = [] | 28 sources = [ |
| 29 "suffix_array_unittest.cc", |
| 30 ] |
| 29 | 31 |
| 30 deps = [ | 32 deps = [ |
| 33 "//base", |
| 31 "//base/test:run_all_unittests", | 34 "//base/test:run_all_unittests", |
| 35 "//base/test:test_support", |
| 36 "//testing/gtest", |
| 32 ] | 37 ] |
| 33 } | 38 } |
| OLD | NEW |