Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: cloud_print/cloud_print.gyp

Issue 12745003: Switched to version generation with ver files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 'variables': {
6 'chromium_code': 1,
7
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 ],
5 'targets': [ 18 'targets': [
6 { 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',
bungeman-chromium 2013/03/18 15:52:30 This source would produce the version file, but it
46 'virtual_driver/win/gcp_portmon64_dll.ver',
47 'virtual_driver/win/gcp_portmon_dll.ver',
48 'virtual_driver/win/install/virtual_driver_setup_exe.ver',
49 ],
50 'includes': [
51 '../chrome/version_resource_rules.gypi',
52 ],
53 },
54 {
7 'target_name': 'cloud_print', 55 'target_name': 'cloud_print',
8 'type': 'none', 56 'type': 'none',
9 'dependencies': [ 57 'dependencies': [
10 'service/service.gyp:*', 58 'service/service.gyp:*',
11 ], 59 ],
12 'conditions': [ 60 'conditions': [
13 ['OS=="win"', { 61 ['OS=="win"', {
14 'dependencies': [ 62 'dependencies': [
15 'virtual_driver/win/install/virtual_driver_install.gyp:*', 63 'virtual_driver/win/install/virtual_driver_install.gyp:*',
16 'virtual_driver/win/virtual_driver.gyp:*', 64 'virtual_driver/win/virtual_driver.gyp:*',
(...skipping 26 matching lines...) Expand all
43 'virtual_driver/win/port_monitor/port_monitor_unittest.cc', 91 'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
44 ], 92 ],
45 'dependencies': [ 93 'dependencies': [
46 'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib', 94 'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
47 ], 95 ],
48 }], 96 }],
49 ], 97 ],
50 }, 98 },
51 ], 99 ],
52 } 100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698