| 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("//native_client/src/trusted/asm.gni") | 5 import("//native_client/src/trusted/asm.gni") |
| 6 | 6 |
| 7 source_set("sel_main") { | 7 source_set("sel_main") { |
| 8 sources = [ | 8 sources = [ |
| 9 "sel_main.c", | 9 "sel_main.c", |
| 10 ] | 10 ] |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 rebase_path(outputs, root_build_dir) | 329 rebase_path(outputs, root_build_dir) |
| 330 } | 330 } |
| 331 } | 331 } |
| 332 | 332 |
| 333 executable("sel_ldr") { | 333 executable("sel_ldr") { |
| 334 sources = [ | 334 sources = [ |
| 335 "nacl_test_injection_main.c", | 335 "nacl_test_injection_main.c", |
| 336 ] | 336 ] |
| 337 deps = [ | 337 deps = [ |
| 338 ":sel_main", | 338 ":sel_main", |
| 339 "//build/win:default_exe_manifest", |
| 339 ] | 340 ] |
| 340 if (is_linux) { | 341 if (is_linux) { |
| 341 configs -= [ "//build/config:default_libs" ] | 342 configs -= [ "//build/config:default_libs" ] |
| 342 libs = [ "rt" ] | 343 libs = [ "rt" ] |
| 343 ldflags = [ "-pie" ] | 344 ldflags = [ "-pie" ] |
| 344 } | 345 } |
| 345 if (is_linux) { | 346 if (is_linux) { |
| 346 data_deps = [ | 347 data_deps = [ |
| 347 "linux:bootstrap", | 348 "linux:bootstrap", |
| 348 ] | 349 ] |
| 349 } | 350 } |
| 350 } | 351 } |
| OLD | NEW |