Index: build/toolchain/android/BUILD.gn |
diff --git a/build/toolchain/android/BUILD.gn b/build/toolchain/android/BUILD.gn |
index 7710cd0f9962b013efb5be10429ccdf1ccbd72e4..c277263db1c7752ec640939b2c4f95c57f9ef87f 100644 |
--- a/build/toolchain/android/BUILD.gn |
+++ b/build/toolchain/android/BUILD.gn |
@@ -44,10 +44,8 @@ if (is_gyp) { |
# This script will find the compilers for the given Android toolchain |
# directory. |
- # TODO(brettw) write this script which locates the Android compilers. |
- #android_compilers = exec_script("find_android_compilers.py", |
- # [android_toolchain], "value") |
- android_compilers = ["gcc", "g++", "gcc", "g++"] |
+ android_compilers = exec_script("find_android_compiler.py", |
+ [android_toolchain], "value") |
gyp_header = |
"'make_global_settings': [" + |
"['CC', '" + android_compilers[0] + "']," + |