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

Unified Diff: experimental/HelloSkia/jni/Android.mk

Issue 16336004: create simple skia app for android using jni (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: experimental/HelloSkia/jni/Android.mk
diff --git a/experimental/HelloSkia/jni/Android.mk b/experimental/HelloSkia/jni/Android.mk
new file mode 100644
index 0000000000000000000000000000000000000000..87f64d98ae59e6b6ea7537cfe433b771d5b46cd5
--- /dev/null
+++ b/experimental/HelloSkia/jni/Android.mk
@@ -0,0 +1,27 @@
+LOCAL_PATH := $(call my-dir)
+
+# libskia
djsollen 2013/06/03 18:24:45 add comments here about what this code snippet doe
Zach Reizner 2013/06/03 22:54:25 Done.
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := skia_local
djsollen 2013/06/03 18:24:45 rename to skia_android
Zach Reizner 2013/06/03 22:54:25 Done.
+LOCAL_SRC_FILES := libskia_android.so
+
+include $(PREBUILT_SHARED_LIBRARY)
+
+
+# libHelloSkia
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := HelloSkia
djsollen 2013/06/03 18:24:45 rename to hello_skia_ndk.
Zach Reizner 2013/06/03 22:54:25 Done.
+LOCAL_SRC_FILES := helloskia.cpp
+
+LOCAL_SHARED_LIBRARIES := skia_local
+
+LOCAL_LDLIBS := -ljnigraphics
djsollen 2013/06/03 18:24:45 comment on why this is needed.
Zach Reizner 2013/06/03 22:54:25 Done.
+
+LOCAL_C_INCLUDES := /usr/local/google/home/zachr/src/skia_so/trunk/include/config \
+ /usr/local/google/home/zachr/src/skia_so/trunk/include/core
djsollen 2013/06/03 18:24:45 give the user instructions on where they are suppo
+
+include $(BUILD_SHARED_LIBRARY)
+

Powered by Google App Engine
This is Rietveld 408576698