commit | 2748c61659f06099dd61715f4824ecc4f576b9df | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Wed May 22 20:01:49 2019 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Wed May 22 20:01:49 2019 -0700 |
tree | ea09a32fa5baa7749f636d018598921a4cfcf6dd | |
parent | 0c45b0d982d7e2817515cc483729f96bf7f11473 [diff] |
Remove unused (and currently broken) `samplecode` target. Running 'm samplecode' fails with "build/make/core/main.mk:1834: error: overriding commands for target `out/target/common/samples/libsimplejni.so', previously defined at build/make/core/main.mk:1834" This proves that noone has been using 'samplecode' target at least since the build started generating both 32- and 64-bit shared libraries by default, because development/samples/SimpleJNI/jni/Android.mk defines libsimplejni.so as 'sample', and the deleted code in core/main.mk causes duplicate rule in such case. Test: treehugger Change-Id: I38a4c478fcb0e60793129fe2513a8cdc6d2c79fb
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.