diff options
author | Bruno Martins <bgcngm@gmail.com> | 2019-09-23 11:51:33 +0100 |
---|---|---|
committer | Rashed Abdel-Tawab <rashedabdeltawab@gmail.com> | 2019-09-29 03:06:49 +0200 |
commit | bb05ee5be5721cef8373f11394412cdbf9f6cbb8 (patch) | |
tree | 09ab512489b127ee02eeaaa6b636f1b3b3df6510 /extract_utils.sh | |
parent | f085bac85865e363f4712e51c2728ee0daeb4cdb (diff) |
extract_utils: Source the prebuilts from the new repo
The prebuilt tools now live in prebuilts/tools-lineage.
Change-Id: I4022210c52e1002aae0c6e622a480e5c7e10c366
Diffstat (limited to 'extract_utils.sh')
-rw-r--r-- | extract_utils.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/extract_utils.sh b/extract_utils.sh index fae3936..ec092ae 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -1,6 +1,7 @@ -#!/bin/bash +/#!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project +# Copyright (C) 2017-2019 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -902,16 +903,16 @@ function oat2dex() { local HOST="$(uname)" if [ -z "$BAKSMALIJAR" ] || [ -z "$SMALIJAR" ]; then - export BAKSMALIJAR="$LINEAGE_ROOT"/vendor/lineage/build/tools/smali/baksmali.jar - export SMALIJAR="$LINEAGE_ROOT"/vendor/lineage/build/tools/smali/smali.jar + export BAKSMALIJAR="$LINEAGE_ROOT"/prebuilts/tools-lineage/common/smali/baksmali.jar + export SMALIJAR="$LINEAGE_ROOT"/prebuilts/tools-lineage/common/smali/smali.jar fi if [ -z "$VDEXEXTRACTOR" ]; then - export VDEXEXTRACTOR="$LINEAGE_ROOT"/vendor/lineage/build/tools/"$HOST"/vdexExtractor + export VDEXEXTRACTOR="$LINEAGE_ROOT"/prebuilts/tools-lineage/"${HOST,,}"-x86/bin/vdexExtractor fi if [ -z "$CDEXCONVERTER" ]; then - export CDEXCONVERTER="$LINEAGE_ROOT"/vendor/lineage/build/tools/"$HOST"/compact_dex_converter + export CDEXCONVERTER="$LINEAGE_ROOT"/prebuilts/tools-lineage/"${HOST,,}"-x86/bin/compact_dex_converter fi # Extract existing boot.oats to the temp folder |