Add layer tree settings flag for pinch virtual viewport.
[chromium-blink-merge.git] / cloud_print / cloud_print.gyp
blobccf81a58f09638a8dacd1f930182f3f07ef55c21
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.
5   'variables': {
6     'chromium_code': 1,
8     'variables': {
9       'version_py_path': '../tools/build/version.py',
10       'version_path': 'VERSION',
11     },
12     'version_py_path': '<(version_py_path) -f',
13     'version_path': '<(version_path)',
14   },
15   'includes': [
16     '../chrome/version.gypi',
17   ],
18   'targets': [
19     {
20       'target_name': 'cloud_print_version_resources',
21       'type': 'none',
22       'conditions': [
23         ['branding == "Chrome"', {
24           'variables': {
25              'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING',
26           },
27         }, { # else branding!="Chrome"
28           'variables': {
29              'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING',
30           },
31         }],
32       ],
33       'variables': {
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
38       },
39       'direct_dependent_settings': {
40         'include_dirs': [
41           '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
42         ],
43       },
44       'sources': [
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',
51       ],
52       'includes': [
53         '../chrome/version_resource_rules.gypi',
54       ],
55     },
56     {
57       'target_name': 'cloud_print',
58       'type': 'none',
59       'dependencies': [
60         'service/service.gyp:*',
61       ],
62       'conditions': [
63         ['OS=="win"', {
64           'dependencies': [
65             'virtual_driver/win/install/virtual_driver_install.gyp:*',
66             'virtual_driver/win/virtual_driver.gyp:*',
67           ],
68         }],
69         ['OS=="win" and target_arch=="ia32"', {
70           'dependencies': [
71             'virtual_driver/win/virtual_driver64.gyp:*',
72           ],
73         }],
74       ],
75     },
76     {
77       'target_name': 'cloud_print_unittests',
78       'type': 'executable',
79       'sources': [
80         'service/service_state_unittest.cc',
81       ],
82       'dependencies': [
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',
89       ],
90       'conditions': [
91         ['OS=="win"', {
92           'sources': [
93             'service/win/service_ipc_unittest.cc',
94             'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
95           ],
96           'dependencies': [
97             'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
98           ],
99         }],
100       ],
101       'msvs_settings': {
102         'VCLinkerTool': {
103           'AdditionalDependencies': [
104               'secur32.lib',
105           ],
106         },
107       },
108     },
109   ],