Index: cloud_print/virtual_driver/posix/backend.gyp |
diff --git a/cloud_print/virtual_driver/posix/backend.gyp b/cloud_print/virtual_driver/posix/backend.gyp |
index 6e890127bd9c8a343be541536a8ec1a853582a2e..3d0c898ca1f2768ed8420f435dac97156e7a56f8 100644 |
--- a/cloud_print/virtual_driver/posix/backend.gyp |
+++ b/cloud_print/virtual_driver/posix/backend.gyp |
@@ -3,23 +3,66 @@ |
# found in the LICENSE file. |
{ |
- 'target_defaults': { |
- 'include_dirs': [ |
- '../..' |
+ 'targets': [ |
+ { |
Nico
2011/08/04 22:04:38
Indent this whole block by 2
abeera
2011/08/08 17:10:48
Done.
|
+ 'target_name': 'GCP-driver', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../../../base/base.gyp:base', |
+ ], |
+ 'sources': [ |
+ 'printer_driver_util_linux.cc', |
+ 'printer_driver_util_posix.h', |
+ 'printer_driver_util_mac.mm', |
+ 'virtual_driver_posix.cc', |
+ '../virtual_driver_switches.cc', |
], |
+ 'conditions': [ |
+ ['OS=="mac"', { |
+ '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.
|
+ 'xcode_framework_dirs': [ |
+ '/System/Library/Frameworks/ApplicationServices.framework', |
+ ], |
+ }] |
+ ] |
Nico
2011/08/04 22:04:38
nit: we usually keep trailing commas on these (pre
abeera
2011/08/08 17:10:48
Done.
|
+ }], |
+ 'target_defaults': { |
Nico
2011/08/04 22:04:38
this goes above 'targets'
abeera
2011/08/08 17:10:48
Done.
|
+ 'variables': { 'chromium_code':1 }, |
}, |
- 'targets' : [ |
- { |
- 'target_name': 'GCP-driver', |
- 'type': 'executable', |
- 'dependencies': [ |
- '../../../base/base.gyp:base', |
+ 'conditions': [ |
+ ['OS=="mac"', { |
+ 'targets' : [ |
+ { |
Nico
2011/08/04 22:04:38
indent 1
abeera
2011/08/08 17:10:48
Done.
|
+ 'target_name': 'GCP-install', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../../../base/base.gyp:base', |
+ ], |
+ 'sources' : [ |
+ 'install_cloud_print_driver_mac.mm', |
+ 'installer_util_mac.h', |
+ 'installer_util_mac.mm' |
+ ], |
+ 'xcode_framework_dirs': [ |
+ '/System/Library/Frameworks/ApplicationServices.framework', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'GCP-uninstall', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../../../base/base.gyp:base', |
+ ], |
+ 'sources' : [ |
+ 'installer_util_mac.h', |
+ 'installer_util_mac.mm', |
+ 'uninstall_cloud_print_driver_mac.mm', |
+ ], |
+ 'xcode_framework_dirs': [ |
+ '/System/Library/Frameworks/ApplicationServices.framework', |
+ ], |
+ }, |
], |
- 'sources' : [ |
- 'virtual_driver_posix.cc', |
- 'printer_driver_util_linux.cc', |
- '../virtual_driver_switches.cc', |
- ] |
- }, |
- ], |
+ }], |
+ ], |
} |