| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/win/manifest.gni") | 5 import("//build/config/win/manifest.gni") |
| 6 import("//chrome/version.gni") | 6 import("//chrome/version.gni") |
| 7 | 7 |
| 8 assert(is_win) | 8 assert(is_win) |
| 9 | 9 |
| 10 executable("cloud_print_service") { | 10 executable("cloud_print_service") { |
| 11 sources = [ | 11 sources = [ |
| 12 "cloud_print_service.cc", | 12 "cloud_print_service.cc", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 configs += [ | 15 configs += [ |
| 16 "//build/config/compiler:wexit_time_destructors", | 16 "//build/config/compiler:wexit_time_destructors", |
| 17 "//cloud_print/service:internal_config", | 17 "//cloud_print/service:internal_config", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 ":exe_manifest", | 21 ":exe_manifest", |
| 22 ":exe_version", | 22 ":exe_version", |
| 23 "//base", |
| 24 "//chrome/common:constants", |
| 25 "//cloud_print/common", |
| 23 "//cloud_print/service:lib", | 26 "//cloud_print/service:lib", |
| 24 "//cloud_print/service:resources", | 27 "//cloud_print/service:resources", |
| 28 "//content/public/common:static_switches", |
| 25 ] | 29 ] |
| 26 | 30 |
| 27 libs = [ "secur32.lib" ] | 31 libs = [ "secur32.lib" ] |
| 28 } | 32 } |
| 29 | 33 |
| 30 windows_manifest("exe_manifest") { | 34 windows_manifest("exe_manifest") { |
| 31 sources = [ | 35 sources = [ |
| 32 common_controls_manifest, | 36 common_controls_manifest, |
| 33 default_compatibility_manifest, | 37 default_compatibility_manifest, |
| 34 require_administrator_manifest, | 38 require_administrator_manifest, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 75 |
| 72 configs -= [ "//build/config/win:console" ] | 76 configs -= [ "//build/config/win:console" ] |
| 73 configs += [ | 77 configs += [ |
| 74 "//build/config/win:windowed", | 78 "//build/config/win:windowed", |
| 75 ":cloud_print_service_config_warnings", | 79 ":cloud_print_service_config_warnings", |
| 76 ] | 80 ] |
| 77 | 81 |
| 78 deps = [ | 82 deps = [ |
| 79 ":config_version", | 83 ":config_version", |
| 80 ":exe_manifest", | 84 ":exe_manifest", |
| 85 "//base", |
| 86 "//chrome/common:constants", |
| 87 "//cloud_print/common", |
| 81 "//cloud_print/common:install_utils", | 88 "//cloud_print/common:install_utils", |
| 82 "//cloud_print/service:lib", | 89 "//cloud_print/service:lib", |
| 83 "//cloud_print/service:resources", | 90 "//cloud_print/service:resources", |
| 84 ] | 91 ] |
| 85 | 92 |
| 86 libs = [ "secur32.lib" ] | 93 libs = [ "secur32.lib" ] |
| 87 } | 94 } |
| 88 | 95 |
| 89 process_version("config_version") { | 96 process_version("config_version") { |
| 90 template_file = chrome_version_rc_template | 97 template_file = chrome_version_rc_template |
| 91 sources = [ | 98 sources = [ |
| 92 "cloud_print_service_config_exe.ver", | 99 "cloud_print_service_config_exe.ver", |
| 93 ] | 100 ] |
| 94 output = "$target_gen_dir/cloud_print_service_config_version.rc" | 101 output = "$target_gen_dir/cloud_print_service_config_version.rc" |
| 95 } | 102 } |
| 96 | 103 |
| 97 executable("cloud_print_service_setup") { | 104 executable("cloud_print_service_setup") { |
| 98 sources = [ | 105 sources = [ |
| 99 "installer.cc", | 106 "installer.cc", |
| 100 "installer.h", | 107 "installer.h", |
| 101 ] | 108 ] |
| 102 | 109 |
| 103 configs -= [ "//build/config/win:console" ] | 110 configs -= [ "//build/config/win:console" ] |
| 104 configs += [ "//build/config/win:windowed" ] | 111 configs += [ "//build/config/win:windowed" ] |
| 105 | 112 |
| 106 deps = [ | 113 deps = [ |
| 107 ":exe_manifest", | 114 ":exe_manifest", |
| 115 "//base", |
| 116 "//cloud_print/common", |
| 108 "//cloud_print/common:install_utils", | 117 "//cloud_print/common:install_utils", |
| 109 "//cloud_print/service:lib", | 118 "//cloud_print/service:lib", |
| 110 "//cloud_print/service:resources", | 119 "//cloud_print/service:resources", |
| 111 ] | 120 ] |
| 112 | 121 |
| 113 libs = [ "secur32.lib" ] | 122 libs = [ "secur32.lib" ] |
| 114 } | 123 } |
| OLD | NEW |