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

Unified Diff: platform_tools/android/tests/helpers.py

Issue 140503007: Scripts to generate Android.mk for framework Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update tests. Created 6 years, 10 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: platform_tools/android/tests/helpers.py
diff --git a/platform_tools/android/tests/helpers.py b/platform_tools/android/tests/helpers.py
new file mode 100644
index 0000000000000000000000000000000000000000..e95a15c3949064381427403448ae4d9f4ee4cc9c
--- /dev/null
+++ b/platform_tools/android/tests/helpers.py
@@ -0,0 +1,22 @@
+#!/usr/bin/python
+
+# Copyright 2014 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Common code for tests.
epoger 2014/02/06 14:35:17 optional: seems like this module is really more a
scroggo 2014/02/06 15:13:35 Done. I think I expected to pull more code in her
+"""
+
+import os
+
+# Find this file so we can find the python files to test.
+SCRIPT_DIR = os.path.dirname(__file__)
+ANDROID_DIR = os.path.normpath(os.path.join(SCRIPT_DIR, os.pardir))
+
+# Path to gyp_to_android.
+BIN_DIR = os.path.join(ANDROID_DIR, 'bin')
+
+# Path to generator files.
+GYP_GEN_DIR = os.path.join(ANDROID_DIR, 'gyp_gen')

Powered by Google App Engine
This is Rietveld 408576698