commit | fbd71e2773dd7342b49f9f951791a0776b70dbf0 | [log] [tgz] |
---|---|---|
author | Mårten Kongstad <amhk@google.com> | Wed May 31 13:29:35 2023 +0200 |
committer | Mårten Kongstad <amhk@google.com> | Thu Jun 08 11:25:43 2023 +0200 |
tree | b4a973fae4a300385e688f57d6febea17874740e | |
parent | 9fb58965affb1d1518b913dcd957f967dddcb1f6 [diff] |
aconfig: allow dots in package fields Allow package fields to include dots. Update the generated code based on the package name: if the package name is com.android.example: - java: package com.android.example; ... - C++: namespace com::android::example { ... } - Rust: mod com { mod android { mod example { ... } } } Also, update examples to use dots in the package fields. Also, remove unnecessary #include from the auto-generated C++ code: the header should not include itself. Bug: 285000854 Test: atest aconfig.test Change-Id: I8a5352e25c64c34dee0725202a1b7c9957819de8
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.