OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
6 #if defined(TARGET_OS_ANDROID) | 6 #if defined(HOST_OS_ANDROID) |
7 | 7 |
8 #include "vm/os.h" | 8 #include "vm/os.h" |
9 | 9 |
10 #include <android/log.h> // NOLINT | 10 #include <android/log.h> // NOLINT |
11 #include <endian.h> // NOLINT | 11 #include <endian.h> // NOLINT |
12 #include <errno.h> // NOLINT | 12 #include <errno.h> // NOLINT |
13 #include <limits.h> // NOLINT | 13 #include <limits.h> // NOLINT |
14 #include <malloc.h> // NOLINT | 14 #include <malloc.h> // NOLINT |
15 #include <time.h> // NOLINT | 15 #include <time.h> // NOLINT |
16 #include <sys/resource.h> // NOLINT | 16 #include <sys/resource.h> // NOLINT |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 abort(); | 443 abort(); |
444 } | 444 } |
445 | 445 |
446 | 446 |
447 void OS::Exit(int code) { | 447 void OS::Exit(int code) { |
448 exit(code); | 448 exit(code); |
449 } | 449 } |
450 | 450 |
451 } // namespace dart | 451 } // namespace dart |
452 | 452 |
453 #endif // defined(TARGET_OS_ANDROID) | 453 #endif // defined(HOST_OS_ANDROID) |
OLD | NEW |