diff options
author | Patrice Arruda <patricearruda@google.com> | 2019-07-08 11:06:46 -0700 |
---|---|---|
committer | Patrice Arruda <patricearruda@google.com> | 2019-07-11 14:38:19 -0700 |
commit | 9450d0b2268ece274e60d65d1789f7100cb9fe20 (patch) | |
tree | 9366b65af18ca91999e165821b9deb47e7449101 /scripts/jsonmodify.py | |
parent | ae1131863338f8b5d9d0f58eab302514b6f78654 (diff) |
soong_ui: Do not find a build file if targets are specified.
For mmma and mmm, the findBuildFile function in config.go is invoked every time
for specified directories and directories with targets. For directories with
targets, an Android build file must exist in the directory where mmma and mmm
was invoked. There is no need to invoke findBuildFile function as a
simple check of the build file exists in the specified directory.
This is also refactoring the code for b/118730755
Bug: b/118730755
Test: Executed unit test cases through Intellij and executed mmma
command: "mmma external/protobuf:aprotoc external/bzip2".
Change-Id: I5428e3a3c36f77ff740617564b7853705521f29f
Diffstat (limited to 'scripts/jsonmodify.py')
0 files changed, 0 insertions, 0 deletions