Fix unnecessary assumption about source dir name
authorPyry Haulos <phaulos@google.com>
Thu, 24 Sep 2015 20:17:12 +0000 (13:17 -0700)
committerPyry Haulos <phaulos@google.com>
Thu, 24 Sep 2015 20:17:12 +0000 (13:17 -0700)
Build scripts were unnecessarily (and sometimes incorrectly) assuming
that deqp sources would be in a directory called "deqp".

Change-Id: I3c6cf5d850aa5598daa1d0832ee403bb639451a2

scripts/build/common.py

index f3f327e..04ca49c 100644 (file)
@@ -24,8 +24,7 @@ import os
 import shlex
 import subprocess
 
-SRC_BASE_DIR           = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..", "..")))
-DEQP_DIR                       = os.path.join(SRC_BASE_DIR, "deqp")
+DEQP_DIR = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")))
 
 def die (msg):
        print msg