| 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 static_library("zucchini_lib") { | 8 static_library("zucchini_lib") { |
| 9 sources = [ | 9 sources = [ |
| 10 "buffer_view.h", | 10 "buffer_view.h", |
| 11 "crc32.cc", | 11 "crc32.cc", |
| 12 "crc32.h", | 12 "crc32.h", |
| 13 "disassembler.cc", | 13 "disassembler.cc", |
| 14 "disassembler.h", | 14 "disassembler.h", |
| 15 "image_utils.h", | 15 "image_utils.h", |
| 16 "suffix_array.h", |
| 16 "typed_value.h", | 17 "typed_value.h", |
| 17 ] | 18 ] |
| 18 | 19 |
| 19 deps = [ | 20 deps = [ |
| 20 "//base", | 21 "//base", |
| 21 ] | 22 ] |
| 22 } | 23 } |
| 23 | 24 |
| 24 executable("zucchini") { | 25 executable("zucchini") { |
| 25 sources = [ | 26 sources = [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 37 process_version_rc_template("zucchini_exe_version") { | 38 process_version_rc_template("zucchini_exe_version") { |
| 38 template_file = "zucchini_exe_version.rc.version" | 39 template_file = "zucchini_exe_version.rc.version" |
| 39 output = "$target_gen_dir/zucchini_exe_version.rc" | 40 output = "$target_gen_dir/zucchini_exe_version.rc" |
| 40 } | 41 } |
| 41 } | 42 } |
| 42 | 43 |
| 43 test("zucchini_unittests") { | 44 test("zucchini_unittests") { |
| 44 sources = [ | 45 sources = [ |
| 45 "buffer_view_unittest.cc", | 46 "buffer_view_unittest.cc", |
| 46 "crc32_unittest.cc", | 47 "crc32_unittest.cc", |
| 48 "suffix_array_unittest.cc", |
| 47 "typed_value_unittest.cc", | 49 "typed_value_unittest.cc", |
| 48 ] | 50 ] |
| 49 | 51 |
| 50 deps = [ | 52 deps = [ |
| 51 ":zucchini_lib", | 53 ":zucchini_lib", |
| 52 "//base", | 54 "//base", |
| 53 "//base/test:run_all_unittests", | 55 "//base/test:run_all_unittests", |
| 54 "//base/test:test_support", | 56 "//base/test:test_support", |
| 55 "//testing/gtest", | 57 "//testing/gtest", |
| 56 ] | 58 ] |
| 57 } | 59 } |
| OLD | NEW |