OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium 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/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/nacl/config.gni") |
6 | 7 |
7 if (is_nacl) { | 8 if (is_nacl) { |
8 group("ppapi_lib") { | 9 group("ppapi_lib") { |
9 deps = [ | 10 deps = [ |
10 "//native_client/src/untrusted/pthread", | |
11 "//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib", | 11 "//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib", |
12 ] | 12 ] |
| 13 if (!is_nacl_glibc) { |
| 14 # Glibc has its version of pthread library. |
| 15 deps += [ "//native_client/src/untrusted/pthread" ] |
| 16 } |
13 } | 17 } |
14 | 18 |
15 executable("nacl_irt") { | 19 executable("nacl_irt") { |
16 deps = [ | 20 deps = [ |
17 "//base", | 21 "//base", |
18 "//components/tracing", | 22 "//components/tracing", |
19 "//gpu/command_buffer/client", | 23 "//gpu/command_buffer/client", |
20 "//gpu/command_buffer/common", | 24 "//gpu/command_buffer/common", |
21 "//gpu/command_buffer/client:gles2_implementation", | 25 "//gpu/command_buffer/client:gles2_implementation", |
22 "//gpu/ipc", | 26 "//gpu/ipc", |
(...skipping 29 matching lines...) Expand all Loading... |
52 outputs = [ | 56 outputs = [ |
53 "${root_build_dir}/{{source_name_part}}_${suffix}.nexe", | 57 "${root_build_dir}/{{source_name_part}}_${suffix}.nexe", |
54 ] | 58 ] |
55 deps = [ | 59 deps = [ |
56 ":nacl_irt", | 60 ":nacl_irt", |
57 ] | 61 ] |
58 } | 62 } |
59 } | 63 } |
60 | 64 |
61 group("irt") { | 65 group("irt") { |
62 deps = [ | 66 data_deps = [ ":nacl_irt_copy(//build/toolchain/nacl:irt_${target_cpu})" ] |
63 ":nacl_irt_copy(//build/toolchain/nacl:irt_${target_cpu})", | |
64 ] | |
65 } | 67 } |
OLD | NEW |