Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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 #include <android/log.h> | |
| 6 #include <stdio.h> | |
| 7 | |
| 8 extern "C" void Foo() { | |
| 9 printf("%s: Entering\n", __FUNCTION__); | |
| 10 __android_log_write(ANDROID_LOG_INFO, "foo", "Hello World!"); | |
| 11 fprintf(stderr, "Hello World from Foo!\n"); | |
| 12 printf("%s: Exiting\n", __FUNCTION__); | |
| 13 } | |
| OLD | NEW |