OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 "platform/globals.h" | 5 #include "platform/globals.h" |
6 #if defined(TARGET_OS_ANDROID) | 6 #if defined(HOST_OS_ANDROID) |
7 | 7 |
8 #include "vm/native_symbol.h" | 8 #include "vm/native_symbol.h" |
9 | 9 |
10 #include <dlfcn.h> // NOLINT | 10 #include <dlfcn.h> // NOLINT |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 void NativeSymbolResolver::InitOnce() {} | 14 void NativeSymbolResolver::InitOnce() {} |
15 | 15 |
16 | 16 |
(...skipping 16 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 | 35 |
36 void NativeSymbolResolver::FreeSymbolName(char* name) { | 36 void NativeSymbolResolver::FreeSymbolName(char* name) { |
37 free(name); | 37 free(name); |
38 } | 38 } |
39 | 39 |
40 | 40 |
41 } // namespace dart | 41 } // namespace dart |
42 | 42 |
43 #endif // defined(TARGET_OS_ANDROID) | 43 #endif // defined(HOST_OS_ANDROID) |
OLD | NEW |