summaryrefslogtreecommitdiffstats
path: root/chrome/app_installer/BUILD.gn
blob: 9ff440959e08234136fac2b3c5065658e31af03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//testing/test.gni")

assert(is_win)

executable("app_installer") {
  sources = [
    "win/app_installer_main.cc",
  ]

  configs -= [ "//build/config/win:console" ]
  configs += [ "//build/config/win:windowed" ]

  deps = [
    ":util",
    "//base",
  ]

  # TODO(GYP) manifest.
}

source_set("util") {
  sources = [
    "win/app_installer_util.cc",
    "win/app_installer_util.h",
  ]

  deps = [
    "//base",
    "//chrome/common",
    "//chrome/common:constants",
    "//chrome/installer/launcher_support",
    "//chrome/installer/util",
    "//chrome/installer/util:strings",
    "//content/public/common",
    "//net",
    "//third_party/omaha:extractor",
  ]
}

test("app_installer_unittests") {
  sources = [
    "win/app_installer_util_unittest.cc",
  ]

  deps = [
    ":util",
    "//base",
    "//base/test:run_all_unittests",
    "//mojo/environment:chromium",
    "//net:test_support",
    "//testing/gtest",
  ]

  # TODO(GYP) manifest
}