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

Unified Diff: build/android/devil/env/env_config.py

Issue 1316413003: [Android] Add a configurable environment for devil/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: build/android/devil/env/env_config.py
diff --git a/build/android/pylib/device/decorators.py b/build/android/devil/env/env_config.py
similarity index 53%
copy from build/android/pylib/device/decorators.py
copy to build/android/devil/env/env_config.py
index f8c2fddde4855b16975f5bfc6d8f9f6b3885c002..dab5c1d1106343cfdedddd724f1df0544c4519ee 100644
--- a/build/android/pylib/device/decorators.py
+++ b/build/android/devil/env/env_config.py
@@ -2,7 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# pylint: disable=unused-wildcard-import
-# pylint: disable=wildcard-import
-from devil.android.decorators import *
+class EnvConfig(object):
+
+ def __init__(self, **kwargs):
+ self._configured = kwargs
+
+ @classmethod
+ def default(cls):
+ return cls()

Powered by Google App Engine
This is Rietveld 408576698