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

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

Issue 251903003: Explicitly include gyp_gen/android_framework_gyp. (Closed) Base URL: https://skia.googlesource.com/skia.git@angle
Patch Set: Created 6 years, 8 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 | « platform_tools/android/gyp_gen/__init__.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/tests/android_framework_gyp_tests.py
diff --git a/platform_tools/android/tests/android_framework_gyp_tests.py b/platform_tools/android/tests/android_framework_gyp_tests.py
index 0b52c6b0383b235f313d1703c55535aa4eecc740..085123f4b9f2b3feda226905d098ae54f2b8f46b 100644
--- a/platform_tools/android/tests/android_framework_gyp_tests.py
+++ b/platform_tools/android/tests/android_framework_gyp_tests.py
@@ -16,10 +16,9 @@ import tempfile
import test_variables
import unittest
-# Path to android_framework_gyp
-sys.path.append(test_variables.GYP_GEN_DIR)
+sys.path.append(test_variables.ANDROID_DIR)
-import android_framework_gyp
+import gyp_gen.android_framework_gyp
GYPD_SUFFIX = ".gypd"
GYP_SUFFIX = ".gyp"
@@ -61,7 +60,7 @@ class CleanGypdTest(unittest.TestCase):
def test_clean(self):
"""Test that clean_gypd_files() deletes .gypd files, and leaves others.
"""
- android_framework_gyp.clean_gypd_files(self.__tmp_dir)
+ gyp_gen.android_framework_gyp.clean_gypd_files(self.__tmp_dir)
for i in range(self.__num_files):
self.assert_file_exists('%s%s' % (str(i), GYPI_SUFFIX))
self.assert_file_exists('%s%s' % (str(i), GYP_SUFFIX))
« no previous file with comments | « platform_tools/android/gyp_gen/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698