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 |
index 7946960dbd2f5d9667143105ebb524c987f9f246..a530672a9fd18911f6112606cdc454ce41399b50 100644 |
--- a/cloud_print/gcp20/prototype/gcp20_device.gyp |
+++ b/cloud_print/gcp20/prototype/gcp20_device.gyp |
@@ -16,14 +16,33 @@ |
}, |
'targets': [ |
{ |
- 'target_name': 'gcp20_device', |
- 'type': 'executable', |
+ 'target_name': 'gcp20_device_lib', |
+ 'type': 'static_library', |
'dependencies': [ |
'<(DEPTH)/base/base.gyp:base', |
'<(DEPTH)/net/net.gyp:net', |
], |
'sources': [ |
+ 'dns_packet_parser.cc', |
+ 'dns_packet_parser.h', |
'dns_sd_server.cc', |
+ 'dns_sd_server.h', |
+ 'dns_txt_builder.cc', |
+ 'dns_txt_builder.h', |
+ 'gcp20_device.cc', |
+ 'printer.cc', |
+ 'printer.h', |
+ 'privet_dns_response_builder.cc', |
+ 'privet_dns_response_builder.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'gcp20_device', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'gcp20_device.gyp:gcp20_device_lib', |
+ ], |
+ 'sources': [ |
'gcp20_device.cc', |
], |
'msvs_settings': { |