Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Side by Side Diff: cloud_print/service/win/BUILD.gn

Issue 1397433004: Add cloud_print to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cloud_print/service/service.gyp ('k') | cloud_print/service/win/chrome_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 import("//build/config/win/manifest.gni")
6 import("//chrome/version.gni")
7
8 assert(is_win)
9
10 executable("cloud_print_service") {
11 sources = [
12 "cloud_print_service.cc",
13 ]
14
15 configs += [
16 "//build/config/compiler:wexit_time_destructors",
17 "//cloud_print/service:internal_config",
18 ]
19
20 deps = [
21 ":exe_manifest",
22 ":exe_version",
23 "//cloud_print/service:lib",
24 ]
25
26 libs = [ "secur32.lib" ]
27 }
28
29 windows_manifest("exe_manifest") {
30 sources = [
31 common_controls_manifest,
32 default_compatibility_manifest,
33 require_administrator_manifest,
34 ]
35 type = "exe"
36 }
37
38 process_version("exe_version") {
39 template_file = chrome_version_rc_template
40 sources = [
41 "cloud_print_service_exe.ver",
42 ]
43 output = "$target_gen_dir/cloud_print_service_exe_version.rc"
44 }
45
46 executable("cloud_print_service_config") {
47 sources = [
48 "cloud_print_service_config.cc",
49 ]
50
51 configs -= [ "//build/config/win:console" ]
52 configs += [ "//build/config/win:windowed" ]
53
54 deps = [
55 ":config_version",
56 ":exe_manifest",
57 "//cloud_print/common:install_utils",
58 "//cloud_print/service:resources",
59 "//cloud_print/service:lib",
60 ]
61
62 libs = [ "secur32.lib" ]
63
64 # TODO: Remove once cloud_print_service_config.cc no longer depends on
65 # atlapp.h, http://crbug.com/5027
66 if (is_clang) {
67 cflags = [
68 # atlapp.h contains a global "using namespace WTL;".
69 "-Wno-header-hygiene",
70
71 # atlgdi.h does an intentional assignment in an if conditional.
72 "-Wno-parentheses",
73
74 # atlgdi.h fails with -Wreorder enabled.
75 "-Wno-reorder",
76
77 # atlgdi.h doesn"t use braces around subobject initializers.
78 "-Wno-missing-braces",
79 ]
80 }
81 }
82
83 process_version("config_version") {
84 template_file = chrome_version_rc_template
85 sources = [
86 "cloud_print_service_config_exe.ver",
87 ]
88 output = "$target_gen_dir/cloud_print_service_config_version.rc"
89 }
90
91 executable("cloud_print_service_setup") {
92 sources = [
93 "installer.cc",
94 "installer.h",
95 ]
96
97 configs -= [ "//build/config/win:console" ]
98 configs += [ "//build/config/win:windowed" ]
99
100 deps = [
101 ":exe_manifest",
102 "//cloud_print/common:install_utils",
103 "//cloud_print/service:resources",
104 "//cloud_print/service:lib",
105 ]
106
107 libs = [ "secur32.lib" ]
108 }
OLDNEW
« no previous file with comments | « cloud_print/service/service.gyp ('k') | cloud_print/service/win/chrome_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698