- 02 Nov, 2015 4 commits
-
-
Will Drewry authored
When searching device, product, or hardware, allow find to follow symlinks. Add KATI_EMULATE_FIND=false to allow disabling the find emulator which changes findleaves.py behavior wrt symlinks. BUG=24605247 TEST=works with CL:783781 (without the find wrapper in that CL) Change-Id: Ia9d0e4add391a56f34828a09a6cec3f435ccc548
-
Gaurav Shah authored
Specifically, do not error out if no installable apps are found. - When creating an archive of all the apps, and if no apps exist for the target, generate an empty archive file. - If building for a target with no installable jar(s) or apk(s), generate an empty package stats file. The former is just an output artifact. The latter is used by the upload_pkg_stats.py script which correctly handles an empty input file. BUG: 23421592 Change-Id: I48db9f9e1f61914d8fd938130e09b41849685450
-
Lee Campbell authored
This makes /product more consistent with /device & /vendor BUG: 22030305 Change-Id: Ic65bfde7fb3e9fab8c8fb8d99af15404574abde0
-
Lee Campbell authored
The build will now search for AndroidProducts.mk in /product BUG: 22030305 Change-Id: I2d067d95d0c8dc1341a55167f9ac7f6926e04ce3
-
- 29 Oct, 2015 7 commits
-
-
Dan Willemsen authored
-
Dan Willemsen authored
This reverts commit 3c2c064c. zipalign depends on libandroidfw, and some setups don't include frameworks/base. Bug: 24201956 Change-Id: I48ee95808924f6b2221f0a49ab205c2565096b1f
-
Dan Willemsen authored
-
Dan Willemsen authored
Pass -X to zip so that Unix UID/GID and extra timestamps aren't saved into the zip files. Add a new option to zipalign, -t, to replace all timestamps with static timestamps (2008 Jan 1 00:00:00). Use this for all non-APK zip files. APK zip timestamps are set based on the certificate date in SignApk. Bug: 24201956 Change-Id: Ifb619fc499ba9d99fc624f2acd5f8de36d78ef8e
-
Tao Bao authored
-
Sami Tolvanen authored
-
Sami Tolvanen authored
If block_image_verify fails, attempt to recover using FEC before giving up. Bug: 21893453 Change-Id: Ibc1fe5d28b2a8099d2b5094277b572ec08229c3a
-
- 28 Oct, 2015 5 commits
-
-
Ying Wang authored
-
Ying Wang authored
Some vendor product makefiles call $(inherit-product) on the same product makefile with different paths, by using "../" in relative paths. However inherit-product requires unique path as ID for a product makefile, for bookkeeping purpose. Normalize the product makefile path in inherit-product, if the path contains "../". Change-Id: I1a864ce120c713d8e79ec179213b9fc9352aba53
-
Colin Cross authored
-
Colin Cross authored
make 3.81 has a bug where combining an up-to-date .INTERMEDIATE rule with -j causes an infinite loop (http://savannah.gnu.org/bugs/?15919). .INTERMEDIATE was only necessary to support multiple outputs while only running a command once, remove .INTERMEDIATE by replacing $(KATI_OUTPUTS) dependencies with $(KATI_BUILD_NINJA). We can assume that $(KATI_NINJA_SH) will be updated at the same time as $(KATI_BUILD_NINJA), and not explicitly depend on it. Also remove generateonly and fastincremental, which are no longer necessary and were overcomplicating ninja.mk. kati now always runs due to FORCE, and ninja is run by a phony rule that depends on $(KATI_BUILD_NINJA). Bug: 25344116 Change-Id: I99d2713b1532ea11d83da9a11b1be26cfe13a5d2
-
Tao Bao authored
Don't generate recovery.img when calling 'make dist' if TARGET_NO_RECOVERY is set. The build system passes the flag to the packaging script which then generates recovery.img conditionally. Bug: 25329471 Change-Id: Ifbc999300d5c31e897878f81e231ae7dd2aca660
-
- 27 Oct, 2015 9 commits
-
-
Chih-hung Hsieh authored
-
Chih-hung Hsieh authored
-
Chih-Hung Hsieh authored
Bug: 23163853 Change-Id: I59c311f552ca060bc7bd034fa4f1c03eb24802d5
-
Chih-Hung Hsieh authored
Bug: 23163853 Change-Id: I4cb95ed652ca697461e2fb22811779aa2df8d262
-
Colin Cross authored
-
Ying Wang authored
-
Dan Albert authored
Causes build failures on Darwin. prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: warning: cannot scan executable section 5 of out/target/product/flounder/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o for Cortex-A53 erratum because it has no mapping symbols. prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: warning: cannot scan executable section 8 of out/target/product/flounder/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o for Cortex-A53 erratum because it has no mapping symbols. prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: warning: cannot scan executable section 11 of out/target/product/flounder/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o for Cortex-A53 erratum because it has no mapping symbols. prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: treating warnings as errors This reverts commit 127d1101. Change-Id: I1d3de90f5ae777b66a8f94fbcc9ccde8a9e3001c
-
Ying Wang authored
-
- 26 Oct, 2015 3 commits
-
-
Dan Albert authored
-
Dan Albert authored
Our GCC does not use a valid C++14 ABI. Bug: http://b/25022512 Change-Id: I6f4b3450137c24a6a0c00bf956bae7a0ba280094
-
Than McIntosh authored
-
- 24 Oct, 2015 3 commits
-
-
Colin Cross authored
-
Colin Cross authored
kati takes the first @echo command in a rule and turns it in to a ninja description that gets pretty-printed. The GET-INSTALL-PATH is only @echo commands and is parsed by development/testrunner/runtest.py, so it fails to parse the pretty-printed first test. Add a dummy @echo to GET-INSTALL-PATH for kati to use as the description, so the rest of the @echo commands are left unmodified. Change-Id: I192fde48b26726a2f6760448f819243bd2f21312
-
Colin Cross authored
On Darwin, javac may be located in a nonstandard directory layout such as: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac The sed command to replace bin/javac with lib/tools.jar would fail to match, resulting in the HOST_JDK_TOOLS_JAR being set to the javac path. Since javac exists, the checks for missing tools.jar would all pass, and javac would be added to the classpath instead of tools.jar, and causing hard to debug errors about missing com.sun.javadoc when building doclava. Change the sed command to replace /javac$, which should always be found, with /../lib/tools.jar. Change-Id: I5072f04636a5c14b3aeaa3a5cc3b366feae89c37
-
- 23 Oct, 2015 9 commits
-
-
Ying Wang authored
-
Ying Wang authored
We rely on "sort -u" to dedupe aidl/logtags generated java files added by both from $(all_java_sources) and from "find $(PRIVATE_SOURCE_INTERMEDIATES_DIR) -name '*.java". But "sort -u" doesn't work if any of the aidl/logtags source file path has "../" in it. This change fixes this issue by normalizing the source file paths before passing them to "sort -u". Change-Id: I12d2c4e0397bed9f426a1ed9b13608d72d01e0df
-
Tao Bao authored
-
Ying Wang authored
-
Martin Arenlind authored
When an app has a resource directory, but the directory contain no resources, R.stamp is not created. This leads to that such apps are always rebuilt, even when there are no changes. This patch changes so that an empty R.stamp is created even if there are no resources. This leads to that affected apps are not rebuilt unless changed. Change-Id: Ia63e5b1913a4456402700b615ba7f9d56d2da852
-
Tao Bao authored
To accommodate new changes (such as error correction in [1]) to BBOTA in N release. We bump up the version to keep the OTA script backward compatible. Needs the matching CL in commit 1fdec8685af858c5ff4f45d2e3059186ab5ed2ab. [1]: commit 0a7b47397db3648afe6f3aeb2abb175934c2cbca Change-Id: Ib9158b455cd5905fe2d4742ce81feb1b7583054f
-
Alex Deymo authored
-
Alex Deymo authored
In order to have all the A/B updater variables in the same AB_OTA_ namespace we rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS. Bug: None Test: `make dist` includes the partitions.txt file if properly configured. Change-Id: Ied4faabd7e2f0ab8a5007afb44ad2f38df8d630d
-
Chih-hung Hsieh authored
-