| Index: runtime/embedders/android/log.h
|
| diff --git a/samples/android_sample/jni/log.h b/runtime/embedders/android/log.h
|
| similarity index 71%
|
| rename from samples/android_sample/jni/log.h
|
| rename to runtime/embedders/android/log.h
|
| index 474c62f2b89207758f7abaa631875b584304b945..5ca638f59fb8b757869c9934fac8bd86551129a5 100644
|
| --- a/samples/android_sample/jni/log.h
|
| +++ b/runtime/embedders/android/log.h
|
| @@ -2,15 +2,15 @@
|
| // 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.
|
|
|
| -#ifndef LOG_H
|
| -#define LOG_H
|
| +#ifndef EMBEDDERS_ANDROID_LOG_H_
|
| +#define EMBEDDERS_ANDROID_LOG_H_
|
|
|
| #include <android/log.h>
|
|
|
| #define LOGX(LOG_LEVEL, ...) do { \
|
| - __android_log_print(LOG_LEVEL, "DartExt", __VA_ARGS__); \
|
| + __android_log_print(LOG_LEVEL, "DartExt", __VA_ARGS__); \
|
| } while (0)
|
| #define LOGI(...) LOGX(ANDROID_LOG_INFO, __VA_ARGS__)
|
| #define LOGE(...) LOGX(ANDROID_LOG_ERROR, __VA_ARGS__)
|
|
|
| -#endif
|
| +#endif // EMBEDDERS_ANDROID_LOG_H_
|
|
|