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

Unified Diff: cloud_print/virtual_driver/posix/backend.gyp

Issue 7485011: Virtual Cloud Print Driver for Mac. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Style fixes. Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
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..7e4d6712aa3234a44156bbc2ed39cb9503b59bf8 100644
--- a/cloud_print/virtual_driver/posix/backend.gyp
+++ b/cloud_print/virtual_driver/posix/backend.gyp
@@ -4,22 +4,65 @@
{
'target_defaults': {
- 'include_dirs': [
- '../..'
- ],
+ 'variables': { 'chromium_code':1 },
},
- 'targets' : [
+ 'targets': [
{
'target_name': 'GCP-driver',
'type': 'executable',
'dependencies': [
'../../../base/base.gyp:base',
],
- 'sources' : [
- 'virtual_driver_posix.cc',
+ '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'],
+ 'xcode_framework_dirs': [
+ '/System/Library/Frameworks/ApplicationServices.framework',
+ ],
+ }],
+ ],
+ }],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'targets' : [
+ {
+ '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',
+ ],
+ },
+ ],
+ }],
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698