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

Unified Diff: mojo/public/python/dummy_mojo_system/mojo_system.py

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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/public/python/c_thunks.pxd ('k') | mojo/public/python/mojo_application/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/dummy_mojo_system/mojo_system.py
diff --git a/mojo/public/python/dummy_mojo_system/mojo_system.py b/mojo/public/python/dummy_mojo_system/mojo_system.py
deleted file mode 100644
index 2775dd4c9b2ed65e2d04aaa4d9ce34c989c89dd6..0000000000000000000000000000000000000000
--- a/mojo/public/python/dummy_mojo_system/mojo_system.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2015 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.
-
-"""
-This module sits in the place of mojo_system when mojo_system is not needed.
-
-This makes it possible to use mojom serialization/deserialization without
-building mojo_system.
-
-In order to use this module, simply make sure it can be found on the python
-path before loading any generated mojom modules.
-"""
-
-import sys
-
-
-class DummyMojoSystem(object):
- def __getattr__(self, attr):
- raise Exception("The dummy mojo_system does not support handles, interface "
- "requests or message pipes.")
-
-
-# Replaces this module with an instance of DummyMojoSystem.
-sys.modules[__name__] = DummyMojoSystem()
« no previous file with comments | « mojo/public/python/c_thunks.pxd ('k') | mojo/public/python/mojo_application/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698