diff options
author | Patrice Arruda <patricearruda@google.com> | 2019-07-08 17:03:33 -0700 |
---|---|---|
committer | Patrice Arruda <patricearruda@google.com> | 2019-07-16 11:19:05 -0700 |
commit | 0dcf27f6396f0b06dade38f9417c55cb4f9c268e (patch) | |
tree | 38a0110dfe9c40b70e0e1718be5186eec9674925 /scripts/jsonmodify.py | |
parent | 9450d0b2268ece274e60d65d1789f7100cb9fe20 (diff) |
soong_ui: Construct the proper MODULES-IN-<dir name> for m* build commands.
Previously, any of the build commands (mma, mmma, etc...) would traverse
up the directory path until an Android build file has been found. That
directory path would eventually become the MODULES-IN-<dir name> build
target. The directory where the m* command was executed may contain a
build file in a sub directory. For that case, the build target is the
MODULES-IN-<dir name> where dir is the directory of the executed m*
command since the target has been constructed by the core makefile.
Bug: b/118730755
Test: Wrote and ran unit test cases. Ran "lunch", "m". Went to a
directory in AOSP that had build files in sub directories and
executed mma. Went to a directory that had only build files in
parent directories and executed mma.
Change-Id: I9458cbc4bf0fc25bfb0848e96e92d261442d5cb0
Diffstat (limited to 'scripts/jsonmodify.py')
0 files changed, 0 insertions, 0 deletions