Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / installer / test / BUILD.gn
blob97c3c66d12b7649af2f1c4c1b88037ab3b5d3b10
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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
7 assert(is_win)
9 executable("alternate_version_generator") {
10   testonly = true
11   sources = [
12     "alternate_version_generator_main.cc",
13   ]
15   deps = [
16     ":alternate_version_generator_lib",
17     "//base",
18     "//base/test:test_support",
19     "//chrome/common:constants",
20     "//chrome/installer/util",
21     "//testing/gtest",
22   ]
25 source_set("alternate_version_generator_lib") {
26   testonly = true
27   sources = [
28     "alternate_version_generator.cc",
29     "alternate_version_generator.h",
30     "pe_image_resources.cc",
31     "pe_image_resources.h",
32     "resource_loader.cc",
33     "resource_loader.h",
34     "resource_updater.cc",
35     "resource_updater.h",
36   ]
37   deps = [
38     "//base",
39     "//base:base_static",
40     "//chrome/installer/util",
41     "//chrome/common:constants",
42   ]
45 test("upgrade_test") {
46   sources = [
47     "run_all_tests.cc",
48     "upgrade_test.cc",
49   ]
50   deps = [
51     ":alternate_version_generator_lib",
52     "//base",
53     "//base/test:test_support",
54     "//chrome/common:constants",
55     "//chrome/installer/util",
56     "//testing/gtest",
57   ]
58   data_deps = [
59     # 'mini_installer.gyp:mini_installer',  TODO(GYP)
60   ]