summaryrefslogtreecommitdiffstats
path: root/cloud_print/service/service.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_print/service/service.gyp')
-rw-r--r--cloud_print/service/service.gyp51
1 files changed, 51 insertions, 0 deletions
diff --git a/cloud_print/service/service.gyp b/cloud_print/service/service.gyp
new file mode 100644
index 0000000..096e0d8
--- /dev/null
+++ b/cloud_print/service/service.gyp
@@ -0,0 +1,51 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+{
+ 'target_defaults': {
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'include_dirs': [
+ '<(DEPTH)',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'cloud_print_service_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
+ '<(DEPTH)/net/net.gyp:net',
+ ],
+ 'sources': [
+ 'service_state.cc',
+ 'service_state.h',
+ 'service_switches.cc',
+ 'service_switches.h',
+ 'win/chrome_launcher.cc',
+ 'win/chrome_launcher.h',
+ ]
+ },
+ {
+ 'target_name': 'cloud_print_service',
+ 'type': 'executable',
+ 'sources': [
+ 'win/cloud_print_service.cc',
+ 'win/cloud_print_service.h',
+ 'win/cloud_print_service.rc',
+ 'win/resource.h',
+ ],
+ 'dependencies': [
+ 'cloud_print_service_lib',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
+ 'UACExecutionLevel': '2', # /level='requireAdministrator'
+ },
+ },
+ },
+ ],
+}