2015-01-31 02:27:36 +01:00
|
|
|
//
|
|
|
|
// WARNING: Modifying this file will NOT automatically regenerate build.ninja.in!
|
|
|
|
//
|
|
|
|
// Before modifying this file make sure minibp is up to date:
|
|
|
|
// 1) "repo sync build/soong" to make sure you have the latest build.ninja.in
|
|
|
|
// 2) build minibp, which builds automicatically through the normal build steps. For example:
|
|
|
|
//
|
|
|
|
// After modifying this file regenerate build.ninja.in and build your changes:
|
|
|
|
// 1) In your build directory, execute "../bootstrap.bash -r" to regenerate build.ninja.in
|
|
|
|
// 2) Build again
|
|
|
|
//
|
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
bootstrap_go_binary {
|
|
|
|
name: "soong_build",
|
|
|
|
deps: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"blueprint",
|
|
|
|
"blueprint-bootstrap",
|
|
|
|
"soong-cc",
|
|
|
|
"soong-common",
|
|
|
|
"soong-config",
|
2015-03-18 21:28:46 +01:00
|
|
|
"soong-genrule",
|
2015-01-31 02:27:36 +01:00
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
srcs: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"cmd/soong_build/main.go",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
primaryBuilder: true,
|
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
bootstrap_go_binary {
|
|
|
|
name: "soong_glob",
|
|
|
|
deps: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"soong-glob",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
srcs: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"cmd/soong_glob/soong_glob.go",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-glob",
|
|
|
|
pkgPath: "android/soong/glob",
|
|
|
|
deps: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"blueprint-deptools",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
srcs: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"glob/glob.go",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-common",
|
|
|
|
pkgPath: "android/soong/common",
|
|
|
|
deps: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"blueprint",
|
|
|
|
"blueprint-bootstrap",
|
2015-03-14 22:26:32 +01:00
|
|
|
"soong-glob",
|
2015-01-31 02:27:36 +01:00
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
srcs: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"common/arch.go",
|
2015-03-17 21:24:18 +01:00
|
|
|
"common/checkbuild.go",
|
2015-01-31 02:27:36 +01:00
|
|
|
"common/defs.go",
|
|
|
|
"common/glob.go",
|
|
|
|
"common/module.go",
|
|
|
|
"common/paths.go",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-config",
|
|
|
|
pkgPath: "android/soong/config",
|
|
|
|
deps: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"blueprint",
|
|
|
|
"blueprint-bootstrap",
|
|
|
|
"soong-common",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
srcs: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"config/config.go",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-cc",
|
|
|
|
pkgPath: "android/soong/cc",
|
|
|
|
deps: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"blueprint",
|
|
|
|
"blueprint-pathtools",
|
|
|
|
"soong-common",
|
|
|
|
"soong-config",
|
2015-03-18 21:28:46 +01:00
|
|
|
"soong-genrule",
|
2015-01-31 02:27:36 +01:00
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
srcs: [
|
2015-01-31 02:27:36 +01:00
|
|
|
"cc/builder.go",
|
|
|
|
"cc/cc.go",
|
|
|
|
"cc/clang.go",
|
|
|
|
"cc/toolchain.go",
|
|
|
|
"cc/util.go",
|
|
|
|
|
|
|
|
"cc/arm_device.go",
|
|
|
|
"cc/arm64_device.go",
|
|
|
|
|
|
|
|
"cc/x86_linux_host.go",
|
|
|
|
],
|
2015-03-14 22:26:32 +01:00
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-18 21:28:46 +01:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-genrule",
|
|
|
|
pkgPath: "android/soong/genrule",
|
|
|
|
deps: [
|
|
|
|
"blueprint",
|
|
|
|
"blueprint-pathtools",
|
|
|
|
"soong-common",
|
|
|
|
"soong-config",
|
|
|
|
],
|
|
|
|
srcs: [
|
|
|
|
"genrule/genrule.go",
|
|
|
|
],
|
|
|
|
}
|
2015-03-14 22:28:22 +01:00
|
|
|
//
|
|
|
|
// androidmk Android.mk to Blueprints translator
|
|
|
|
//
|
|
|
|
|
|
|
|
bootstrap_go_binary {
|
|
|
|
name: "androidmk",
|
|
|
|
srcs: [
|
|
|
|
"androidmk/cmd/androidmk/android.go",
|
|
|
|
"androidmk/cmd/androidmk/androidmk.go",
|
|
|
|
"androidmk/cmd/androidmk/values.go",
|
|
|
|
],
|
|
|
|
deps: [
|
|
|
|
"androidmk-parser",
|
|
|
|
"blueprint-parser",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
bootstrap_go_package {
|
|
|
|
name: "androidmk-parser",
|
|
|
|
pkgPath: "android/soong/androidmk/parser",
|
|
|
|
srcs: [
|
|
|
|
"androidmk/parser/make_strings.go",
|
|
|
|
"androidmk/parser/makething.go",
|
|
|
|
"androidmk/parser/parser.go",
|
|
|
|
"androidmk/parser/scope.go",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
// C static libraries extracted from the gcc toolchain
|
|
|
|
//
|
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
toolchain_library {
|
|
|
|
name: "libatomic",
|
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
toolchain_library {
|
|
|
|
name: "libgcc",
|
|
|
|
}
|
2015-01-31 02:27:36 +01:00
|
|
|
|
2015-03-14 22:26:32 +01:00
|
|
|
toolchain_library {
|
|
|
|
name: "libgcov",
|
|
|
|
}
|