Merge "Add target.linux for linux kernel based targets"
This commit is contained in:
commit
9d93e33b1e
1 changed files with 3 additions and 3 deletions
|
@ -468,7 +468,7 @@ func createArchType(props reflect.Type) reflect.Type {
|
|||
"Android64",
|
||||
"Android32",
|
||||
"Bionic",
|
||||
// TODO(dwillemsen): "Linux",
|
||||
"Linux",
|
||||
"Not_windows",
|
||||
"Arm_on_x86",
|
||||
"Arm_on_x86_64",
|
||||
|
@ -479,7 +479,7 @@ func createArchType(props reflect.Type) reflect.Type {
|
|||
for _, archType := range osArchTypeMap[os] {
|
||||
targets = append(targets, os.Field+"_"+archType.Name)
|
||||
|
||||
if false { // TODO(dwillemsen): os.Linux()
|
||||
if os.Linux() {
|
||||
target := "Linux_" + archType.Name
|
||||
if !inList(target, targets) {
|
||||
targets = append(targets, target)
|
||||
|
@ -696,7 +696,7 @@ func (a *ModuleBase) setArchProperties(ctx BottomUpMutatorContext) {
|
|||
// key: value,
|
||||
// },
|
||||
// }
|
||||
if false { // TODO(dwillemsen): os.Linux()
|
||||
if os.Linux() {
|
||||
field = "Linux"
|
||||
prefix = "target.linux"
|
||||
a.appendProperties(ctx, genProps, targetProp, field, prefix)
|
||||
|
|
Loading…
Reference in a new issue