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 'target_defaults': { | 6 'target_defaults': { |
7 'include_dirs': [ | 7 'variables': { 'chromium_code':1 }, |
8 '../..' | |
9 ], | |
10 'variables': { | |
11 'chromium_code': 1 | |
12 } | |
13 }, | 8 }, |
14 'targets' : [ | 9 'targets': [ |
15 { | 10 { |
16 'target_name': 'GCP-driver', | 11 'target_name': 'GCP-driver', |
17 'type': 'executable', | 12 'type': 'executable', |
18 'dependencies': [ | 13 'dependencies': [ |
19 '../../../base/base.gyp:base', | 14 '../../../base/base.gyp:base', |
20 ], | 15 ], |
21 'sources' : [ | 16 'sources': [ |
22 'virtual_driver_posix.cc', | |
23 'printer_driver_util_linux.cc', | 17 'printer_driver_util_linux.cc', |
24 'printer_driver_util_posix.h', | 18 'printer_driver_util_posix.h', |
| 19 'printer_driver_util_mac.mm', |
| 20 'virtual_driver_posix.cc', |
25 '../virtual_driver_switches.cc', | 21 '../virtual_driver_switches.cc', |
26 '../virtual_driver_switches.h', | 22 ], |
27 ] | 23 'conditions': [ |
28 }, | 24 ['OS=="mac"', { |
29 ], | 25 'sources!': ['../virtual_driver_switches.cc'], |
| 26 'libraries': ['ScriptingBridge.framework'], |
| 27 }], |
| 28 ], |
| 29 }], |
| 30 'conditions': [ |
| 31 ['OS=="mac"', { |
| 32 'targets' : [ |
| 33 { |
| 34 'target_name': 'GCP-install', |
| 35 'type': 'executable', |
| 36 'dependencies': [ |
| 37 '../../../base/base.gyp:base', |
| 38 ], |
| 39 'sources' : [ |
| 40 'install_cloud_print_driver_mac.mm', |
| 41 'installer_util_mac.h', |
| 42 'installer_util_mac.mm' |
| 43 ], |
| 44 }, |
| 45 { |
| 46 'target_name': 'GCP-uninstall', |
| 47 'type': 'executable', |
| 48 'dependencies': [ |
| 49 '../../../base/base.gyp:base', |
| 50 ], |
| 51 'sources' : [ |
| 52 'installer_util_mac.h', |
| 53 'installer_util_mac.mm', |
| 54 'uninstall_cloud_print_driver_mac.mm', |
| 55 ], |
| 56 }, |
| 57 ], |
| 58 }], |
| 59 ], |
30 } | 60 } |
OLD | NEW |