1 # Copyright 2013 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.
9 'version_py_path': '../tools/build/version.py',
10 'version_path': 'VERSION',
12 'version_py_path': '<(version_py_path) -f',
13 'version_path': '<(version_path)',
16 '../chrome/version.gypi',
20 'target_name': 'cloud_print_version_resources',
23 ['branding == "Chrome"', {
25 'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING',
27 }, { # else branding!="Chrome"
29 'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING',
34 'output_dir': 'cloud_print',
35 'template_input_path': '../chrome/app/chrome_version.rc.version',
36 'extra_variable_files_arguments': [ '-f', 'BRANDING' ],
37 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above
39 'direct_dependent_settings': {
41 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
45 'service/win/cloud_print_service_exe.ver',
46 'service/win/cloud_print_service_config_exe.ver',
47 'service/win/cloud_print_service_setup_exe.ver',
48 'virtual_driver/win/gcp_portmon64_dll.ver',
49 'virtual_driver/win/gcp_portmon_dll.ver',
50 'virtual_driver/win/install/virtual_driver_setup_exe.ver',
53 '../chrome/version_resource_rules.gypi',
57 'target_name': 'cloud_print_version_header',
60 ['branding == "Chrome"', {
62 'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING',
64 }, { # else branding!="Chrome"
66 'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING',
73 'action_name': 'version_header',
75 'output_dir': 'cloud_print',
77 '<(DEPTH)/build/util/LASTCHANGE',
79 'direct_dependent_settings': {
81 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
88 '<(DEPTH)/chrome/version.h.in',
92 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)/version.h',
97 '-f', '<(version_path)',
98 '-f', '<(branding_path)',
99 '-f', '<(lastchange_path)',
101 '<(DEPTH)/chrome/version.h.in',
104 'message': 'Generating version header file: <@(_outputs)',