OLD | NEW |
| (Empty) |
1 // Copyright 2016 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. | |
4 | |
5 // This file is used to ensure that our C headers can be compiled as C++ with | |
6 // more stringent warnings, in particular with "-Wundef". | |
7 | |
8 // Include all the header files that are meant to be compilable as C. | |
9 #include <mojo/environment/async_waiter.h> | |
10 #include <mojo/environment/logger.h> | |
11 #include <mojo/macros.h> | |
12 #include <mojo/result.h> | |
13 #include <mojo/system/buffer.h> | |
14 #include <mojo/system/data_pipe.h> | |
15 #include <mojo/system/handle.h> | |
16 #include <mojo/system/main.h> | |
17 #include <mojo/system/message_pipe.h> | |
18 #include <mojo/system/time.h> | |
19 #include <mojo/system/wait.h> | |
20 #include <mojo/system/wait_set.h> | |
21 | |
22 // We don't actually want to test anything; we just want to make sure that this | |
23 // file is compiled/linked in (this function is called from core_unittest.cc). | |
24 const char* MinimalCppTest() { | |
25 return nullptr; | |
26 } | |
OLD | NEW |