Hide X11 dependencies when use_x11=0.
[chromium-blink-merge.git] / ui / compositor / run_all_unittests.cc
blobdf9bb6826b09e7dcdd2d261601beda19860b4439
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "ui/compositor/test/test_suite.h"
9 int main(int argc, char** argv) {
10 ui::test::CompositorTestSuite test_suite(argc, argv);
12 return base::LaunchUnitTests(
13 argc, argv, base::Bind(&ui::test::CompositorTestSuite::Run,
14 base::Unretained(&test_suite)));