Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / chrome_watcher / BUILD.gn
blobdb5f5e8cd37b5d15b7c1012a729b158d6fd1e593
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("//chrome/version.gni")
7 source_set("client") {
8   sources = [
9     "chrome_watcher_main_api.cc",
10     "chrome_watcher_main_api.h",
11   ]
12   deps = [
13     "//base",
14   ]
17 process_version("chrome_watcher_resources") {
18   sources = [
19     "chrome_watcher.ver",
20   ]
21   output = "$target_gen_dir/chrome_watcher_version.rc"
24 shared_library("chrome_watcher") {
25   sources = [
26     "$target_gen_dir/chrome_watcher_version.rc",
27     "chrome_watcher_main.cc",
28   ]
29   inputs = [
30     "chrome_watcher.def",
31   ]
32   deps = [
33     ":chrome_watcher_resources",
34     ":client",
35     "//base",
36     "//components/browser_watcher",
37   ]
38   ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ]
39   configs -= [ "//build/config/win:console" ]
40   configs += [ "//build/config/win:windowed" ]