aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar liyuqian <liyuqian@google.com>2016-05-12 10:21:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-12 10:21:17 -0700
commit7bde8f813fd02fc7b93a659c9f36019d8502a026 (patch)
tree4eab5df83483481efaea325da2c84f2b1ae85fec /platform_tools
parentdd05e2a96ee3984c91817f87c0ea63b142de1cbb (diff)
Warning instead of exception for cmake
Diffstat (limited to 'platform_tools')
-rw-r--r--platform_tools/android/apps/build.gradle3
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