Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: third_party/android_crazy_linker/src/tests/bar.cpp

Issue 322433006: Fork of the Android NDK crazy linker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a required license header to a cpp module, missing in the original. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
10 extern "C" void Bar() {
11 printf("%s: Entering\n", __FUNCTION__);
12 __android_log_print(ANDROID_LOG_INFO, "bar", "Hi There!");
13 fprintf(stderr, "Hi There! from Bar\n");
14
15 printf("%s: Calling Foo()\n", __FUNCTION__);
16 Foo();
17
18 printf("%s: Exiting\n", __FUNCTION__);
19 }
OLDNEW
« no previous file with comments | « third_party/android_crazy_linker/src/tests/Android.mk ('k') | third_party/android_crazy_linker/src/tests/bar_with_relro.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698