summaryrefslogtreecommitdiffstats
path: root/cloud_print/service/win/service.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_print/service/win/service.gyp')
-rw-r--r--cloud_print/service/win/service.gyp30
1 files changed, 29 insertions, 1 deletions
diff --git a/cloud_print/service/win/service.gyp b/cloud_print/service/win/service.gyp
index a982c4b..83fe58c 100644
--- a/cloud_print/service/win/service.gyp
+++ b/cloud_print/service/win/service.gyp
@@ -12,6 +12,19 @@
},
'targets': [
{
+ 'target_name': 'cloud_print_service_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ '../../../net/net.gyp:net',
+ '../../../build/temp_gyp/googleurl.gyp:googleurl',
+ ],
+ 'sources': [
+ 'service_state.cc',
+ 'service_state.h',
+ ]
+ },
+ {
'target_name': 'cloud_print_service',
'type': 'executable',
'sources': [
@@ -21,7 +34,7 @@
'resource.h',
],
'dependencies': [
- '../../../base/base.gyp:base',
+ 'cloud_print_service_lib'
],
'msvs_settings': {
'VCLinkerTool': {
@@ -30,5 +43,20 @@
},
},
},
+ {
+ 'target_name': 'cloud_print_service_unittests',
+ 'type': 'executable',
+ 'sources': [
+ 'service_state_unittest.cc',
+ ],
+ 'dependencies': [
+ '../../../base/base.gyp:run_all_unittests',
+ '../../../base/base.gyp:base',
+ '../../../base/base.gyp:test_support_base',
+ '../../../testing/gmock.gyp:gmock',
+ '../../../testing/gtest.gyp:gtest',
+ 'cloud_print_service_lib',
+ ],
+ },
],
}