commit | 2b27ed00779782d549722148275e5d79cb011986 | [log] [tgz] |
---|---|---|
author | Nelson Li <nelsonli@google.com> | Thu Mar 07 07:43:35 2024 +0000 |
committer | Nelson Li <nelsonli@google.com> | Thu Mar 07 11:25:57 2024 +0000 |
tree | 20d4564f7718790d7af9fedf8b7576e58cd81b6d | |
parent | 85acebd157816c520cd278c11a554f608c3a7e71 [diff] |
Move frameworks/base/Android.mk to build/core 1. Move the work of `declare-1p-copy-files` to `build/core/tasks/meta-lic.mk`. 2. Remove `$(LOCAL_PATH)/pathmap.mk` because the variables defined in it are no longer used. 3. The variable `ONE_SHOT_MAKEFILE` is deprecated and can be removed directly. 4. Move the work of `offline-sdk-docs` to `build/core/tasks/offline-sdk-docs.mk` because Soong cannot specify the output path to `$(OUT_DOCS)/`. 5. Move the work of `framework-doc-stubs` to `build/core/Makefile` because Soong cannot specify the output path to `framework-doc-stubs-metadata_intermediates`, and because `SDK_METADATA_FILES` is a dependency of the SDK, it must be moved before the SDK's dependencies are determined, and it cannot be moved to `build/core/tasks`. 6. `ANDROID_BUILD_EMBEDDED` can be removed because the `.mk` files that use this variable are currently not used. Bug: 322732227 Test: m sdk docs offline-sdk-docs framework-doc-stubs Change-Id: Ieef40808a0bbaa63a73491ddde0949ae1780e615
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.