68f55102da
Ninja can't depend on environment variables, so modifying build behavior based on environment variables requires coordinating between the soong script that invokes ninja and the soong_build manifest generator. Allow any module to call Config.Getenv to get the contents of an environment variable while registering a dependency on it. After all modules have been processed write out the state of all used environment variables to a JSON file called .soong.environment. During the next build the soong script will use the soong_env tool to compare the contents of .soong.environment to the current environment, and force a build manifest regeneration by deleting the .soong.environment file if any variables have changed. Change-Id: Id0d81933a857bc2fc1cd7a393a3c6cec73dc4824
555 lines
28 KiB
Text
555 lines
28 KiB
Text
# ******************************************************************************
|
|
# *** This file is generated and should not be edited ***
|
|
# ******************************************************************************
|
|
#
|
|
# This file contains variables, rules, and pools with name prefixes indicating
|
|
# they were generated by the following Go packages:
|
|
#
|
|
# bootstrap [from Go package github.com/google/blueprint/bootstrap]
|
|
#
|
|
ninja_required_version = 1.1.0
|
|
|
|
g.bootstrap.bootstrapCmd = @@Bootstrap@@
|
|
|
|
g.bootstrap.bootstrapManifest = @@BootstrapManifest@@
|
|
|
|
g.bootstrap.goRoot = @@GoRoot@@
|
|
|
|
g.bootstrap.goOS = @@GoOS@@
|
|
|
|
g.bootstrap.goArch = @@GoArch@@
|
|
|
|
g.bootstrap.goToolDir = ${g.bootstrap.goRoot}/pkg/tool/${g.bootstrap.goOS}_${g.bootstrap.goArch}
|
|
|
|
g.bootstrap.goChar = @@GoChar@@
|
|
|
|
g.bootstrap.gcCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}g
|
|
|
|
g.bootstrap.linkCmd = ${g.bootstrap.goToolDir}/${g.bootstrap.goChar}l
|
|
|
|
g.bootstrap.srcDir = @@SrcDir@@
|
|
|
|
builddir = .bootstrap
|
|
|
|
rule g.bootstrap.bootstrap
|
|
command = ${g.bootstrap.bootstrapCmd} -i ${in}
|
|
description = bootstrap ${in}
|
|
generator = true
|
|
|
|
rule g.bootstrap.cp
|
|
command = cp ${in} ${out}
|
|
description = cp ${out}
|
|
|
|
rule g.bootstrap.gc
|
|
command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.gcCmd} -o ${out} -p ${pkgPath} -complete ${incFlags} -pack ${in}
|
|
description = ${g.bootstrap.goChar}g ${out}
|
|
|
|
rule g.bootstrap.link
|
|
command = GOROOT='${g.bootstrap.goRoot}' ${g.bootstrap.linkCmd} -o ${out} ${libDirFlags} ${in}
|
|
description = ${g.bootstrap.goChar}l ${out}
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: androidmk
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/soong/Blueprints:145:1
|
|
|
|
build .bootstrap/androidmk/obj/androidmk.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/android.go $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/androidmk.go $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/cmd/androidmk/values.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
|
incFlags = -I .bootstrap/androidmk-parser/pkg -I .bootstrap/blueprint-parser/pkg
|
|
pkgPath = androidmk
|
|
default .bootstrap/androidmk/obj/androidmk.a
|
|
|
|
build .bootstrap/androidmk/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/androidmk/obj/androidmk.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/androidmk-parser/pkg -L .bootstrap/blueprint-parser/pkg
|
|
default .bootstrap/androidmk/obj/a.out
|
|
|
|
build .bootstrap/bin/androidmk: g.bootstrap.cp .bootstrap/androidmk/obj/a.out
|
|
default .bootstrap/bin/androidmk
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: androidmk-parser
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:158:1
|
|
|
|
build .bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a: $
|
|
g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/parser/make_strings.go $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/parser/makething.go $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/parser/parser.go $
|
|
${g.bootstrap.srcDir}/build/soong/androidmk/parser/scope.go | $
|
|
${g.bootstrap.gcCmd}
|
|
pkgPath = android/soong/androidmk/parser
|
|
default .bootstrap/androidmk-parser/pkg/android/soong/androidmk/parser.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/blueprint/Blueprints:1:1
|
|
|
|
build .bootstrap/blueprint/pkg/github.com/google/blueprint.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/context.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/live_tracker.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/mangle.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/module_ctx.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/ninja_defs.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/ninja_strings.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/ninja_writer.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/package_ctx.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/scope.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/singleton_ctx.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/unpack.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg
|
|
pkgPath = github.com/google/blueprint
|
|
default .bootstrap/blueprint/pkg/github.com/google/blueprint.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-bootstrap
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/blueprint/Blueprints:55:1
|
|
|
|
build $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/bootstrap/bootstrap.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/bootstrap/cleanup.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/bootstrap/command.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/bootstrap/config.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/bootstrap/doc.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg
|
|
pkgPath = github.com/google/blueprint/bootstrap
|
|
default $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-deptools
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/blueprint/Blueprints:34:1
|
|
|
|
build .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/deptools/depfile.go | $
|
|
${g.bootstrap.gcCmd}
|
|
pkgPath = github.com/google/blueprint/deptools
|
|
default $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-parser
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/blueprint/Blueprints:23:1
|
|
|
|
build .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a: $
|
|
g.bootstrap.gc ${g.bootstrap.srcDir}/build/blueprint/parser/modify.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/parser/parser.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/parser/printer.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/parser/sort.go | $
|
|
${g.bootstrap.gcCmd}
|
|
pkgPath = github.com/google/blueprint/parser
|
|
default .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-pathtools
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/blueprint/Blueprints:40:1
|
|
|
|
build $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/pathtools/lists.go $
|
|
${g.bootstrap.srcDir}/build/blueprint/pathtools/glob.go | $
|
|
${g.bootstrap.gcCmd}
|
|
pkgPath = github.com/google/blueprint/pathtools
|
|
default $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: blueprint-proptools
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/blueprint/Blueprints:49:1
|
|
|
|
build $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/proptools/proptools.go | $
|
|
${g.bootstrap.gcCmd}
|
|
pkgPath = github.com/google/blueprint/proptools
|
|
default $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: bpfmt
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/blueprint/Blueprints:81:1
|
|
|
|
build .bootstrap/bpfmt/obj/bpfmt.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/bpfmt/bpfmt.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg
|
|
pkgPath = bpfmt
|
|
default .bootstrap/bpfmt/obj/bpfmt.a
|
|
|
|
build .bootstrap/bpfmt/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/bpfmt/obj/bpfmt.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg
|
|
default .bootstrap/bpfmt/obj/a.out
|
|
|
|
build .bootstrap/bin/bpfmt: g.bootstrap.cp .bootstrap/bpfmt/obj/a.out
|
|
default .bootstrap/bin/bpfmt
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: bpmodify
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/blueprint/Blueprints:87:1
|
|
|
|
build .bootstrap/bpmodify/obj/bpmodify.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/bpmodify/bpmodify.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg
|
|
pkgPath = bpmodify
|
|
default .bootstrap/bpmodify/obj/bpmodify.a
|
|
|
|
build .bootstrap/bpmodify/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/bpmodify/obj/bpmodify.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg
|
|
default .bootstrap/bpmodify/obj/a.out
|
|
|
|
build .bootstrap/bin/bpmodify: g.bootstrap.cp .bootstrap/bpmodify/obj/a.out
|
|
default .bootstrap/bin/bpmodify
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: minibp
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/blueprint/Blueprints:72:1
|
|
|
|
build .bootstrap/minibp/obj/minibp.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/blueprint/bootstrap/minibp/main.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-bootstrap/pkg
|
|
pkgPath = minibp
|
|
default .bootstrap/minibp/obj/minibp.a
|
|
|
|
build .bootstrap/minibp/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/minibp/obj/minibp.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg -L .bootstrap/blueprint-proptools/pkg -L .bootstrap/blueprint/pkg -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/blueprint-pathtools/pkg -L .bootstrap/blueprint-bootstrap/pkg
|
|
default .bootstrap/minibp/obj/a.out
|
|
|
|
build .bootstrap/bin/minibp: g.bootstrap.cp .bootstrap/minibp/obj/a.out
|
|
default .bootstrap/bin/minibp
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-art
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: art/build/Blueprints:13:1
|
|
|
|
build .bootstrap/soong-art/pkg/android/soong/art.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/art/build/art.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
.bootstrap/soong-env/pkg/android/soong/env.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a $
|
|
.bootstrap/soong-common/pkg/android/soong/common.a $
|
|
.bootstrap/soong-config/pkg/android/soong/config.a $
|
|
.bootstrap/soong-genrule/pkg/android/soong/genrule.a $
|
|
.bootstrap/soong-cc/pkg/android/soong/cc.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-config/pkg -I .bootstrap/soong-genrule/pkg -I .bootstrap/soong-cc/pkg
|
|
pkgPath = android/soong/art
|
|
default .bootstrap/soong-art/pkg/android/soong/art.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-cc
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:104:1
|
|
|
|
build .bootstrap/soong-cc/pkg/android/soong/cc.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/cc/builder.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/cc.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/clang.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/toolchain.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/util.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/arm_device.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/arm64_device.go $
|
|
${g.bootstrap.srcDir}/build/soong/cc/x86_linux_host.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
.bootstrap/soong-env/pkg/android/soong/env.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a $
|
|
.bootstrap/soong-common/pkg/android/soong/common.a $
|
|
.bootstrap/soong-config/pkg/android/soong/config.a $
|
|
.bootstrap/soong-genrule/pkg/android/soong/genrule.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-config/pkg -I .bootstrap/soong-genrule/pkg
|
|
pkgPath = android/soong/cc
|
|
default .bootstrap/soong-cc/pkg/android/soong/cc.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-common
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:71:1
|
|
|
|
build .bootstrap/soong-common/pkg/android/soong/common.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/common/arch.go $
|
|
${g.bootstrap.srcDir}/build/soong/common/checkbuild.go $
|
|
${g.bootstrap.srcDir}/build/soong/common/defs.go $
|
|
${g.bootstrap.srcDir}/build/soong/common/env.go $
|
|
${g.bootstrap.srcDir}/build/soong/common/glob.go $
|
|
${g.bootstrap.srcDir}/build/soong/common/module.go $
|
|
${g.bootstrap.srcDir}/build/soong/common/paths.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
.bootstrap/soong-env/pkg/android/soong/env.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg
|
|
pkgPath = android/soong/common
|
|
default .bootstrap/soong-common/pkg/android/soong/common.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-config
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:91:1
|
|
|
|
build .bootstrap/soong-config/pkg/android/soong/config.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/config/config.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
.bootstrap/soong-env/pkg/android/soong/env.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a $
|
|
.bootstrap/soong-common/pkg/android/soong/common.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg
|
|
pkgPath = android/soong/config
|
|
default .bootstrap/soong-config/pkg/android/soong/config.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-env
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:41:1
|
|
|
|
build .bootstrap/soong-env/pkg/android/soong/env.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/env/env.go | ${g.bootstrap.gcCmd}
|
|
pkgPath = android/soong/env
|
|
default .bootstrap/soong-env/pkg/android/soong/env.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-genrule
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:128:1
|
|
|
|
build .bootstrap/soong-genrule/pkg/android/soong/genrule.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/genrule/genrule.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
.bootstrap/soong-env/pkg/android/soong/env.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a $
|
|
.bootstrap/soong-common/pkg/android/soong/common.a $
|
|
.bootstrap/soong-config/pkg/android/soong/config.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-config/pkg
|
|
pkgPath = android/soong/genrule
|
|
default .bootstrap/soong-genrule/pkg/android/soong/genrule.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong-glob
|
|
# Variant:
|
|
# Type: bootstrap_go_package
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
|
# Defined: build/soong/Blueprints:60:1
|
|
|
|
build .bootstrap/soong-glob/pkg/android/soong/glob.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/glob/glob.go | ${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
|
|
incFlags = -I .bootstrap/blueprint-deptools/pkg
|
|
pkgPath = android/soong/glob
|
|
default .bootstrap/soong-glob/pkg/android/soong/glob.a
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong_build
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/soong/Blueprints:13:1
|
|
|
|
build .bootstrap/soong_build/obj/soong_build.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/cmd/soong_build/main.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
|
.bootstrap/soong-env/pkg/android/soong/env.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a $
|
|
.bootstrap/soong-common/pkg/android/soong/common.a $
|
|
.bootstrap/soong-config/pkg/android/soong/config.a $
|
|
.bootstrap/soong-genrule/pkg/android/soong/genrule.a $
|
|
.bootstrap/soong-cc/pkg/android/soong/cc.a $
|
|
.bootstrap/soong-art/pkg/android/soong/art.a
|
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg -I .bootstrap/blueprint/pkg -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/blueprint-pathtools/pkg -I .bootstrap/blueprint-bootstrap/pkg -I .bootstrap/soong-env/pkg -I .bootstrap/soong-glob/pkg -I .bootstrap/soong-common/pkg -I .bootstrap/soong-config/pkg -I .bootstrap/soong-genrule/pkg -I .bootstrap/soong-cc/pkg -I .bootstrap/soong-art/pkg
|
|
pkgPath = soong_build
|
|
default .bootstrap/soong_build/obj/soong_build.a
|
|
|
|
build .bootstrap/soong_build/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/soong_build/obj/soong_build.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-parser/pkg -L .bootstrap/blueprint-proptools/pkg -L .bootstrap/blueprint/pkg -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/blueprint-pathtools/pkg -L .bootstrap/blueprint-bootstrap/pkg -L .bootstrap/soong-env/pkg -L .bootstrap/soong-glob/pkg -L .bootstrap/soong-common/pkg -L .bootstrap/soong-config/pkg -L .bootstrap/soong-genrule/pkg -L .bootstrap/soong-cc/pkg -L .bootstrap/soong-art/pkg
|
|
default .bootstrap/soong_build/obj/a.out
|
|
|
|
build .bootstrap/bin/soong_build: g.bootstrap.cp $
|
|
.bootstrap/soong_build/obj/a.out
|
|
default .bootstrap/bin/soong_build
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong_env
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/soong/Blueprints:31:1
|
|
|
|
build .bootstrap/soong_env/obj/soong_env.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/cmd/soong_env/soong_env.go | $
|
|
${g.bootstrap.gcCmd} .bootstrap/soong-env/pkg/android/soong/env.a
|
|
incFlags = -I .bootstrap/soong-env/pkg
|
|
pkgPath = soong_env
|
|
default .bootstrap/soong_env/obj/soong_env.a
|
|
|
|
build .bootstrap/soong_env/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/soong_env/obj/soong_env.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/soong-env/pkg
|
|
default .bootstrap/soong_env/obj/a.out
|
|
|
|
build .bootstrap/bin/soong_env: g.bootstrap.cp .bootstrap/soong_env/obj/a.out
|
|
default .bootstrap/bin/soong_env
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Module: soong_glob
|
|
# Variant:
|
|
# Type: bootstrap_go_binary
|
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
|
# Defined: build/soong/Blueprints:50:1
|
|
|
|
build .bootstrap/soong_glob/obj/soong_glob.a: g.bootstrap.gc $
|
|
${g.bootstrap.srcDir}/build/soong/cmd/soong_glob/soong_glob.go | $
|
|
${g.bootstrap.gcCmd} $
|
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
|
.bootstrap/soong-glob/pkg/android/soong/glob.a
|
|
incFlags = -I .bootstrap/blueprint-deptools/pkg -I .bootstrap/soong-glob/pkg
|
|
pkgPath = soong_glob
|
|
default .bootstrap/soong_glob/obj/soong_glob.a
|
|
|
|
build .bootstrap/soong_glob/obj/a.out: g.bootstrap.link $
|
|
.bootstrap/soong_glob/obj/soong_glob.a | ${g.bootstrap.linkCmd}
|
|
libDirFlags = -L .bootstrap/blueprint-deptools/pkg -L .bootstrap/soong-glob/pkg
|
|
default .bootstrap/soong_glob/obj/a.out
|
|
|
|
build .bootstrap/bin/soong_glob: g.bootstrap.cp $
|
|
.bootstrap/soong_glob/obj/a.out
|
|
default .bootstrap/bin/soong_glob
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# Singleton: bootstrap
|
|
# Factory: github.com/google/blueprint/bootstrap.newSingleton
|
|
|
|
rule s.bootstrap.bigbp
|
|
command = .bootstrap/bin/soong_build -d .bootstrap/main.ninja.in.d -m ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
|
|
depfile = .bootstrap/main.ninja.in.d
|
|
description = soong_build ${out}
|
|
|
|
rule s.bootstrap.minibp
|
|
command = .bootstrap/bin/minibp -c ${checkFile} -m ${g.bootstrap.bootstrapManifest} -d ${out}.d -o ${out} ${in}
|
|
depfile = ${out}.d
|
|
description = minibp ${out}
|
|
generator = true
|
|
|
|
build .bootstrap/main.ninja.in: s.bootstrap.bigbp $
|
|
${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/androidmk $
|
|
.bootstrap/bin/bpfmt .bootstrap/bin/bpmodify .bootstrap/bin/minibp $
|
|
.bootstrap/bin/soong_build .bootstrap/bin/soong_env $
|
|
.bootstrap/bin/soong_glob
|
|
default .bootstrap/main.ninja.in
|
|
build .bootstrap/notAFile: phony
|
|
default .bootstrap/notAFile
|
|
build build.ninja: g.bootstrap.bootstrap .bootstrap/main.ninja.in | $
|
|
${g.bootstrap.bootstrapCmd} .bootstrap/notAFile $
|
|
.bootstrap/bootstrap.ninja.in
|
|
default build.ninja
|
|
build .bootstrap/bootstrap.ninja.in: s.bootstrap.minibp $
|
|
${g.bootstrap.srcDir}/Blueprints | .bootstrap/bin/minibp
|
|
checkFile = ${g.bootstrap.bootstrapManifest}
|
|
default .bootstrap/bootstrap.ninja.in
|
|
|