| OLD | NEW |
| 1 # Copyright 2014 The Native Client Authors. All rights reserved. | 1 # Copyright 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 group("all_desc") { | 5 group("all_desc") { |
| 6 deps = [ | 6 deps = [ |
| 7 ":desc_wrapper", | 7 ":desc_wrapper", |
| 8 ":nrd_xfer" | 8 ":nrd_xfer" |
| 9 ] | 9 ] |
| 10 } | 10 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 "nacl_desc_sync_socket.c", | 46 "nacl_desc_sync_socket.c", |
| 47 "nacl_desc_sync_socket.h", | 47 "nacl_desc_sync_socket.h", |
| 48 "nrd_all_modules.c", | 48 "nrd_all_modules.c", |
| 49 "nrd_all_modules.h", | 49 "nrd_all_modules.h", |
| 50 "nrd_xfer.c", | 50 "nrd_xfer.c", |
| 51 "nrd_xfer.h", | 51 "nrd_xfer.h", |
| 52 "nrd_xfer_intern.h", | 52 "nrd_xfer_intern.h", |
| 53 ] | 53 ] |
| 54 | 54 |
| 55 if (os == "linux") { | 55 if (os == "linux") { |
| 56 sources += [ | 56 sources += ["posix/nacl_desc.c"] |
| 57 "linux/nacl_desc_sysv_shm.c", | |
| 58 "linux/nacl_desc_sysv_shm.h", | |
| 59 "posix/nacl_desc.c", | |
| 60 ] | |
| 61 } | 57 } |
| 62 | 58 |
| 63 if (os == "mac") { | 59 if (os == "mac") { |
| 64 sources += ["posix/nacl_desc.c"] | 60 sources += ["posix/nacl_desc.c"] |
| 65 } | 61 } |
| 66 | 62 |
| 67 if (os == "win") { | 63 if (os == "win") { |
| 68 sources += [ | 64 sources += [ |
| 69 "win/nacl_desc.c", | 65 "win/nacl_desc.c", |
| 70 "nacl_desc_conn_cap.c", | 66 "nacl_desc_conn_cap.c", |
| 71 "nacl_desc_imc_bound_desc.c", | 67 "nacl_desc_imc_bound_desc.c", |
| 72 "nacl_makeboundsock.c", | 68 "nacl_makeboundsock.c", |
| 73 ] | 69 ] |
| 74 } else { | 70 } else { |
| 75 sources += [ | 71 sources += [ |
| 76 "posix/nacl_desc_conn_cap.c", | 72 "posix/nacl_desc_conn_cap.c", |
| 77 "posix/nacl_desc_imc_bound_desc.c", | 73 "posix/nacl_desc_imc_bound_desc.c", |
| 78 "posix/nacl_makeboundsock.c", | 74 "posix/nacl_makeboundsock.c", |
| 79 ] | 75 ] |
| 80 } | 76 } |
| 81 } | 77 } |
| 82 | 78 |
| 83 static_library("desc_wrapper") { | 79 static_library("desc_wrapper") { |
| 84 include_dirs = ["."] | 80 include_dirs = ["."] |
| 85 sources = [ | 81 sources = [ |
| 86 "nacl_desc_wrapper.cc" | 82 "nacl_desc_wrapper.cc" |
| 87 ] | 83 ] |
| 88 } | 84 } |
| OLD | NEW |