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 import("//build/config/nacl/config.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 assert(enable_nacl) | 9 assert(enable_nacl) |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 "//content/public/common/sandbox_init.h", | 54 "//content/public/common/sandbox_init.h", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 source_set("loader") { | 58 source_set("loader") { |
59 public_deps = [ | 59 public_deps = [ |
60 ":minimal", | 60 ":minimal", |
61 ] | 61 ] |
62 deps = [ | 62 deps = [ |
63 "//components/nacl/common", | 63 "//components/nacl/common", |
64 "//content/public/common", | |
65 "//ppapi/shared_impl", | 64 "//ppapi/shared_impl", |
66 ] | 65 ] |
67 | 66 |
68 data_deps = [ | 67 data_deps = [ |
69 "//ppapi/native_client:irt", | 68 "//ppapi/native_client:irt", |
70 "//ppapi/native_client/src/untrusted/pnacl_support_extension", | 69 "//ppapi/native_client/src/untrusted/pnacl_support_extension", |
71 ] | 70 ] |
72 } | 71 } |
73 | 72 |
74 test("nacl_loader_unittests") { | 73 test("nacl_loader_unittests") { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 "nacl_helper_linux.cc", | 106 "nacl_helper_linux.cc", |
108 "nacl_helper_linux.h", | 107 "nacl_helper_linux.h", |
109 ] | 108 ] |
110 | 109 |
111 deps = [ | 110 deps = [ |
112 ":loader", | 111 ":loader", |
113 "//base", | 112 "//base", |
114 "//build/config/sanitizers:deps_no_options", | 113 "//build/config/sanitizers:deps_no_options", |
115 "//components/nacl/common:switches", | 114 "//components/nacl/common:switches", |
116 "//components/nacl/loader/sandbox_linux", | 115 "//components/nacl/loader/sandbox_linux", |
117 "//content/public/common", | 116 "//content/public/common:content_descriptors", |
118 "//crypto", | 117 "//crypto", |
119 "//ipc", | 118 "//ipc", |
120 "//mojo/edk/system", | 119 "//mojo/edk/system", |
121 "//sandbox/linux:sandbox_services", | 120 "//sandbox/linux:sandbox_services", |
122 "//url/ipc:url_ipc", | 121 "//url/ipc:url_ipc", |
123 ] | 122 ] |
124 | 123 |
125 cflags = [ "-fPIE" ] | 124 cflags = [ "-fPIE" ] |
126 | 125 |
127 ldflags = [ "-pie" ] | 126 ldflags = [ "-pie" ] |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", | 279 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", |
281 ] | 280 ] |
282 outputs = [ | 281 outputs = [ |
283 "${root_build_dir}/{{source_file_part}}", | 282 "${root_build_dir}/{{source_file_part}}", |
284 ] | 283 ] |
285 deps = [ | 284 deps = [ |
286 ":nacl_helper_nonsfi_unittests_main", | 285 ":nacl_helper_nonsfi_unittests_main", |
287 ] | 286 ] |
288 } | 287 } |
289 } | 288 } |
OLD | NEW |