| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/version.gni") | 5 import("//build/util/process_version.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_win) { | 8 if (is_win) { |
| 9 executable("setup") { | 9 executable("setup") { |
| 10 sources = [ | 10 sources = [ |
| 11 "setup.ico", | 11 "setup.ico", |
| 12 "setup.rc", | 12 "setup.rc", |
| 13 "setup_exe_version.rc.version", | 13 "setup_exe_version.rc.version", |
| 14 "setup_main.cc", | 14 "setup_main.cc", |
| 15 "setup_main.h", | 15 "setup_main.h", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 "//components/crash/content/app:lib", | 69 "//components/crash/content/app:lib", |
| 70 "//components/crash/core/common", | 70 "//components/crash/core/common", |
| 71 "//content/public/common:static_switches", | 71 "//content/public/common:static_switches", |
| 72 "//courgette:courgette_lib", | 72 "//courgette:courgette_lib", |
| 73 "//rlz:rlz_lib", | 73 "//rlz:rlz_lib", |
| 74 "//third_party/bspatch", | 74 "//third_party/bspatch", |
| 75 "//third_party/zlib", | 75 "//third_party/zlib", |
| 76 ] | 76 ] |
| 77 } | 77 } |
| 78 | 78 |
| 79 process_version("setup_exe_version") { | 79 process_version_rc_template("setup_exe_version") { |
| 80 template_file = "setup_exe_version.rc.version" | 80 template_file = "setup_exe_version.rc.version" |
| 81 output = "$target_gen_dir/setup_exe_version.rc" | 81 output = "$target_gen_dir/setup_exe_version.rc" |
| 82 } | 82 } |
| 83 | 83 |
| 84 # This test covers the mini installer and setup tests. | 84 # This test covers the mini installer and setup tests. |
| 85 test("setup_unittests") { | 85 test("setup_unittests") { |
| 86 sources = [ | 86 sources = [ |
| 87 "archive_patch_helper_unittest.cc", | 87 "archive_patch_helper_unittest.cc", |
| 88 "install_unittest.cc", | 88 "install_unittest.cc", |
| 89 "install_worker_unittest.cc", | 89 "install_worker_unittest.cc", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 105 "//testing/gmock", | 105 "//testing/gmock", |
| 106 "//testing/gtest", | 106 "//testing/gtest", |
| 107 ] | 107 ] |
| 108 | 108 |
| 109 data = [ | 109 data = [ |
| 110 "//chrome/installer/test/data/", | 110 "//chrome/installer/test/data/", |
| 111 "//chrome/test/data/installer/", | 111 "//chrome/test/data/installer/", |
| 112 ] | 112 ] |
| 113 } | 113 } |
| 114 } | 114 } |
| OLD | NEW |