Use common code to set HttpNetworkSession::Param pointers.
[chromium-blink-merge.git] / remoting / remoting_version.gni
blobac96c9ebf377b038b8e9fecb4beda00be0d8218e
1 # Copyright 2014 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("//build/config/chrome_build.gni")
7 _version_py_abspath = "//build/util/version.py"
8 _remoting_version_abspath = "//remoting/VERSION"
9 if (is_chrome_branded) {
10   _remoting_branding_abspath = "//remoting/branding_Chrome"
11 } else {
12   _remoting_branding_abspath = "//remoting/branding_Chromium"
15 # Set these files as being input dependencies to the scripts, so the build will
16 # be re-run if the files change.
17 remoting_version_files = [
18   _remoting_version_abspath,
19   _remoting_branding_abspath,
22 _remoting_version_path = rebase_path(_remoting_version_abspath, root_build_dir)
23 _remoting_branding_path =
24     rebase_path(_remoting_branding_abspath, root_build_dir)
26 prefpane_bundle_name = exec_script(_version_py_abspath,
27                                    [
28                                      "-f",
29                                      _remoting_branding_path,
30                                      "-t \"@MAC_PREFPANE_BUNDLE_NAME@\"",
31                                    ],
32                                    "string",
33                                    remoting_version_files)
35 host_bundle_name = exec_script(_version_py_abspath,
36                                [
37                                  "-f",
38                                  _remoting_branding_path,
39                                  "-t \"@MAC_HOST_BUNDLE_NAME@\"",
40                                ],
41                                "string",
42                                remoting_version_files)