OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # The |major|, |build| and |patch| versions are inherited from Chrome. | 7 # The |major|, |build| and |patch| versions are inherited from Chrome. |
8 # Since Chrome's |minor| version is always '0', we replace it with a | 8 # Since Chrome's |minor| version is always '0', we replace it with a |
9 # Chromoting-specific patch version. | 9 # Chromoting-specific patch version. |
10 # Note that we check both the |chrome_version_path| file and the | 10 # Note that we check both the |chrome_version_path| file and the |
11 # |remoting_version_path| so that we can override the Chrome version | 11 # |remoting_version_path| so that we can override the Chrome version |
12 # numbers if needed. | 12 # numbers if needed. |
13 'version_py_path': '../chrome/tools/build/version.py', | 13 'version_py_path': '../build/util/version.py', |
14 'remoting_version_path': '../remoting/VERSION', | 14 'remoting_version_path': '../remoting/VERSION', |
15 'chrome_version_path': '../chrome/VERSION', | 15 'chrome_version_path': '../chrome/VERSION', |
16 'version_major': | 16 'version_major': |
17 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@MAJOR@")', | 17 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@MAJOR@")', |
18 'version_minor': | 18 'version_minor': |
19 '<!(python <(version_py_path) -f <(remoting_version_path) -t "@REMOTING_PA
TCH@")', | 19 '<!(python <(version_py_path) -f <(remoting_version_path) -t "@REMOTING_PA
TCH@")', |
20 'version_short': | 20 'version_short': |
21 '<(version_major).<(version_minor).' | 21 '<(version_major).<(version_minor).' |
22 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@BUILD@")', | 22 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@BUILD@")', |
23 'version_full': | 23 'version_full': |
24 '<(version_short).' | 24 '<(version_short).' |
25 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@PATCH@")', | 25 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers
ion_path) -t "@PATCH@")', |
26 }, | 26 }, |
27 } | 27 } |
OLD | NEW |