Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4de13cb0 authored by Jack He's avatar Jack He Committed by android-build-merger
Browse files

Use DIST_DIR from environment for XML log output am: 5b550d6d

am: c86787ae

Change-Id: I0c042d21a8b9d15052b3616f035df17278e1dd4c
parents 95b8281b c86787ae
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -75,6 +75,10 @@ def get_android_host_out_or_die():


def get_android_dist_dir_or_die():
  # Check if $DIST_DIR is predefined as environment variable
  value = os.environ.get('DIST_DIR')
  if not value:
    # If not use the default path
    ANDROID_BUILD_TOP = get_android_root_or_die()
    value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist')
  if not os.path.isdir(value):