Reland "m <apex_name>-deps-info prints the internal/external deps of the APEX""

This reverts commit 4513f703f9.

Bug: 1190898
Test: m
Test: EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true NATIVE_COVERAGE=true  m dist

Change-Id: I50fdccabb43e4751694db83ee451d388657257e0
This commit is contained in:
Jiyong Park
2020-01-09 12:32:06 +09:00
parent ccfffda2ec
commit 956305c61c
9 changed files with 132 additions and 13 deletions

View File

@@ -500,6 +500,14 @@ var (
usesLibTag = dependencyTag{name: "uses-library"}
)
func IsLibDepTag(depTag blueprint.DependencyTag) bool {
return depTag == libTag
}
func IsStaticLibDepTag(depTag blueprint.DependencyTag) bool {
return depTag == staticLibTag
}
type sdkDep struct {
useModule, useFiles, useDefaultLibs, invalidVersion bool