Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: build/config/android/internal_rules.gni

Issue 1162943008: Make aapt and aidl paths flexible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN builds Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | build/java.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 72ad8dfa97fa789eb1098195730e66b119aef4f9..d3d54f1ce7bd2ab18d840f3c44cadc6799085ff4 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -13,6 +13,7 @@ rebased_android_sdk_build_tools =
android_sdk_jar = "$android_sdk/android.jar"
rebased_android_sdk_jar = rebase_path(android_sdk_jar, root_build_dir)
+android_aapt_path = "$rebased_android_sdk_build_tools/aapt"
template("android_lint") {
set_sources_assignment_filter([])
@@ -635,8 +636,8 @@ template("create_apk") {
rebase_path(depfile, root_build_dir),
"--android-sdk",
rebased_android_sdk,
- "--android-sdk-tools",
- rebased_android_sdk_build_tools,
+ "--aapt-path",
+ android_aapt_path,
"--configuration-name=$_configuration_name",
"--android-manifest",
rebase_path(_android_manifest, root_build_dir),
@@ -1264,8 +1265,8 @@ template("process_resources") {
rebase_path(depfile, root_build_dir),
"--android-sdk",
rebase_path(android_sdk, root_build_dir),
- "--android-sdk-tools",
- rebase_path(android_sdk_build_tools, root_build_dir),
+ "--aapt-path",
+ android_aapt_path,
"--android-manifest",
rebase_path(android_manifest, root_build_dir),
"--resource-dirs=$rebase_resource_dirs",
« no previous file with comments | « build/common.gypi ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698