| OLD | NEW |
| 1 # Copyright (c) 2014 The Native ClientAuthors. All rights reserved. | 1 # Copyright (c) 2014 The Native ClientAuthors. 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 static_library("sel_main") { | 5 static_library("sel_main") { |
| 6 sources = [ | 6 sources = [ |
| 7 "sel_main.c", | 7 "sel_main.c", |
| 8 ] | 8 ] |
| 9 deps = [ | 9 deps = [ |
| 10 "//native_client/build/config/nacl:nacl_base", | 10 "//native_client/build/config/nacl:nacl_base", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "sys_parallel_io.c", | 87 "sys_parallel_io.c", |
| 88 "sys_random.c", | 88 "sys_random.c", |
| 89 "thread_suspension_common.c", | 89 "thread_suspension_common.c", |
| 90 "thread_suspension_unwind.c", | 90 "thread_suspension_unwind.c", |
| 91 ] | 91 ] |
| 92 | 92 |
| 93 if (os == "linux") { | 93 if (os == "linux") { |
| 94 sources += [ | 94 sources += [ |
| 95 "linux/nacl_signal.c", | 95 "linux/nacl_signal.c", |
| 96 ] | 96 ] |
| 97 if (cpu_arch == "x86") { | |
| 98 sources += ["linux/nacl_signal_32.c"] | |
| 99 } | |
| 100 if (cpu_arch == "x64") { | |
| 101 sources += ["linux/nacl_signal_64.c"] | |
| 102 } | |
| 103 } | 97 } |
| 104 | 98 |
| 105 if (os == "mac") { | 99 if (os == "mac") { |
| 106 sources += [ | 100 sources += [ |
| 107 "osx/crash_filter.c", | 101 "osx/crash_filter.c", |
| 108 "osx/mach_exception_handler.c", | 102 "osx/mach_exception_handler.c", |
| 109 "osx/mach_thread_map.c", | 103 "osx/mach_thread_map.c", |
| 110 "osx/nacl_ldt.c", | 104 "osx/nacl_ldt.c", |
| 111 "osx/nacl_thread_nice.c", | 105 "osx/nacl_thread_nice.c", |
| 112 "osx/outer_sandbox.c", | 106 "osx/outer_sandbox.c", |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 libs = ["rt"] | 244 libs = ["rt"] |
| 251 ldflags = ["-pie"] | 245 ldflags = ["-pie"] |
| 252 } | 246 } |
| 253 if (is_linux) { | 247 if (is_linux) { |
| 254 datadeps = [ | 248 datadeps = [ |
| 255 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_boots
trap" | 249 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_boots
trap" |
| 256 ] | 250 ] |
| 257 } | 251 } |
| 258 } | 252 } |
| 259 | 253 |
| OLD | NEW |