From 0f4e0d6c5d3688766747f353e1799c259d6c0d99 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 27 Jul 2016 10:56:55 -0700 Subject: [PATCH] Add art Re-land I557c86d2282178d215ea17abb71e556bdc4ba722 Change-Id: Ic26e1a6b17569acbfe68b4a219982ce45cecefbd --- android/config.go | 13 +++++++++++++ root.bp | 1 + 2 files changed, 14 insertions(+) diff --git a/android/config.go b/android/config.go index 196df5585..6c524e1aa 100644 --- a/android/config.go +++ b/android/config.go @@ -360,6 +360,19 @@ func (c *config) Android64() bool { return false } +func (c *config) LibartImgHostBaseAddress() string { + return "0x60000000" +} + +func (c *config) LibartImgDeviceBaseAddress() string { + switch c.Targets[Device][0].Arch.ArchType { + default: + return "0x70000000" + case Mips, Mips64: + return "0x30000000" + } +} + func (c *deviceConfig) Arches() []Arch { var arches []Arch for _, target := range c.config.Targets[Device] { diff --git a/root.bp b/root.bp index 4b03cf14f..c4f2d573b 100644 --- a/root.bp +++ b/root.bp @@ -6,6 +6,7 @@ subdirs = [ ] optional_subdirs = [ + "art", "bionic", "build/kati", "build/tools/*",