Warning instead of exception for cmake
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1971953003 Review-Url: https://codereview.chromium.org/1971953003
This commit is contained in:
parent
dd05e2a96e
commit
7bde8f813f
@ -77,8 +77,7 @@ def getPathWithDeps(requireCMake = false) {
|
|||||||
if (requireCMake) {
|
if (requireCMake) {
|
||||||
String cmakePath = getSDKPath() + "/cmake/bin"
|
String cmakePath = getSDKPath() + "/cmake/bin"
|
||||||
if (!file(cmakePath).exists()) {
|
if (!file(cmakePath).exists()) {
|
||||||
throw new GradleScriptException("cmake not found! Please install the android SDK version" +
|
logger.warn("cmake not found! Please install the android SDK version of cmake.");
|
||||||
" of cmake.", null);
|
|
||||||
}
|
}
|
||||||
if (!path.contains(cmakePath)) {
|
if (!path.contains(cmakePath)) {
|
||||||
path = cmakePath + ":" + path
|
path = cmakePath + ":" + path
|
||||||
|
Loading…
Reference in New Issue
Block a user