Index: cloud_print/gcp20/prototype/gcp20_device.gyp |
diff --git a/cloud_print/gcp20/prototype/gcp20_device.gyp b/cloud_print/gcp20/prototype/gcp20_device.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da997fd0fe951190aafc081a0a7e480bae97bf2b |
--- /dev/null |
+++ b/cloud_print/gcp20/prototype/gcp20_device.gyp |
@@ -0,0 +1,57 @@ |
+# Copyright 2013 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, |
+ 'enable_wexit_time_destructors': 1, |
+ }, |
+ 'include_dirs': [ |
+ '<(DEPTH)', |
+ # To allow including "version.h" |
+ '<(SHARED_INTERMEDIATE_DIR)', |
+ ], |
+ 'defines' : [ |
+ 'COMPILE_CONTENT_STATICALLY', |
+ 'SECURITY_WIN32', |
+ 'STRICT', |
+ '_ATL_APARTMENT_THREADED', |
+ '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', |
+ '_ATL_NO_COM_SUPPORT', |
+ '_ATL_NO_AUTOMATIC_NAMESPACE', |
+ '_ATL_NO_EXCEPTIONS', |
+ ], |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'gcp20_device', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '<(DEPTH)/base/base.gyp:base', |
+ '<(DEPTH)/base/base.gyp:base_static', |
+ '<(DEPTH)/net/net.gyp:net', |
+ '<(DEPTH)/googleurl/googleurl.gyp:googleurl', |
+ '<(DEPTH)/net/net.gyp:http_server', |
+ '<(DEPTH)/google_apis/google_apis.gyp:google_apis', |
+ '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
+ ], |
+ 'sources': [ |
+ 'dns_sd.cc', |
+ 'gcp20_device.cc', |
+ ], |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
+ 'UACExecutionLevel': '2', # /level='requireAdministrator' |
+ 'AdditionalDependencies': [ |
+ 'secur32.lib', |
+ 'httpapi.lib', |
+ 'Ws2_32.lib', |
+ ], |
+ }, |
+ }, |
+ }, |
+ ], |
+} |