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

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: Fix minor lint issue. Created 9 years, 5 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..abe0c5a3790319ce4be95c4b6158849811848553 100644
--- a/cloud_print/virtual_driver/posix/backend.gyp
+++ b/cloud_print/virtual_driver/posix/backend.gyp
@@ -3,23 +3,82 @@
# found in the LICENSE file.
{
+ 'targets': [ ],
Nico 2011/08/04 20:53:12 is this needed? remove?
'target_defaults': {
- 'include_dirs': [
- '../..'
- ],
+ 'variables': { 'chromium_code':1},
Nico 2011/08/04 20:53:12 space in front of }
abeera 2011/08/04 21:53:35 Done.
},
- 'targets' : [
- {
- 'target_name': 'GCP-driver',
- 'type': 'executable',
- 'dependencies': [
- '../../../base/base.gyp:base',
+ 'conditions': [
+ ['OS=="linux"', {
+ 'target_defaults': {
+ 'include_dirs': [
+ '../..'
+ ],
+ },
+ 'targets' : [
Nico 2011/08/04 20:53:12 no space in front of :
+ {
+ 'target_name': 'GCP-driver',
+ 'type': 'executable',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ ],
+ 'sources' : [
+ 'virtual_driver_posix.cc',
+ 'printer_driver_util_linux.cc',
+ '../virtual_driver_switches.cc',
+ ]
+ },
+ ],
+ }],
+ ['OS=="mac"', {
+ 'targets' : [
+ {
+ 'target_name': 'GCP-driver',
Nico 2011/08/04 20:53:12 Looks like this is the same target on linux and ma
abeera 2011/08/04 21:53:35 Done.
+ 'type': 'executable',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ ],
+ 'msvs_guid': '8D06D53B-289E-4f99-99FC-77C77DB478A8',
Nico 2011/08/04 20:53:12 remove
abeera 2011/08/04 21:53:35 Done.
+ 'sources' : [
+ 'virtual_driver_posix.cc',
+ 'printer_driver_util_mac.mm',
+ ],
+ 'xcode_framework_dirs': [
+ '/System/Library/Frameworks/ApplicationServices.framework',
+ ],
+ },
+ {
+ 'target_name': 'GCP-install',
+ 'type': 'executable',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ ],
+ 'msvs_guid': 'FDFBFF64-ABFF-11E0-8D40-62244924019B',
+ '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',
+ ],
+ 'msvs_guid': '2762A1E6-AC00-11E0-B879-A7244924019B',
+ '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',
- ]
- },
- ],
+ }],
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698