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

Unified Diff: mojo/nacl/nonsfi/BUILD.gn

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, 2 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 side-by-side diff with in-line comments
Download patch
Index: mojo/nacl/nonsfi/BUILD.gn
diff --git a/mojo/nacl/nonsfi/BUILD.gn b/mojo/nacl/nonsfi/BUILD.gn
index cf13f4146c8897c29924996e39e2e37bb2f8f3a5..2742af70132f49baf3370e9b7265dfeb63f8aff8 100644
--- a/mojo/nacl/nonsfi/BUILD.gn
+++ b/mojo/nacl/nonsfi/BUILD.gn
@@ -16,6 +16,7 @@ if (!is_nacl) {
]
deps = [
":irt_mojo_nonsfi",
+ "//mojo/public/cpp/environment:standalone",
"//mojo/edk/system",
"//mojo/gles2:mgl",
"//mojo/public/cpp/environment:standalone",
@@ -43,6 +44,9 @@ static_library("irt_mojo_nonsfi") {
sources = [
"irt_mojo_nonsfi.cc",
"irt_mojo_nonsfi.h",
+ "irt_pnacl_translator_compile.cc",
+ "irt_pnacl_translator_link.cc",
+ "irt_resource_open.cc",
"nexe_launcher_nonsfi.cc",
]
@@ -52,8 +56,10 @@ static_library("irt_mojo_nonsfi") {
"//mojo/public/c/gpu:MGL_onscreen",
"//mojo/public/c/gpu:MGL_signal_sync_point",
"//mojo/public/c/system",
+ "//mojo/public/cpp/utility",
"//mojo/public/platform/nacl:mojo_irt_header",
"//native_client/src/nonsfi/irt:irt_interfaces",
+ "//services/nacl:pnacl_translator_bindings",
]
}
@@ -121,7 +127,7 @@ action("prepend_shebang_to_nexe") {
output,
]
- line = "#!mojo mojo:nacl_content_handler_nonsfi"
+ line = "#!mojo mojo:nacl_content_handler_nonsfi_nexe"
args = [
"--input=" + rebase_path(input, root_build_dir),
"--output=" + rebase_path(output, root_build_dir),
« no previous file with comments | « DEPS ('k') | mojo/nacl/nonsfi/irt_mojo_nonsfi.h » ('j') | mojo/nacl/nonsfi/irt_mojo_nonsfi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698