Add new build rule for running dtc on Android am: e3cf23ab6a
Original change: https://android-review.googlesource.com/c/platform/external/dtc/+/2953028 Change-Id: I5077b8208fb2ffa7f827be2c06cdc2165f6f2a62 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c4db10d48e
1 changed files with 23 additions and 7 deletions
20
Android.bp
20
Android.bp
|
@ -66,16 +66,20 @@ cc_defaults {
|
||||||
shared_libs: ["libfdt"],
|
shared_libs: ["libfdt"],
|
||||||
|
|
||||||
stl: "none",
|
stl: "none",
|
||||||
|
target: {
|
||||||
|
host: {
|
||||||
dist: {
|
dist: {
|
||||||
targets: [
|
targets: [
|
||||||
"dist_files",
|
"dist_files",
|
||||||
],
|
],
|
||||||
dir: "dtc",
|
dir: "dtc",
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_binary_host {
|
cc_defaults {
|
||||||
name: "dtc",
|
name: "dtc_defaults",
|
||||||
defaults: ["dt_defaults"],
|
defaults: ["dt_defaults"],
|
||||||
srcs: [
|
srcs: [
|
||||||
"checks.c",
|
"checks.c",
|
||||||
|
@ -92,6 +96,18 @@ cc_binary_host {
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_binary {
|
||||||
|
name: "dtc_static",
|
||||||
|
defaults: ["dtc_defaults"],
|
||||||
|
static_executable: true,
|
||||||
|
installable: false, // test only
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_binary_host {
|
||||||
|
name: "dtc",
|
||||||
|
defaults: ["dtc_defaults"],
|
||||||
|
}
|
||||||
|
|
||||||
cc_binary_host {
|
cc_binary_host {
|
||||||
name: "fdtget",
|
name: "fdtget",
|
||||||
defaults: ["dt_defaults"],
|
defaults: ["dt_defaults"],
|
||||||
|
|
Loading…
Reference in a new issue