[Lldb-commits] [lldb] r317562 - test: Clean up finalize_build_dictionary

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 7 02:36:42 PST 2017


Author: labath
Date: Tue Nov  7 02:36:42 2017
New Revision: 317562

URL: http://llvm.org/viewvc/llvm-project?rev=317562&view=rev
Log:
test: Clean up finalize_build_dictionary

We only support API>=16 now, so we don't need to check the API level of
the android device.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py?rev=317562&r1=317561&r2=317562&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py Tue Nov  7 02:36:42 2017
@@ -100,8 +100,7 @@ def finalize_build_dictionary(dictionary
         if dictionary is None:
             dictionary = {}
         dictionary["OS"] = "Android"
-        if android_device_api() >= 16:
-            dictionary["PIE"] = 1
+        dictionary["PIE"] = 1
     return dictionary
 
 




More information about the lldb-commits mailing list