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:*',
61 'gcp20/prototype/gcp20_device.gyp:*',
66 'virtual_driver/win/install/virtual_driver_install.gyp:*',
67 'virtual_driver/win/virtual_driver.gyp:*',
70 ['OS=="win" and target_arch=="ia32"', {
72 'virtual_driver/win/virtual_driver64.gyp:*',
78 'target_name': 'cloud_print_unittests',
81 'service/service_state_unittest.cc',
84 '<(DEPTH)/base/base.gyp:base',
85 '<(DEPTH)/base/base.gyp:run_all_unittests',
86 '<(DEPTH)/base/base.gyp:test_support_base',
87 '<(DEPTH)/testing/gmock.gyp:gmock',
88 '<(DEPTH)/testing/gtest.gyp:gtest',
89 'service/service.gyp:cloud_print_service_lib',
94 'service/win/service_ipc_unittest.cc',
95 'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
98 'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
101 # See http://crbug.com/162998#c4 for why this is needed.
102 ['OS=="linux" and linux_use_tcmalloc==1', {
104 '../base/allocator/allocator.gyp:allocator',
110 'AdditionalDependencies': [