| Index: runtime/bin/socket_fuchsia.h
|
| diff --git a/tests/compiler/dart2js/serialization/analysis2_test.dart b/runtime/bin/socket_fuchsia.h
|
| similarity index 53%
|
| copy from tests/compiler/dart2js/serialization/analysis2_test.dart
|
| copy to runtime/bin/socket_fuchsia.h
|
| index b13a6a366532d50714c23712dc1c2e4b66fdd4e3..82f891681d0de52acb1c917f8b8e12b933480c23 100644
|
| --- a/tests/compiler/dart2js/serialization/analysis2_test.dart
|
| +++ b/runtime/bin/socket_fuchsia.h
|
| @@ -2,11 +2,11 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -library dart2js.serialization.analysis2_test;
|
| +#ifndef BIN_SOCKET_FUCHSIA_H_
|
| +#define BIN_SOCKET_FUCHSIA_H_
|
|
|
| -import 'analysis_test_helper.dart' as test;
|
| -import 'test_data.dart';
|
| +#if !defined(BIN_SOCKET_H_)
|
| +#error Do not include socket_fuchsia.h directly. Use socket.h.
|
| +#endif
|
|
|
| -main() {
|
| - test.main(['${TESTS.length ~/ 2}']);
|
| -}
|
| +#endif // BIN_SOCKET_FUCHSIA_H_
|
|
|