Stay organized with collections
Save and categorize content based on your preferences.
EnvironmentVariableUtil
public
class
EnvironmentVariableUtil
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.EnvironmentVariableUtil
|
A collection of helper methods to prepare environment variables.
Summary
Public methods |
static
String
|
buildMinimalLdLibraryPath(File moduleDir, subDirs)
Builds the value of LD_LIBRARY_PATH that uses the shared libs inside module folder.
|
static
String
|
buildPath( tools, String addition)
Builds the value of PATH.
|
Public constructors
EnvironmentVariableUtil
public EnvironmentVariableUtil ()
Public methods
buildMinimalLdLibraryPath
public static String buildMinimalLdLibraryPath (File moduleDir,
subDirs)
Builds the value of LD_LIBRARY_PATH that uses the shared libs inside module folder.
Parameters |
moduleDir |
File : The root of module folder. |
subDirs |
: The sub-directories that are relative to the root of module folder. |
Returns |
String |
The value of LD_LIBRARY_PATH. |
buildPath
public static String buildPath ( tools,
String addition)
Builds the value of PATH.
Parameters |
tools |
: A list of tools that will be added to PATH. |
addition |
String : The String that will be appended to the end of the return. |
Returns |
String |
The value of PATH. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-09 UTC."],[],[]]