Update import paths to include github
This commit is contained in:
parent
4dfe36d029
commit
6cafc2cddc
14 changed files with 103 additions and 85 deletions
12
Blueprints
12
Blueprints
|
@ -4,7 +4,7 @@ bootstrap_go_package(
|
||||||
"blueprint-parser",
|
"blueprint-parser",
|
||||||
"blueprint-proptools",
|
"blueprint-proptools",
|
||||||
],
|
],
|
||||||
pkgPath = "blueprint",
|
pkgPath = "github.com/google/blueprint",
|
||||||
srcs = [
|
srcs = [
|
||||||
"context.go",
|
"context.go",
|
||||||
"live_tracker.go",
|
"live_tracker.go",
|
||||||
|
@ -22,7 +22,7 @@ bootstrap_go_package(
|
||||||
|
|
||||||
bootstrap_go_package(
|
bootstrap_go_package(
|
||||||
name = "blueprint-parser",
|
name = "blueprint-parser",
|
||||||
pkgPath = "blueprint/parser",
|
pkgPath = "github.com/google/blueprint/parser",
|
||||||
srcs = [
|
srcs = [
|
||||||
"parser/modify.go",
|
"parser/modify.go",
|
||||||
"parser/parser.go",
|
"parser/parser.go",
|
||||||
|
@ -33,13 +33,13 @@ bootstrap_go_package(
|
||||||
|
|
||||||
bootstrap_go_package(
|
bootstrap_go_package(
|
||||||
name = "blueprint-deptools",
|
name = "blueprint-deptools",
|
||||||
pkgPath = "blueprint/deptools",
|
pkgPath = "github.com/google/blueprint/deptools",
|
||||||
srcs = ["deptools/depfile.go"],
|
srcs = ["deptools/depfile.go"],
|
||||||
)
|
)
|
||||||
|
|
||||||
bootstrap_go_package(
|
bootstrap_go_package(
|
||||||
name = "blueprint-pathtools",
|
name = "blueprint-pathtools",
|
||||||
pkgPath = "blueprint/pathtools",
|
pkgPath = "github.com/google/blueprint/pathtools",
|
||||||
srcs = [
|
srcs = [
|
||||||
"pathtools/lists.go",
|
"pathtools/lists.go",
|
||||||
"pathtools/glob.go",
|
"pathtools/glob.go",
|
||||||
|
@ -48,7 +48,7 @@ bootstrap_go_package(
|
||||||
|
|
||||||
bootstrap_go_package(
|
bootstrap_go_package(
|
||||||
name = "blueprint-proptools",
|
name = "blueprint-proptools",
|
||||||
pkgPath = "blueprint/proptools",
|
pkgPath = "github.com/google/blueprint/proptools",
|
||||||
srcs = ["proptools/proptools.go"],
|
srcs = ["proptools/proptools.go"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ bootstrap_go_package(
|
||||||
"blueprint-deptools",
|
"blueprint-deptools",
|
||||||
"blueprint-pathtools",
|
"blueprint-pathtools",
|
||||||
],
|
],
|
||||||
pkgPath = "blueprint/bootstrap",
|
pkgPath = "github.com/google/blueprint/bootstrap",
|
||||||
srcs = [
|
srcs = [
|
||||||
"bootstrap/bootstrap.go",
|
"bootstrap/bootstrap.go",
|
||||||
"bootstrap/cleanup.go",
|
"bootstrap/cleanup.go",
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
package bootstrap
|
package bootstrap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint"
|
|
||||||
"blueprint/pathtools"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint"
|
||||||
|
"github.com/google/blueprint/pathtools"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -27,7 +27,7 @@ import (
|
||||||
const bootstrapDir = ".bootstrap"
|
const bootstrapDir = ".bootstrap"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
pctx = blueprint.NewPackageContext("blueprint/bootstrap")
|
pctx = blueprint.NewPackageContext("github.com/google/blueprint/bootstrap")
|
||||||
|
|
||||||
gcCmd = pctx.StaticVariable("gcCmd", "$goToolDir/${goChar}g")
|
gcCmd = pctx.StaticVariable("gcCmd", "$goToolDir/${goChar}g")
|
||||||
linkCmd = pctx.StaticVariable("linkCmd", "$goToolDir/${goChar}l")
|
linkCmd = pctx.StaticVariable("linkCmd", "$goToolDir/${goChar}l")
|
||||||
|
|
|
@ -15,10 +15,10 @@
|
||||||
package bootstrap
|
package bootstrap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint"
|
|
||||||
"bufio"
|
"bufio"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -15,11 +15,11 @@
|
||||||
package bootstrap
|
package bootstrap
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint"
|
|
||||||
"blueprint/deptools"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint"
|
||||||
|
"github.com/google/blueprint/deptools"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
|
@ -38,9 +38,9 @@
|
||||||
// package main
|
// package main
|
||||||
//
|
//
|
||||||
// import (
|
// import (
|
||||||
// "blueprint"
|
|
||||||
// "blueprint/bootstrap"
|
|
||||||
// "flag"
|
// "flag"
|
||||||
|
// "github.com/google/blueprint"
|
||||||
|
// "github.com/google/blueprint/bootstrap"
|
||||||
// "path/filepath"
|
// "path/filepath"
|
||||||
//
|
//
|
||||||
// "my/custom/build/logic"
|
// "my/custom/build/logic"
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint"
|
|
||||||
"blueprint/bootstrap"
|
|
||||||
"flag"
|
"flag"
|
||||||
|
"github.com/google/blueprint"
|
||||||
|
"github.com/google/blueprint/bootstrap"
|
||||||
)
|
)
|
||||||
|
|
||||||
var runAsPrimaryBuilder bool
|
var runAsPrimaryBuilder bool
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint/parser"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint/parser"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint/parser"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint/parser"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
|
|
116
build.ninja.in
116
build.ninja.in
|
@ -5,7 +5,7 @@
|
||||||
# This file contains variables, rules, and pools with name prefixes indicating
|
# This file contains variables, rules, and pools with name prefixes indicating
|
||||||
# they were generated by the following Go packages:
|
# they were generated by the following Go packages:
|
||||||
#
|
#
|
||||||
# bootstrap [from Go package blueprint/bootstrap]
|
# bootstrap [from Go package github.com/google/blueprint/bootstrap]
|
||||||
#
|
#
|
||||||
ninja_required_version = 1.1.0
|
ninja_required_version = 1.1.0
|
||||||
|
|
||||||
|
@ -50,11 +50,12 @@ rule g.bootstrap.link
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: blueprint
|
# Module: blueprint
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_package
|
# Type: bootstrap_go_package
|
||||||
# Factory: blueprint/bootstrap.newGoPackageModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
||||||
# Defined: Blueprints:1:1
|
# Defined: Blueprints:1:1
|
||||||
|
|
||||||
build .bootstrap/blueprint/pkg/blueprint.a: g.bootstrap.gc $
|
build .bootstrap/blueprint/pkg/github.com/google/blueprint.a: g.bootstrap.gc $
|
||||||
${g.bootstrap.srcDir}/context.go ${g.bootstrap.srcDir}/live_tracker.go $
|
${g.bootstrap.srcDir}/context.go ${g.bootstrap.srcDir}/live_tracker.go $
|
||||||
${g.bootstrap.srcDir}/mangle.go ${g.bootstrap.srcDir}/module_ctx.go $
|
${g.bootstrap.srcDir}/mangle.go ${g.bootstrap.srcDir}/module_ctx.go $
|
||||||
${g.bootstrap.srcDir}/ninja_defs.go $
|
${g.bootstrap.srcDir}/ninja_defs.go $
|
||||||
|
@ -63,90 +64,105 @@ build .bootstrap/blueprint/pkg/blueprint.a: g.bootstrap.gc $
|
||||||
${g.bootstrap.srcDir}/package_ctx.go ${g.bootstrap.srcDir}/scope.go $
|
${g.bootstrap.srcDir}/package_ctx.go ${g.bootstrap.srcDir}/scope.go $
|
||||||
${g.bootstrap.srcDir}/singleton_ctx.go ${g.bootstrap.srcDir}/unpack.go $
|
${g.bootstrap.srcDir}/singleton_ctx.go ${g.bootstrap.srcDir}/unpack.go $
|
||||||
| ${g.bootstrap.gcCmd} $
|
| ${g.bootstrap.gcCmd} $
|
||||||
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
||||||
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
|
||||||
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg
|
incFlags = -I .bootstrap/blueprint-parser/pkg -I .bootstrap/blueprint-proptools/pkg
|
||||||
pkgPath = blueprint
|
pkgPath = github.com/google/blueprint
|
||||||
default .bootstrap/blueprint/pkg/blueprint.a
|
default .bootstrap/blueprint/pkg/github.com/google/blueprint.a
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: blueprint-bootstrap
|
# Module: blueprint-bootstrap
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_package
|
# Type: bootstrap_go_package
|
||||||
# Factory: blueprint/bootstrap.newGoPackageModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
||||||
# Defined: Blueprints:55:1
|
# Defined: Blueprints:55:1
|
||||||
|
|
||||||
build .bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a: g.bootstrap.gc $
|
build $
|
||||||
${g.bootstrap.srcDir}/bootstrap/bootstrap.go $
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a $
|
||||||
|
: g.bootstrap.gc ${g.bootstrap.srcDir}/bootstrap/bootstrap.go $
|
||||||
${g.bootstrap.srcDir}/bootstrap/cleanup.go $
|
${g.bootstrap.srcDir}/bootstrap/cleanup.go $
|
||||||
${g.bootstrap.srcDir}/bootstrap/command.go $
|
${g.bootstrap.srcDir}/bootstrap/command.go $
|
||||||
${g.bootstrap.srcDir}/bootstrap/config.go $
|
${g.bootstrap.srcDir}/bootstrap/config.go $
|
||||||
${g.bootstrap.srcDir}/bootstrap/doc.go | ${g.bootstrap.gcCmd} $
|
${g.bootstrap.srcDir}/bootstrap/doc.go | ${g.bootstrap.gcCmd} $
|
||||||
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
||||||
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a $
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
||||||
.bootstrap/blueprint/pkg/blueprint.a $
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
||||||
.bootstrap/blueprint-deptools/pkg/blueprint/deptools.a $
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
||||||
.bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.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
|
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 = blueprint/bootstrap
|
pkgPath = github.com/google/blueprint/bootstrap
|
||||||
default .bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.a
|
default $
|
||||||
|
.bootstrap/blueprint-bootstrap/pkg/github.com/google/blueprint/bootstrap.a
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: blueprint-deptools
|
# Module: blueprint-deptools
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_package
|
# Type: bootstrap_go_package
|
||||||
# Factory: blueprint/bootstrap.newGoPackageModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
||||||
# Defined: Blueprints:34:1
|
# Defined: Blueprints:34:1
|
||||||
|
|
||||||
build .bootstrap/blueprint-deptools/pkg/blueprint/deptools.a: g.bootstrap.gc $
|
build .bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
||||||
${g.bootstrap.srcDir}/deptools/depfile.go | ${g.bootstrap.gcCmd}
|
: g.bootstrap.gc ${g.bootstrap.srcDir}/deptools/depfile.go | $
|
||||||
pkgPath = blueprint/deptools
|
${g.bootstrap.gcCmd}
|
||||||
default .bootstrap/blueprint-deptools/pkg/blueprint/deptools.a
|
pkgPath = github.com/google/blueprint/deptools
|
||||||
|
default $
|
||||||
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: blueprint-parser
|
# Module: blueprint-parser
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_package
|
# Type: bootstrap_go_package
|
||||||
# Factory: blueprint/bootstrap.newGoPackageModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
||||||
# Defined: Blueprints:23:1
|
# Defined: Blueprints:23:1
|
||||||
|
|
||||||
build .bootstrap/blueprint-parser/pkg/blueprint/parser.a: g.bootstrap.gc $
|
build .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a: $
|
||||||
${g.bootstrap.srcDir}/parser/modify.go $
|
g.bootstrap.gc ${g.bootstrap.srcDir}/parser/modify.go $
|
||||||
${g.bootstrap.srcDir}/parser/parser.go $
|
${g.bootstrap.srcDir}/parser/parser.go $
|
||||||
${g.bootstrap.srcDir}/parser/printer.go $
|
${g.bootstrap.srcDir}/parser/printer.go $
|
||||||
${g.bootstrap.srcDir}/parser/sort.go | ${g.bootstrap.gcCmd}
|
${g.bootstrap.srcDir}/parser/sort.go | ${g.bootstrap.gcCmd}
|
||||||
pkgPath = blueprint/parser
|
pkgPath = github.com/google/blueprint/parser
|
||||||
default .bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
default .bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: blueprint-pathtools
|
# Module: blueprint-pathtools
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_package
|
# Type: bootstrap_go_package
|
||||||
# Factory: blueprint/bootstrap.newGoPackageModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
||||||
# Defined: Blueprints:40:1
|
# Defined: Blueprints:40:1
|
||||||
|
|
||||||
build .bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a: g.bootstrap.gc $
|
build $
|
||||||
${g.bootstrap.srcDir}/pathtools/lists.go $
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
||||||
|
: g.bootstrap.gc ${g.bootstrap.srcDir}/pathtools/lists.go $
|
||||||
${g.bootstrap.srcDir}/pathtools/glob.go | ${g.bootstrap.gcCmd}
|
${g.bootstrap.srcDir}/pathtools/glob.go | ${g.bootstrap.gcCmd}
|
||||||
pkgPath = blueprint/pathtools
|
pkgPath = github.com/google/blueprint/pathtools
|
||||||
default .bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a
|
default $
|
||||||
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: blueprint-proptools
|
# Module: blueprint-proptools
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_package
|
# Type: bootstrap_go_package
|
||||||
# Factory: blueprint/bootstrap.newGoPackageModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoPackageModule
|
||||||
# Defined: Blueprints:49:1
|
# Defined: Blueprints:49:1
|
||||||
|
|
||||||
build .bootstrap/blueprint-proptools/pkg/blueprint/proptools.a: g.bootstrap.gc $
|
build $
|
||||||
${g.bootstrap.srcDir}/proptools/proptools.go | ${g.bootstrap.gcCmd}
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
||||||
pkgPath = blueprint/proptools
|
: g.bootstrap.gc ${g.bootstrap.srcDir}/proptools/proptools.go | $
|
||||||
default .bootstrap/blueprint-proptools/pkg/blueprint/proptools.a
|
${g.bootstrap.gcCmd}
|
||||||
|
pkgPath = github.com/google/blueprint/proptools
|
||||||
|
default $
|
||||||
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: bpfmt
|
# Module: bpfmt
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_binary
|
# Type: bootstrap_go_binary
|
||||||
# Factory: blueprint/bootstrap.newGoBinaryModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
||||||
# Defined: Blueprints:81:1
|
# Defined: Blueprints:81:1
|
||||||
|
|
||||||
build .bootstrap/bpfmt/obj/bpfmt.a: g.bootstrap.gc $
|
build .bootstrap/bpfmt/obj/bpfmt.a: g.bootstrap.gc $
|
||||||
${g.bootstrap.srcDir}/bpfmt/bpfmt.go | ${g.bootstrap.gcCmd} $
|
${g.bootstrap.srcDir}/bpfmt/bpfmt.go | ${g.bootstrap.gcCmd} $
|
||||||
.bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
||||||
incFlags = -I .bootstrap/blueprint-parser/pkg
|
incFlags = -I .bootstrap/blueprint-parser/pkg
|
||||||
pkgPath = bpfmt
|
pkgPath = bpfmt
|
||||||
default .bootstrap/bpfmt/obj/bpfmt.a
|
default .bootstrap/bpfmt/obj/bpfmt.a
|
||||||
|
@ -161,13 +177,14 @@ default .bootstrap/bin/bpfmt
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: bpmodify
|
# Module: bpmodify
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_binary
|
# Type: bootstrap_go_binary
|
||||||
# Factory: blueprint/bootstrap.newGoBinaryModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
||||||
# Defined: Blueprints:87:1
|
# Defined: Blueprints:87:1
|
||||||
|
|
||||||
build .bootstrap/bpmodify/obj/bpmodify.a: g.bootstrap.gc $
|
build .bootstrap/bpmodify/obj/bpmodify.a: g.bootstrap.gc $
|
||||||
${g.bootstrap.srcDir}/bpmodify/bpmodify.go | ${g.bootstrap.gcCmd} $
|
${g.bootstrap.srcDir}/bpmodify/bpmodify.go | ${g.bootstrap.gcCmd} $
|
||||||
.bootstrap/blueprint-parser/pkg/blueprint/parser.a
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a
|
||||||
incFlags = -I .bootstrap/blueprint-parser/pkg
|
incFlags = -I .bootstrap/blueprint-parser/pkg
|
||||||
pkgPath = bpmodify
|
pkgPath = bpmodify
|
||||||
default .bootstrap/bpmodify/obj/bpmodify.a
|
default .bootstrap/bpmodify/obj/bpmodify.a
|
||||||
|
@ -182,18 +199,19 @@ default .bootstrap/bin/bpmodify
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Module: minibp
|
# Module: minibp
|
||||||
|
# Variant:
|
||||||
# Type: bootstrap_go_binary
|
# Type: bootstrap_go_binary
|
||||||
# Factory: blueprint/bootstrap.newGoBinaryModule
|
# Factory: github.com/google/blueprint/bootstrap.newGoBinaryModule
|
||||||
# Defined: Blueprints:72:1
|
# Defined: Blueprints:72:1
|
||||||
|
|
||||||
build .bootstrap/minibp/obj/minibp.a: g.bootstrap.gc $
|
build .bootstrap/minibp/obj/minibp.a: g.bootstrap.gc $
|
||||||
${g.bootstrap.srcDir}/bootstrap/minibp/main.go | ${g.bootstrap.gcCmd} $
|
${g.bootstrap.srcDir}/bootstrap/minibp/main.go | ${g.bootstrap.gcCmd} $
|
||||||
.bootstrap/blueprint-parser/pkg/blueprint/parser.a $
|
.bootstrap/blueprint-parser/pkg/github.com/google/blueprint/parser.a $
|
||||||
.bootstrap/blueprint-proptools/pkg/blueprint/proptools.a $
|
.bootstrap/blueprint-proptools/pkg/github.com/google/blueprint/proptools.a $
|
||||||
.bootstrap/blueprint/pkg/blueprint.a $
|
.bootstrap/blueprint/pkg/github.com/google/blueprint.a $
|
||||||
.bootstrap/blueprint-deptools/pkg/blueprint/deptools.a $
|
.bootstrap/blueprint-deptools/pkg/github.com/google/blueprint/deptools.a $
|
||||||
.bootstrap/blueprint-pathtools/pkg/blueprint/pathtools.a $
|
.bootstrap/blueprint-pathtools/pkg/github.com/google/blueprint/pathtools.a $
|
||||||
.bootstrap/blueprint-bootstrap/pkg/blueprint/bootstrap.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
|
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
|
pkgPath = minibp
|
||||||
default .bootstrap/minibp/obj/minibp.a
|
default .bootstrap/minibp/obj/minibp.a
|
||||||
|
@ -208,7 +226,7 @@ default .bootstrap/bin/minibp
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# Singleton: bootstrap
|
# Singleton: bootstrap
|
||||||
# Factory: blueprint/bootstrap.newSingleton
|
# Factory: github.com/google/blueprint/bootstrap.newSingleton
|
||||||
|
|
||||||
rule s.bootstrap.bigbp
|
rule s.bootstrap.bigbp
|
||||||
command = .bootstrap/bin/minibp -p -d .bootstrap/main.ninja.in.d -m ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
|
command = .bootstrap/bin/minibp -p -d .bootstrap/main.ninja.in.d -m ${g.bootstrap.bootstrapManifest} -o ${out} ${in}
|
||||||
|
|
|
@ -15,11 +15,11 @@
|
||||||
package blueprint
|
package blueprint
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint/parser"
|
|
||||||
"blueprint/proptools"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint/parser"
|
||||||
|
"github.com/google/blueprint/proptools"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
|
@ -133,11 +133,11 @@ baz += foo
|
||||||
//test
|
//test
|
||||||
test /* test */ {
|
test /* test */ {
|
||||||
srcs: [
|
srcs: [
|
||||||
/*"blueprint/bootstrap/bootstrap.go",
|
/*"bootstrap/bootstrap.go",
|
||||||
"blueprint/bootstrap/cleanup.go",*/
|
"bootstrap/cleanup.go",*/
|
||||||
"blueprint/bootstrap/command.go",
|
"bootstrap/command.go",
|
||||||
"blueprint/bootstrap/doc.go", //doc.go
|
"bootstrap/doc.go", //doc.go
|
||||||
"blueprint/bootstrap/config.go", //config.go
|
"bootstrap/config.go", //config.go
|
||||||
],
|
],
|
||||||
deps: ["libabc"],
|
deps: ["libabc"],
|
||||||
incs: []
|
incs: []
|
||||||
|
@ -153,11 +153,11 @@ test2 {
|
||||||
//test
|
//test
|
||||||
test /* test */ {
|
test /* test */ {
|
||||||
srcs: [
|
srcs: [
|
||||||
/*"blueprint/bootstrap/bootstrap.go",
|
/*"bootstrap/bootstrap.go",
|
||||||
"blueprint/bootstrap/cleanup.go",*/
|
"bootstrap/cleanup.go",*/
|
||||||
"blueprint/bootstrap/command.go",
|
"bootstrap/command.go",
|
||||||
"blueprint/bootstrap/config.go", //config.go
|
"bootstrap/config.go", //config.go
|
||||||
"blueprint/bootstrap/doc.go", //doc.go
|
"bootstrap/doc.go", //doc.go
|
||||||
],
|
],
|
||||||
deps: ["libabc"],
|
deps: ["libabc"],
|
||||||
incs: [],
|
incs: [],
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
package blueprint
|
package blueprint
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint/parser"
|
|
||||||
"blueprint/proptools"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/google/blueprint/parser"
|
||||||
|
"github.com/google/blueprint/proptools"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
package blueprint
|
package blueprint
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"blueprint/parser"
|
|
||||||
"blueprint/proptools"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"github.com/google/blueprint/parser"
|
||||||
|
"github.com/google/blueprint/proptools"
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue