summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
Diffstat (limited to 'printing')
-rw-r--r--printing/printing.gyp3
-rw-r--r--printing/run_all_unittests.cc9
2 files changed, 1 insertions, 11 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 890e5bf..8834611 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -242,6 +242,7 @@
'dependencies': [
'printing',
'../testing/gtest.gyp:gtest',
+ '../base/base.gyp:run_all_unittests',
'../base/base.gyp:test_support_base',
'../ui/ui.gyp:ui',
],
@@ -254,14 +255,12 @@
'page_setup_unittest.cc',
'pdf_metafile_cg_mac_unittest.cc',
'printed_page_unittest.cc',
- 'run_all_unittests.cc',
'units_unittest.cc',
],
'conditions': [
['enable_printing==0', {
'sources/': [
['exclude', '.'],
- ['include', 'run_all_unittests.cc'],
],
}],
['toolkit_uses_gtk == 0', {'sources/': [['exclude', '_gtk_unittest\\.cc$']]}],
diff --git a/printing/run_all_unittests.cc b/printing/run_all_unittests.cc
deleted file mode 100644
index b715a328b..0000000
--- a/printing/run_all_unittests.cc
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (c) 2006-2008 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.
-
-#include "base/test/test_suite.h"
-
-int main(int argc, char** argv) {
- return base::TestSuite(argc, argv).Run();
-}