Revert "pass read new storage parameter to java codegen"
This reverts commit 9cf2e8e140
.
Reason for revert:DroidMonitor - Potential culprit for http://b/369200837 - Verifying through ABTD before submission.
Change-Id: I635ba732fba40b7c73b5c419ef204fb14e857cb2
This commit is contained in:
committed by
Gerrit Code Review
parent
9cf2e8e140
commit
df1c59a657
@@ -32,7 +32,6 @@ var (
|
|||||||
` --mode ${mode}` +
|
` --mode ${mode}` +
|
||||||
` --cache ${in}` +
|
` --cache ${in}` +
|
||||||
` --out ${out}.tmp` +
|
` --out ${out}.tmp` +
|
||||||
` --allow-instrumentation ${debug}` +
|
|
||||||
` && $soong_zip -write_if_changed -jar -o ${out} -C ${out}.tmp -D ${out}.tmp` +
|
` && $soong_zip -write_if_changed -jar -o ${out} -C ${out}.tmp -D ${out}.tmp` +
|
||||||
` && rm -rf ${out}.tmp`,
|
` && rm -rf ${out}.tmp`,
|
||||||
CommandDeps: []string{
|
CommandDeps: []string{
|
||||||
@@ -40,7 +39,7 @@ var (
|
|||||||
"$soong_zip",
|
"$soong_zip",
|
||||||
},
|
},
|
||||||
Restat: true,
|
Restat: true,
|
||||||
}, "mode", "debug")
|
}, "mode")
|
||||||
|
|
||||||
// For cc_aconfig_library: Generate C++ library
|
// For cc_aconfig_library: Generate C++ library
|
||||||
cppRule = pctx.AndroidStaticRule("cc_aconfig_library",
|
cppRule = pctx.AndroidStaticRule("cc_aconfig_library",
|
||||||
|
@@ -20,7 +20,6 @@ import (
|
|||||||
|
|
||||||
"github.com/google/blueprint"
|
"github.com/google/blueprint"
|
||||||
"github.com/google/blueprint/proptools"
|
"github.com/google/blueprint/proptools"
|
||||||
"strconv"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type declarationsTagType struct {
|
type declarationsTagType struct {
|
||||||
@@ -72,7 +71,6 @@ func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) DepsMutator(module *ja
|
|||||||
module.AddSharedLibrary("aconfig-annotations-lib")
|
module.AddSharedLibrary("aconfig-annotations-lib")
|
||||||
// TODO(b/303773055): Remove the annotation after access issue is resolved.
|
// TODO(b/303773055): Remove the annotation after access issue is resolved.
|
||||||
module.AddSharedLibrary("unsupportedappusage")
|
module.AddSharedLibrary("unsupportedappusage")
|
||||||
module.AddSharedLibrary("aconfig_storage_reader_java")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -105,7 +103,6 @@ func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) GenerateSourceJarBuild
|
|||||||
Description: "aconfig.srcjar",
|
Description: "aconfig.srcjar",
|
||||||
Args: map[string]string{
|
Args: map[string]string{
|
||||||
"mode": mode,
|
"mode": mode,
|
||||||
"debug": strconv.FormatBool(ctx.Config().ReleaseReadFromNewStorage()),
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@@ -424,9 +424,7 @@ func gatherRequiredDepsForTest() string {
|
|||||||
"kotlin-stdlib-jdk8",
|
"kotlin-stdlib-jdk8",
|
||||||
"kotlin-annotations",
|
"kotlin-annotations",
|
||||||
"stub-annotations",
|
"stub-annotations",
|
||||||
|
|
||||||
"aconfig-annotations-lib",
|
"aconfig-annotations-lib",
|
||||||
"aconfig_storage_reader_java",
|
|
||||||
"unsupportedappusage",
|
"unsupportedappusage",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user