From 2904a2c40a695b828058fae4a4f0012e658a04d7 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Sat, 16 Jun 2018 15:45:54 +0000 Subject: [PATCH] Remove an unnecessary NDK include path. The NDK include path is implied by the --sysroot flag, which we're already passing everywhere. Change-Id: I1fefe343e680e899723e05fcd22c2229d8a06f38 Reviewed-on: https://chromium-review.googlesource.com/1103585 Commit-Queue: Peter Collingbourne Commit-Queue: Nico Weber Reviewed-by: Nico Weber Cr-Commit-Position: refs/heads/master@{#567884} --- build/config/android/config.gni | 4 ---- chrome/BUILD.gn | 2 -- 2 files changed, 6 deletions(-) diff --git a/build/config/android/config.gni b/build/config/android/config.gni index 1baf758181f..d4dc806d32b 100644 --- a/build/config/android/config.gni +++ b/build/config/android/config.gni @@ -274,10 +274,6 @@ if (is_android || is_chromeos) { android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_platform_version}" - - # Path to the Android NDK and SDK. - android_ndk_include_dir = "$android_ndk_root/usr/include" - android_sdk_tools = "${android_sdk_root}/tools" android_sdk_build_tools = "${android_sdk_root}/build-tools/$android_sdk_build_tools_version" diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn index c01f264d445..81c3f033664 100644 --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn @@ -1787,8 +1787,6 @@ if (is_android) { "app/chrome_main_delegate.h", ] - include_dirs = [ android_ndk_include_dir ] - libs = [ "android", "jnigraphics",