summaryrefslogtreecommitdiff
path: root/src/compiler/dex/write_elf.cc
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2013-03-07 00:02:40 -0800
committer Brian Carlstrom <bdc@google.com> 2013-03-07 00:02:40 -0800
commit3f47c12487250f61f3be95e9f275e3b08e2c49fb (patch)
tree940732d0835af1cf80e8ec41eac6cafaca102a4c /src/compiler/dex/write_elf.cc
parent650d7a60716a05680f13d2bd9190b633507e958f (diff)
Fix portable build on build server by removing depenency on ANDROID_HOST_OUT
Change-Id: I713a156468d14e07c784013c3c37a18c3c075a71
Diffstat (limited to 'src/compiler/dex/write_elf.cc')
-rw-r--r--src/compiler/dex/write_elf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/dex/write_elf.cc b/src/compiler/dex/write_elf.cc
index 7e3d51283a..acec531b6a 100644
--- a/src/compiler/dex/write_elf.cc
+++ b/src/compiler/dex/write_elf.cc
@@ -23,13 +23,13 @@ class DexFile;
} // namespace art
extern "C" bool WriteElf(art::CompilerDriver& driver,
- const std::string* host_prefix,
+ const std::string& android_root,
bool is_host,
const std::vector<const art::DexFile*>& dex_files,
std::vector<uint8_t>& oat_contents,
art::File* file)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
- return art::ElfWriter::Create(file, oat_contents, dex_files, host_prefix, is_host, driver);
+ return art::ElfWriter::Create(file, oat_contents, dex_files, android_root, is_host, driver);
}
extern "C" bool FixupElf(art::File* file, uintptr_t oat_data_begin) {
return art::ElfWriter::Fixup(file, oat_data_begin);