Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: components/nacl/loader/BUILD.gn

Issue 2305913002: Use ChannelMojo from the browser to NaCl loader process. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 # This exists just to make 'gn check' happy with :minimal and 44 # This exists just to make 'gn check' happy with :minimal and
45 # :nacl_helper_win_64 (below). They can't depend on //content/public/common 45 # :nacl_helper_win_64 (below). They can't depend on //content/public/common
46 # or anything like that, because that would bring in lots more than counts 46 # or anything like that, because that would bring in lots more than counts
47 # as "minimal" (stuff that should not be in the nacl64.exe build). 47 # as "minimal" (stuff that should not be in the nacl64.exe build).
48 source_set("minimal_content_dummy") { 48 source_set("minimal_content_dummy") {
49 check_includes = false 49 check_includes = false
50 sources = [ 50 sources = [
51 "//content/public/common/child_process_sandbox_support_linux.h", 51 "//content/public/common/child_process_sandbox_support_linux.h",
52 "//content/public/common/content_descriptors.h",
52 "//content/public/common/content_switches.h", 53 "//content/public/common/content_switches.h",
53 "//content/public/common/main_function_params.h", 54 "//content/public/common/main_function_params.h",
55 "//content/public/common/mojo_channel_switches.h",
54 "//content/public/common/sandbox_init.h", 56 "//content/public/common/sandbox_init.h",
55 ] 57 ]
56 } 58 }
57 59
58 source_set("loader") { 60 source_set("loader") {
59 public_deps = [ 61 public_deps = [
60 ":minimal", 62 ":minimal",
61 ] 63 ]
62 deps = [ 64 deps = [
63 "//components/nacl/common", 65 "//components/nacl/common",
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 "nacl_helper_win_64.h", 172 "nacl_helper_win_64.h",
171 ] 173 ]
172 174
173 deps = [ 175 deps = [
174 ":minimal", 176 ":minimal",
175 ":minimal_content_dummy", 177 ":minimal_content_dummy",
176 "//base", 178 "//base",
177 "//components/nacl/broker", 179 "//components/nacl/broker",
178 "//components/nacl/common:switches", 180 "//components/nacl/common:switches",
179 "//content/public/common:static_switches", 181 "//content/public/common:static_switches",
182 "//mojo/edk/system",
180 "//sandbox", 183 "//sandbox",
181 ] 184 ]
182 } 185 }
183 } 186 }
184 187
185 if (is_nacl_nonsfi) { 188 if (is_nacl_nonsfi) {
186 executable("nacl_helper_nonsfi_nexe") { 189 executable("nacl_helper_nonsfi_nexe") {
187 output_name = "nacl_helper_nonsfi" 190 output_name = "nacl_helper_nonsfi"
188 set_sources_assignment_filter([]) 191 set_sources_assignment_filter([])
189 sources = [ 192 sources = [
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", 283 "${root_out_dir}/nacl_helper_nonsfi_unittests_main",
281 ] 284 ]
282 outputs = [ 285 outputs = [
283 "${root_build_dir}/{{source_file_part}}", 286 "${root_build_dir}/{{source_file_part}}",
284 ] 287 ]
285 deps = [ 288 deps = [
286 ":nacl_helper_nonsfi_unittests_main", 289 ":nacl_helper_nonsfi_unittests_main",
287 ] 290 ]
288 } 291 }
289 } 292 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698