Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / cloud_print / service / BUILD.gn
blob7baf63b6306a98617d15343d49a704d2d5efc7c6
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("//tools/grit/grit_rule.gni")
7 source_set("cloud_print_service_lib") {
8   sources = [
9     "//cloud_print/common/win/cloud_print_utils.cc",
10     "//cloud_print/common/win/cloud_print_utils.h",
11     "service_constants.cc",
12     "service_constants.h",
13     "service_state.cc",
14     "service_state.h",
15     "service_switches.cc",
16     "service_switches.h",
17     "win/chrome_launcher.cc",
18     "win/chrome_launcher.h",
19     "win/local_security_policy.cc",
20     "win/local_security_policy.h",
21     "win/service_controller.cc",
22     "win/service_controller.h",
23     "win/service_listener.cc",
24     "win/service_listener.h",
25     "win/service_utils.cc",
26     "win/service_utils.h",
27     "win/setup_listener.cc",
28     "win/setup_listener.h",
29   ]
31   deps = [
32     ":service_resources",
33     "//base",
34     "//base:base_static",
35     "//base/third_party/dynamic_annotations",
36     "//content/public/common",
37     "//google_apis",
38     "//ipc",
39     "//net",
40     "//url",
41   ]
43   if (is_clang) {
44     cflags = [ "-Wno-parentheses" ]
45   }
48 grit("service_resources") {
49   source = "win/service_resources.grd"
50   outputs = [
51     "resources.h",
52     "service_resources_en.rc",
53   ]