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

Unified Diff: trunk/src/build/android/pylib/gtest/test_package_exe.py

Issue 23926012: Revert 221736 "[android] Adds constants.GetOutDirectory() and co..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/build/android/pylib/gtest/test_package_exe.py
===================================================================
--- trunk/src/build/android/pylib/gtest/test_package_exe.py (revision 222006)
+++ trunk/src/build/android/pylib/gtest/test_package_exe.py (working copy)
@@ -28,9 +28,10 @@
suite_name: Name of the test suite (e.g. base_unittests).
"""
TestPackage.__init__(self, suite_name)
- self.suite_path = os.path.join(constants.GetOutDirectory(), suite_name)
- self._symbols_dir = os.path.join(constants.GetOutDirectory(),
- 'lib.target')
+ product_dir = os.path.join(cmd_helper.OutDirectory.get(),
+ constants.GetBuildType())
+ self.suite_path = os.path.join(product_dir, suite_name)
+ self._symbols_dir = os.path.join(product_dir, 'lib.target')
#override
def GetGTestReturnCode(self, adb):
« no previous file with comments | « trunk/src/build/android/pylib/gtest/test_package_apk.py ('k') | trunk/src/build/android/pylib/host_driven/test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698