You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
392 B
11 lines
392 B
4 months ago
|
def _impl(rctx):
|
||
|
rctx.file("WORKSPACE", "")
|
||
|
build_dir = str(rctx.path(Label("//:BUILD")).dirname.dirname)
|
||
|
soong_injection_dir = build_dir + "/soong_injection"
|
||
|
rctx.symlink(soong_injection_dir + "/mixed_builds", "mixed_builds")
|
||
|
rctx.symlink(soong_injection_dir + "/cc_toolchain", "cc_toolchain")
|
||
|
|
||
|
soong_injection_repository = repository_rule(
|
||
|
implementation = _impl,
|
||
|
)
|