Skip to content

Commit

Permalink
Restore origin commented code for hello-libs/settings.gradle to fix bug:
Browse files Browse the repository at this point in the history
  • Loading branch information
ggfan committed Oct 5, 2016
1 parent d065f33 commit c1bfc3c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hello-libs/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
Hello-libs
=========
Hello-Libs is an Android sample that demos native lib management in Android Studio.
Hello-Libs is an Android sample that demos native lib management in Android Studio:
* how external pre-build static lib (gmath) could be used in app
* how external pre-built shared lib (gperf) could be used in app

This sample uses the new [Android Studio CMake plugin](http://tools.android.com/tech-docs/external-c-builds) with external lib support.
it includes 2 modules:
it includes 2 modules but only uses app module:
* app -- uses one shared lib and one static lib from $project/distribution/
* gen-libs -- generates one shared and one static lib, and copy them into $project/distribution
The debug library binaries are saved inside distribution folder. you could build your own with
For this demo purpose, you do not need to build libs: binaries are included in the project -- the
debug library binaries are saved inside distribution folder. If you want, you could build your own with
gen-libs source, just follow comment in setting.gradle and app/build.gradle -- do it once, then
comment them out again so you are not affected by lib building

Expand Down
9 changes: 9 additions & 0 deletions hello-libs/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
include ':app'

// The following is just for generating libs only.
// To use:
// uncomment out this line
// make sure uncomment out the one inside app/build.gradle to enable dependency
// build the app in Android Studio or command line
// Comment out this line and the one inside app/build.gradle again

// include ':gen-libs'

0 comments on commit c1bfc3c

Please sign in to comment.