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.
24 lines
843 B
24 lines
843 B
# Included by .minibootstrap/build.ninja, which is written by bootstrap.bash
|
|
#
|
|
# Expected input variables:
|
|
# topFile - The path to the top-level Blueprints(etc) file
|
|
# extraArgs - Any extra arguments to pass to minibp (-t)
|
|
# bootstrapBuildDir - The path to the build directory
|
|
|
|
ninja_required_version = 1.7.0
|
|
|
|
myGlobs = ${bootstrapBuildDir}/.minibootstrap/build-globs.ninja
|
|
subninja ${myGlobs}
|
|
|
|
rule build.ninja
|
|
command = ${builder} ${extraArgs} -b ${bootstrapBuildDir} -n ${builddir} -d ${out}.d -globFile ${myGlobs} -o ${out} ${in}
|
|
deps = gcc
|
|
depfile = ${out}.d
|
|
description = ${builder} ${out}
|
|
|
|
bootstrapNinja = ${bootstrapBuildDir}/.bootstrap/build.ninja
|
|
|
|
build ${bootstrapNinja}: build.ninja ${topFile} | ${builder}
|
|
builder = ${bootstrapBuildDir}/.minibootstrap/minibp
|
|
default ${bootstrapNinja}
|