| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'target_defaults': { | 5 'target_defaults': { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'include_dirs': [ | 9 'include_dirs': [ |
| 10 '<(DEPTH)', | 10 '<(DEPTH)', |
| 11 ], | 11 ], |
| 12 }, | 12 }, |
| 13 'targets': [ | 13 'targets': [ |
| 14 { | 14 { |
| 15 'target_name': 'cloud_print_service_lib', | 15 'target_name': 'cloud_print_service_lib', |
| 16 'type': 'static_library', | 16 'type': 'static_library', |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 '<(DEPTH)/base/base.gyp:base', | 18 '<(DEPTH)/base/base.gyp:base', |
| 19 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 19 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 20 '<(DEPTH)/net/net.gyp:net', | 20 '<(DEPTH)/net/net.gyp:net', |
| 21 ], | 21 ], |
| 22 'sources': [ | 22 'sources': [ |
| 23 'service_state.cc', | 23 'service_state.cc', |
| 24 'service_state.h', | 24 'service_state.h', |
| 25 'service_switches.cc', | 25 'service_switches.cc', |
| 26 'service_switches.h', | 26 'service_switches.h', |
| 27 'win/chrome_launcher.cc', | 27 'win/chrome_launcher.cc', |
| 28 'win/chrome_launcher.h', | 28 'win/chrome_launcher.h', |
| 29 ] | 29 ], |
| 30 'conditions': [ |
| 31 ['OS=="win"', { |
| 32 'dependencies': [ |
| 33 '<(DEPTH)/chrome/chrome.gyp:launcher_support', |
| 34 ], |
| 35 }], |
| 36 ], |
| 30 }, | 37 }, |
| 31 { | 38 { |
| 32 'target_name': 'cloud_print_service', | 39 'target_name': 'cloud_print_service', |
| 33 'type': 'executable', | 40 'type': 'executable', |
| 34 'sources': [ | 41 'sources': [ |
| 35 'win/cloud_print_service.cc', | 42 'win/cloud_print_service.cc', |
| 36 'win/cloud_print_service.h', | 43 'win/cloud_print_service.h', |
| 37 'win/cloud_print_service.rc', | 44 'win/cloud_print_service.rc', |
| 38 'win/resource.h', | 45 'win/resource.h', |
| 39 ], | 46 ], |
| 40 'dependencies': [ | 47 'dependencies': [ |
| 41 'cloud_print_service_lib', | 48 'cloud_print_service_lib', |
| 42 ], | 49 ], |
| 43 'msvs_settings': { | 50 'msvs_settings': { |
| 44 'VCLinkerTool': { | 51 'VCLinkerTool': { |
| 45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 52 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 46 'UACExecutionLevel': '2', # /level='requireAdministrator' | 53 'UACExecutionLevel': '2', # /level='requireAdministrator' |
| 47 }, | 54 }, |
| 48 }, | 55 }, |
| 49 }, | 56 }, |
| 50 ], | 57 ], |
| 51 } | 58 } |
| OLD | NEW |