summaryrefslogtreecommitdiffstats
path: root/cloud_print/service
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 02:42:07 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 02:42:07 +0000
commite1a31ac75aa84f07134de78fc0cec6a49added50 (patch)
treee3a3289a65448e8b90244f299340b5b7721d019f /cloud_print/service
parent2e2392b161702bd41f3a0058afd3786a912dfd3b (diff)
downloadchromium_src-e1a31ac75aa84f07134de78fc0cec6a49added50.zip
chromium_src-e1a31ac75aa84f07134de78fc0cec6a49added50.tar.gz
chromium_src-e1a31ac75aa84f07134de78fc0cec6a49added50.tar.bz2
Single binary for unittests.
Root solution for src/cloud_print. Build cloud_print_unittests on bots. Added virtual_driver_lib with shared files. Moved service_state out of win dir as platform independent. BUG=131058 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10505010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/service')
-rw-r--r--cloud_print/service/DEPS (renamed from cloud_print/service/win/DEPS)0
-rw-r--r--cloud_print/service/service.gyp (renamed from cloud_print/service/win/service.gyp)35
-rw-r--r--cloud_print/service/service_state.cc (renamed from cloud_print/service/win/service_state.cc)2
-rw-r--r--cloud_print/service/service_state.h (renamed from cloud_print/service/win/service_state.h)0
-rw-r--r--cloud_print/service/service_state_unittest.cc (renamed from cloud_print/service/win/service_state_unittest.cc)2
-rw-r--r--cloud_print/service/service_switches.cc (renamed from cloud_print/service/win/service_switches.cc)2
-rw-r--r--cloud_print/service/service_switches.h (renamed from cloud_print/service/win/service_switches.h)0
-rw-r--r--cloud_print/service/win/chrome_launcher.cc2
-rw-r--r--cloud_print/service/win/cloud_print_service.cc4
9 files changed, 16 insertions, 31 deletions
diff --git a/cloud_print/service/win/DEPS b/cloud_print/service/DEPS
index 8fa9d48..8fa9d48 100644
--- a/cloud_print/service/win/DEPS
+++ b/cloud_print/service/DEPS
diff --git a/cloud_print/service/win/service.gyp b/cloud_print/service/service.gyp
index b365e83..096e0d8 100644
--- a/cloud_print/service/win/service.gyp
+++ b/cloud_print/service/service.gyp
@@ -7,7 +7,7 @@
'chromium_code': 1,
},
'include_dirs': [
- '../../..',
+ '<(DEPTH)',
],
},
'targets': [
@@ -15,27 +15,27 @@
'target_name': 'cloud_print_service_lib',
'type': 'static_library',
'dependencies': [
- '../../../base/base.gyp:base',
- '../../../build/temp_gyp/googleurl.gyp:googleurl',
- '../../../net/net.gyp:net',
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
+ '<(DEPTH)/net/net.gyp:net',
],
'sources': [
- 'chrome_launcher.cc',
- 'chrome_launcher.h',
'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': [
- 'cloud_print_service.cc',
- 'cloud_print_service.h',
- 'cloud_print_service.rc',
- 'resource.h',
+ 'win/cloud_print_service.cc',
+ 'win/cloud_print_service.h',
+ 'win/cloud_print_service.rc',
+ 'win/resource.h',
],
'dependencies': [
'cloud_print_service_lib',
@@ -47,20 +47,5 @@
},
},
},
- {
- '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',
- ],
- },
],
}
diff --git a/cloud_print/service/win/service_state.cc b/cloud_print/service/service_state.cc
index 8641000..545210d 100644
--- a/cloud_print/service/win/service_state.cc
+++ b/cloud_print/service/service_state.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cloud_print/service/win/service_state.h"
+#include "cloud_print/service/service_state.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
diff --git a/cloud_print/service/win/service_state.h b/cloud_print/service/service_state.h
index ef037bb..ef037bb 100644
--- a/cloud_print/service/win/service_state.h
+++ b/cloud_print/service/service_state.h
diff --git a/cloud_print/service/win/service_state_unittest.cc b/cloud_print/service/service_state_unittest.cc
index 00c651e..4e5d2d0 100644
--- a/cloud_print/service/win/service_state_unittest.cc
+++ b/cloud_print/service/service_state_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cloud_print/service/win/service_state.h"
+#include "cloud_print/service/service_state.h"
#include "base/string_util.h"
#include "testing/gmock/include/gmock/gmock.h"
diff --git a/cloud_print/service/win/service_switches.cc b/cloud_print/service/service_switches.cc
index 296eae0..a03c89c 100644
--- a/cloud_print/service/win/service_switches.cc
+++ b/cloud_print/service/service_switches.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cloud_print/service/win/service_switches.h"
+#include "cloud_print/service/service_switches.h"
const char kChromeTypeSwitch[] = "type";
const char kConsoleSwitch[] = "console";
diff --git a/cloud_print/service/win/service_switches.h b/cloud_print/service/service_switches.h
index 17af981..17af981 100644
--- a/cloud_print/service/win/service_switches.h
+++ b/cloud_print/service/service_switches.h
diff --git a/cloud_print/service/win/chrome_launcher.cc b/cloud_print/service/win/chrome_launcher.cc
index 8b984f0..5921fd0 100644
--- a/cloud_print/service/win/chrome_launcher.cc
+++ b/cloud_print/service/win/chrome_launcher.cc
@@ -12,7 +12,7 @@
#include "base/win/registry.h"
#include "base/win/scoped_handle.h"
#include "base/win/scoped_process_information.h"
-#include "cloud_print/service/win/service_switches.h"
+#include "cloud_print/service/service_switches.h"
namespace {
diff --git a/cloud_print/service/win/cloud_print_service.cc b/cloud_print/service/win/cloud_print_service.cc
index c0948c4..f87c2888 100644
--- a/cloud_print/service/win/cloud_print_service.cc
+++ b/cloud_print/service/win/cloud_print_service.cc
@@ -15,10 +15,10 @@
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/win/scoped_handle.h"
+#include "cloud_print/service/service_state.h"
+#include "cloud_print/service/service_switches.h"
#include "cloud_print/service/win/chrome_launcher.h"
#include "cloud_print/service/win/resource.h"
-#include "cloud_print/service/win/service_state.h"
-#include "cloud_print/service/win/service_switches.h"
namespace {