add comments to keep STL code in sync with Bazel
Change-Id: I95869f97ade5c76db7f341327629e45315a9f6d5
This commit is contained in:
@@ -139,6 +139,8 @@ func staticUnwinder(ctx android.BaseModuleContext) string {
|
|||||||
return "libunwind"
|
return "libunwind"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Should be kept up to date with
|
||||||
|
// https://cs.android.com/android/platform/superproject/+/master:build/bazel/rules/cc/stl.bzl;l=46;drc=21771b671ae08565033768a6d3d151c54f887fa2
|
||||||
func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps {
|
func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps {
|
||||||
switch stl.Properties.SelectedStl {
|
switch stl.Properties.SelectedStl {
|
||||||
case "libstdc++":
|
case "libstdc++":
|
||||||
@@ -194,6 +196,8 @@ func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps {
|
|||||||
return deps
|
return deps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Should be kept up to date with
|
||||||
|
// https://cs.android.com/android/platform/superproject/+/master:build/bazel/rules/cc/stl.bzl;l=94;drc=5bc8e39d2637927dc57dd0850210d43d348a1341
|
||||||
func (stl *stl) flags(ctx ModuleContext, flags Flags) Flags {
|
func (stl *stl) flags(ctx ModuleContext, flags Flags) Flags {
|
||||||
switch stl.Properties.SelectedStl {
|
switch stl.Properties.SelectedStl {
|
||||||
case "libc++", "libc++_static":
|
case "libc++", "libc++_static":
|
||||||
|
Reference in New Issue
Block a user