| OLD | NEW |
| 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
| 6 import("//native_client/src/trusted/asm.gni") | 6 import("//native_client/src/trusted/asm.gni") |
| 7 | 7 |
| 8 source_set("sel_main") { | 8 source_set("sel_main") { |
| 9 sources = [ | 9 sources = [ |
| 10 "sel_main.c", | 10 "sel_main.c", |
| 11 ] | 11 ] |
| 12 deps = [ | 12 deps = [ |
| 13 "//build/config/nacl:nacl_base", | 13 "//build/config/nacl:nacl_base", |
| 14 "//native_client/src/trusted/debug_stub:debug_stub", | 14 "//native_client/src/trusted/debug_stub:debug_stub", |
| 15 ":sel", | 15 ":sel", |
| 16 ] | 16 ] |
| 17 } | 17 } |
| 18 | 18 |
| 19 source_set("sel_main_chrome") { | 19 static_library("sel_main_chrome") { |
| 20 sources = [ | 20 sources = [ |
| 21 "sel_main_chrome.c", | 21 "sel_main_chrome.c", |
| 22 ] | 22 ] |
| 23 deps = [ | 23 deps = [ |
| 24 "//build/config/nacl:nacl_base", | 24 "//build/config/nacl:nacl_base", |
| 25 "//native_client/src/trusted/debug_stub:debug_stub", | 25 "//native_client/src/trusted/debug_stub:debug_stub", |
| 26 ":sel", | 26 ":sel", |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 | 29 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 "arch/mips/nacl_syscall.S", | 81 "arch/mips/nacl_syscall.S", |
| 82 "arch/mips/tramp_mips.S", | 82 "arch/mips/tramp_mips.S", |
| 83 ] | 83 ] |
| 84 } | 84 } |
| 85 deps = [ | 85 deps = [ |
| 86 "//build/config/nacl:nacl_base", | 86 "//build/config/nacl:nacl_base", |
| 87 ] | 87 ] |
| 88 } | 88 } |
| 89 } | 89 } |
| 90 | 90 |
| 91 source_set("sel") { | 91 static_library("sel") { |
| 92 sources = [ | 92 sources = [ |
| 93 "dyn_array.c", | 93 "dyn_array.c", |
| 94 "elf_util.c", | 94 "elf_util.c", |
| 95 "filename_util.cc", | 95 "filename_util.cc", |
| 96 "load_file.c", | 96 "load_file.c", |
| 97 "nacl_all_modules.c", | 97 "nacl_all_modules.c", |
| 98 "nacl_app_thread.c", | 98 "nacl_app_thread.c", |
| 99 "nacl_copy.c", | 99 "nacl_copy.c", |
| 100 "nacl_desc_effector_ldr.c", | 100 "nacl_desc_effector_ldr.c", |
| 101 "nacl_error_gio.c", | 101 "nacl_error_gio.c", |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 configs -= [ "//build/config:default_libs" ] | 350 configs -= [ "//build/config:default_libs" ] |
| 351 libs = [ "rt" ] | 351 libs = [ "rt" ] |
| 352 ldflags = [ "-pie" ] | 352 ldflags = [ "-pie" ] |
| 353 } | 353 } |
| 354 if (is_linux) { | 354 if (is_linux) { |
| 355 data_deps = [ | 355 data_deps = [ |
| 356 "linux:bootstrap", | 356 "linux:bootstrap", |
| 357 ] | 357 ] |
| 358 } | 358 } |
| 359 } | 359 } |
| OLD | NEW |