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

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: 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..57530243b2eb827825074e03e096a71465fdee51 100644
--- a/mojo/nacl/nonsfi/BUILD.gn
+++ b/mojo/nacl/nonsfi/BUILD.gn
@@ -17,7 +17,6 @@ if (!is_nacl) {
deps = [
":irt_mojo_nonsfi",
"//mojo/edk/system",
- "//mojo/gles2:mgl",
"//mojo/public/cpp/environment:standalone",
"//native_client/src/nonsfi/loader:elf_loader",
]
@@ -43,6 +42,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,14 +54,18 @@ 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",
+ "//mojo/public/platform/native:mgl_thunks",
+ "//mojo/public/platform/native:mgl_onscreen_thunks",
"//native_client/src/nonsfi/irt:irt_interfaces",
+ "//services/nacl:pnacl_translator_bindings",
]
}
group("mojo_nacl_nonsfi") {
deps = [
- "//services/nacl:nacl_content_handler_nonsfi",
+ "//services/nacl:content_handler_nonsfi",
]
}
@@ -121,7 +127,7 @@ action("prepend_shebang_to_nexe") {
output,
]
- line = "#!mojo mojo:nacl_content_handler_nonsfi"
+ line = "#!mojo mojo:content_handler_nonsfi_nexe"
args = [
"--input=" + rebase_path(input, root_build_dir),
"--output=" + rebase_path(output, root_build_dir),

Powered by Google App Engine
This is Rietveld 408576698