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

Unified Diff: mojo/nacl/generator/libmojo.cc.tmpl

Issue 1279133006: Removed unused mojo_nacl code and GYP targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - -l Created 5 years, 4 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
« no previous file with comments | « mojo/nacl/generator/interface_dsl.py ('k') | mojo/nacl/generator/mojo_irt.c.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/nacl/generator/libmojo.cc.tmpl
diff --git a/mojo/nacl/generator/libmojo.cc.tmpl b/mojo/nacl/generator/libmojo.cc.tmpl
deleted file mode 100644
index a012798628e9be74663ca2b1002c6715f7ea8c48..0000000000000000000000000000000000000000
--- a/mojo/nacl/generator/libmojo.cc.tmpl
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-{{generator_warning}}
-
-#include "mojo/nacl/mojo_irt.h"
-#include "mojo/public/c/system/core.h"
-#include "native_client/src/public/chrome_main.h"
-#include "native_client/src/public/imc_syscalls.h"
-#include "native_client/src/public/imc_types.h"
-#include "native_client/src/untrusted/irt/irt.h"
-
-// The value for this FD must not conflict with uses inside Chromium. However,
-// mojo/nacl doesn't depend on any Chromium headers, so we can't use a #define
-// from there.
-#define NACL_MOJO_DESC (NACL_CHROME_DESC_BASE + 3)
-
-bool g_irt_mojo_valid = false;
-struct nacl_irt_mojo g_irt_mojo;
-
-struct nacl_irt_mojo* get_irt_mojo() {
- if (!g_irt_mojo_valid) {
- size_t rc = nacl_interface_query(NACL_IRT_MOJO_v0_1,
- &g_irt_mojo,
- sizeof(g_irt_mojo));
- if (rc != sizeof(g_irt_mojo))
- return NULL;
- else
- g_irt_mojo_valid = true;
- }
- return &g_irt_mojo;
-}
-
-{{body}}
« no previous file with comments | « mojo/nacl/generator/interface_dsl.py ('k') | mojo/nacl/generator/mojo_irt.c.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698