From 47cf66b8d1b9e479ab87b54403480cb39e3acae8 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 16 Sep 2015 16:48:54 -0700 Subject: [PATCH] Add platform_sdk_version product variable For libc to use Change-Id: I5048509e27ea4e4dc7773e7bd33e7f7b4deca608 --- common/variable.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/variable.go b/common/variable.go index 0118a6a3e..bf7b594a3 100644 --- a/common/variable.go +++ b/common/variable.go @@ -44,6 +44,9 @@ type variableProperties struct { Dlmalloc_alignment struct { Cflags []string } + Platform_sdk_version struct { + Asflags []string + } } } @@ -53,15 +56,21 @@ type productVariables struct { Device_uses_jemalloc *bool `json:",omitempty"` Device_uses_dlmalloc *bool `json:",omitempty"` Dlmalloc_alignment *int `json:",omitempty"` + Platform_sdk_version *int } func boolPtr(v bool) *bool { return &v } +func intPtr(v int) *int { + return &v +} + func (productVariables) DefaultConfig() jsonConfigurable { v := productVariables{ Device_uses_jemalloc: boolPtr(true), + Platform_sdk_version: intPtr(22), } return v }