| # Copyright 2018 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. |
| |
| assert(is_win) |
| |
| import("//chrome/process_version_rc_template.gni") |
| |
| process_version_rc_template("chrome_proxy_version") { |
| sources = [ "chrome_proxy.ver" ] |
| output = "$target_gen_dir/chrome_proxy_version.rc" |
| } |
| |
| executable("chrome_proxy") { |
| deps = [ |
| ":chrome_proxy_version", |
| "//base", |
| "//chrome/app/version_assembly:chrome_exe_manifest", |
| ] |
| |
| data_deps = [ "//chrome/app/version_assembly:version_assembly_manifest" ] |
| |
| sources = [ "chrome_proxy_main_win.cc" ] |
| |
| configs -= [ "//build/config/win:console" ] |
| configs += [ "//build/config/win:windowed" ] |
| } |