| 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 # Autogenerated from src/shared/platform/build.scons. | 5 # Autogenerated from src/shared/platform/build.scons. |
| 6 | 6 |
| 7 static_library("platform") { | 7 static_library("platform") { |
| 8 if (current_os == "nacl") { | 8 if (current_os == "nacl") { |
| 9 sources = [ | 9 sources = [ |
| 10 "nacl_check.c", | 10 "nacl_check.c", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 "win/port_win.c", | 74 "win/port_win.c", |
| 75 "win/xlate_system_error.c", | 75 "win/xlate_system_error.c", |
| 76 ] | 76 ] |
| 77 } | 77 } |
| 78 | 78 |
| 79 if (current_os == "mac") { | 79 if (current_os == "mac") { |
| 80 sources += [ | 80 sources += [ |
| 81 "osx/nacl_clock.c", | 81 "osx/nacl_clock.c", |
| 82 "osx/nacl_host_dir.c", | 82 "osx/nacl_host_dir.c", |
| 83 "osx/nacl_semaphore.c", | 83 "osx/nacl_semaphore.c", |
| 84 "osx/strnlen_osx.c", | |
| 85 ] | 84 ] |
| 86 } | 85 } |
| 87 | 86 |
| 88 if (is_linux) { | 87 if (is_linux) { |
| 89 sources += [ | 88 sources += [ |
| 90 "linux/nacl_clock.c", | 89 "linux/nacl_clock.c", |
| 91 "linux/nacl_host_dir.c", | 90 "linux/nacl_host_dir.c", |
| 92 "linux/nacl_semaphore.c", | 91 "linux/nacl_semaphore.c", |
| 93 ] | 92 ] |
| 94 } | 93 } |
| 95 | 94 |
| 96 if (current_os == "win") { | 95 if (current_os == "win") { |
| 97 cflags_c = [ | 96 cflags_c = [ |
| 98 "/DUNICODE", | 97 "/DUNICODE", |
| 99 "/D_CRT_RAND_S", | 98 "/D_CRT_RAND_S", |
| 100 "/D_UNICODE", | 99 "/D_UNICODE", |
| 101 ] | 100 ] |
| 102 } | 101 } |
| 103 } | 102 } |
| 104 deps = [ | 103 deps = [ |
| 105 "//build/config/nacl:nacl_base", | 104 "//build/config/nacl:nacl_base", |
| 106 "//native_client/src/shared/gio:gio", | 105 "//native_client/src/shared/gio:gio", |
| 107 ] | 106 ] |
| 108 } | 107 } |
| OLD | NEW |