1 // Copyright 2014 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.
5 #include <android/log.h>
8 // Same as foo.cpp, byt exposes Foo2() instead of Foo().
10 extern "C" void Foo2() {
11 printf("%s: Entering\n", __FUNCTION__
);
12 __android_log_write(ANDROID_LOG_INFO
, "foo", "Hello World!");
13 fprintf(stderr
, "Hello World from Foo!\n");
14 printf("%s: Exiting\n", __FUNCTION__
);