1 # Copyright (c) 2012 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',
60 'service/service.gyp:*',
65 'virtual_driver/win/install/virtual_driver_install.gyp:*',
66 'virtual_driver/win/virtual_driver.gyp:*',
69 ['OS=="win" and target_arch=="ia32"', {
71 'virtual_driver/win/virtual_driver64.gyp:*',
77 'target_name': 'cloud_print_unittests',
80 'service/service_state_unittest.cc',
83 '<(DEPTH)/base/base.gyp:base',
84 '<(DEPTH)/base/base.gyp:run_all_unittests',
85 '<(DEPTH)/base/base.gyp:test_support_base',
86 '<(DEPTH)/testing/gmock.gyp:gmock',
87 '<(DEPTH)/testing/gtest.gyp:gtest',
88 'service/service.gyp:cloud_print_service_lib',
93 'service/win/service_ipc_unittest.cc',
94 'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
97 'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
103 'AdditionalDependencies': [