OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { | 5 { |
6 'targets': [ | |
7 { | |
Nico
2011/08/04 22:04:38
Indent this whole block by 2
abeera
2011/08/08 17:10:48
Done.
| |
8 'target_name': 'GCP-driver', | |
9 'type': 'executable', | |
10 'dependencies': [ | |
11 '../../../base/base.gyp:base', | |
12 ], | |
13 'sources': [ | |
14 'printer_driver_util_linux.cc', | |
15 'printer_driver_util_posix.h', | |
16 'printer_driver_util_mac.mm', | |
17 'virtual_driver_posix.cc', | |
18 '../virtual_driver_switches.cc', | |
19 ], | |
20 'conditions': [ | |
21 ['OS=="mac"', { | |
22 'sources!': ['../virtual_driver_switches.cc'], | |
Nico
2011/08/04 22:04:38
dedent everything in here by 2
abeera
2011/08/08 17:10:48
Done.
| |
23 'xcode_framework_dirs': [ | |
24 '/System/Library/Frameworks/ApplicationServices.framework', | |
25 ], | |
26 }] | |
27 ] | |
Nico
2011/08/04 22:04:38
nit: we usually keep trailing commas on these (pre
abeera
2011/08/08 17:10:48
Done.
| |
28 }], | |
6 'target_defaults': { | 29 'target_defaults': { |
Nico
2011/08/04 22:04:38
this goes above 'targets'
abeera
2011/08/08 17:10:48
Done.
| |
7 'include_dirs': [ | 30 'variables': { 'chromium_code':1 }, |
8 '../..' | 31 }, |
32 'conditions': [ | |
33 ['OS=="mac"', { | |
34 'targets' : [ | |
35 { | |
Nico
2011/08/04 22:04:38
indent 1
abeera
2011/08/08 17:10:48
Done.
| |
36 'target_name': 'GCP-install', | |
37 'type': 'executable', | |
38 'dependencies': [ | |
39 '../../../base/base.gyp:base', | |
40 ], | |
41 'sources' : [ | |
42 'install_cloud_print_driver_mac.mm', | |
43 'installer_util_mac.h', | |
44 'installer_util_mac.mm' | |
45 ], | |
46 'xcode_framework_dirs': [ | |
47 '/System/Library/Frameworks/ApplicationServices.framework', | |
48 ], | |
49 }, | |
50 { | |
51 'target_name': 'GCP-uninstall', | |
52 'type': 'executable', | |
53 'dependencies': [ | |
54 '../../../base/base.gyp:base', | |
55 ], | |
56 'sources' : [ | |
57 'installer_util_mac.h', | |
58 'installer_util_mac.mm', | |
59 'uninstall_cloud_print_driver_mac.mm', | |
60 ], | |
61 'xcode_framework_dirs': [ | |
62 '/System/Library/Frameworks/ApplicationServices.framework', | |
63 ], | |
64 }, | |
65 ], | |
66 }], | |
9 ], | 67 ], |
10 }, | |
11 'targets' : [ | |
12 { | |
13 'target_name': 'GCP-driver', | |
14 'type': 'executable', | |
15 'dependencies': [ | |
16 '../../../base/base.gyp:base', | |
17 ], | |
18 'sources' : [ | |
19 'virtual_driver_posix.cc', | |
20 'printer_driver_util_linux.cc', | |
21 '../virtual_driver_switches.cc', | |
22 ] | |
23 }, | |
24 ], | |
25 } | 68 } |
OLD | NEW |