blob: d3fc3e2f12bfff22028a66c69e384c358edffda4 [file] [log] [blame]
# Copyright 2015 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("elf_loader") {
sources = [
"elf_loader.c",
]
deps = [
"//build/config/nacl:nacl_base",
"//native_client/src/shared/platform:platform",
]
}
if (is_linux || is_nacl) {
executable("nonsfi_loader") {
sources = [
"elf_loader_main.c",
]
deps = [
":elf_loader",
"//native_client/src/nonsfi/irt:irt_interfaces",
"//native_client/src/shared/platform",
]
if (is_nacl) {
deps += [
"//native_client/src/nonsfi/irt:nacl_sys_private",
"//native_client/src/untrusted/nacl",
]
}
}
}