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

Side by Side Diff: mojo/public/mojo_application.gni

Issue 1382713002: Creating a pexe content handler to translate and run pexes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added Mojom interface to communicate with translation nexes Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/module_args/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 import("mojo.gni") 6 import("mojo.gni")
7 import("mojo_sdk.gni") 7 import("mojo_sdk.gni")
8 8
9 # Generate a binary mojo application.The parameters of this template are those 9 # Generate a binary mojo application.The parameters of this template are those
10 # of a shared library. 10 # of a shared library.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 ] 211 ]
212 if (current_cpu != "pnacl") { 212 if (current_cpu != "pnacl") {
213 deps += [ ":${executable_target_name}" ] 213 deps += [ ":${executable_target_name}" ]
214 } 214 }
215 } 215 }
216 216
217 action(executable_target_name) { 217 action(executable_target_name) {
218 if (current_cpu == "pnacl") { 218 if (current_cpu == "pnacl") {
219 input_file_extension = ".pexe" 219 input_file_extension = ".pexe"
220 output_file_extension = ".pexe.mojo" 220 output_file_extension = ".pexe.mojo"
221 content_handler = "pexe_content_handler" 221 content_handler = "nacl_content_handler_nonsfi_pexe"
222 } else { 222 } else {
223 input_file_extension = ".nexe" 223 input_file_extension = ".nexe"
224 output_file_extension = "_${target_cpu}.nexe.mojo" 224 output_file_extension = "_${target_cpu}.nexe.mojo"
225 content_handler = "nacl_content_handler" 225 content_handler = "nacl_content_handler"
226 } 226 }
227 input_file = "${base_target_name}${input_file_extension}" 227 input_file = "${base_target_name}${input_file_extension}"
228 output_file = "${base_target_name}${output_file_extension}" 228 output_file = "${base_target_name}${output_file_extension}"
229 229
230 forward_variables_from(invoker, 230 forward_variables_from(invoker,
231 [ 231 [
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 deps = [ 426 deps = [
427 ":${copy_symbols_target}", 427 ":${copy_symbols_target}",
428 ] 428 ]
429 429
430 public_deps = [ 430 public_deps = [
431 ":${zip_action_name}", 431 ":${zip_action_name}",
432 ] 432 ]
433 } 433 }
434 } 434 }
435 } 435 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698