diff options
author | liyuqian <liyuqian@google.com> | 2016-05-12 10:21:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-12 10:21:17 -0700 |
commit | 7bde8f813fd02fc7b93a659c9f36019d8502a026 (patch) | |
tree | 4eab5df83483481efaea325da2c84f2b1ae85fec /platform_tools | |
parent | dd05e2a96ee3984c91817f87c0ea63b142de1cbb (diff) |
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
Diffstat (limited to 'platform_tools')
-rw-r--r-- | platform_tools/android/apps/build.gradle | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform_tools/android/apps/build.gradle b/platform_tools/android/apps/build.gradle index 40e085cf5f..901e3295ea 100644 --- a/platform_tools/android/apps/build.gradle +++ b/platform_tools/android/apps/build.gradle @@ -77,8 +77,7 @@ def getPathWithDeps(requireCMake = false) { if (requireCMake) { String cmakePath = getSDKPath() + "/cmake/bin" if (!file(cmakePath).exists()) { - throw new GradleScriptException("cmake not found! Please install the android SDK version" + - " of cmake.", null); + logger.warn("cmake not found! Please install the android SDK version of cmake."); } if (!path.contains(cmakePath)) { path = cmakePath + ":" + path |