OSDN Git Service
Ying Wang [Tue, 3 Nov 2015 00:17:43 +0000 (00:17 +0000)]
Merge "Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh."
Ying Wang [Mon, 2 Nov 2015 23:56:58 +0000 (15:56 -0800)]
Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.
Envsetup.sh (lunch) relies on config.mk to get build varaible values; while
config.mk may rely on envsetup.sh to set up JAVA_HOME/PATH.
Without this change config.mk may be checking the host JDK tools before
JAVA_HOME/PATH get set up.
Change-Id: I1e6b5e33147258832ce2f0a425f9526ef4782c43
Gaurav Shah [Mon, 2 Nov 2015 22:22:50 +0000 (22:22 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal"
Gaurav Shah [Mon, 2 Nov 2015 22:22:40 +0000 (22:22 +0000)]
Merge "Support build targets with no installable apps/packages"
Gaurav Shah [Mon, 2 Nov 2015 22:22:32 +0000 (22:22 +0000)]
Merge "build: Add extra build customization for /product"
Gaurav Shah [Mon, 2 Nov 2015 22:22:22 +0000 (22:22 +0000)]
Merge "build: Add support for defining products in /product"
Will Drewry [Wed, 7 Oct 2015 02:40:11 +0000 (19:40 -0700)]
envsetup,product,ninja: enable symlink traversal
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 [Sun, 23 Aug 2015 16:40:05 +0000 (09:40 -0700)]
Support build targets with no installable apps/packages
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 [Thu, 20 Aug 2015 22:39:56 +0000 (15:39 -0700)]
build: Add extra build customization for /product
This makes /product more consistent with /device & /vendor
BUG:
22030305
Change-Id: Ic65bfde7fb3e9fab8c8fb8d99af15404574abde0
Lee Campbell [Thu, 20 Aug 2015 20:55:45 +0000 (13:55 -0700)]
build: Add support for defining products in /product
The build will now search for AndroidProducts.mk in /product
BUG:
22030305
Change-Id: I2d067d95d0c8dc1341a55167f9ac7f6926e04ce3
Ying Wang [Mon, 2 Nov 2015 19:47:31 +0000 (19:47 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds."
Ying Wang [Mon, 2 Nov 2015 19:46:53 +0000 (19:46 +0000)]
Merge "Fix "make product-graph" and "make dump-products"."
Dan Willemsen [Thu, 29 Oct 2015 21:28:17 +0000 (21:28 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files""
Dan Willemsen [Thu, 29 Oct 2015 21:26:18 +0000 (21:26 +0000)]
Revert "Remove changing uids/timestamps from zip/jar files"
This reverts commit
3c2c064c8791ed2d4b9d6780d7b87f406ab78f10.
zipalign depends on libandroidfw, and some setups don't include frameworks/base.
Bug:
24201956
Change-Id: I48ee95808924f6b2221f0a49ab205c2565096b1f
Dan Willemsen [Thu, 29 Oct 2015 19:07:36 +0000 (19:07 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Tue, 27 Oct 2015 23:25:29 +0000 (16:25 -0700)]
Remove changing uids/timestamps from zip/jar files
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 [Thu, 29 Oct 2015 16:13:52 +0000 (16:13 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag."
Sami Tolvanen [Thu, 29 Oct 2015 16:05:46 +0000 (16:05 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs"
Sami Tolvanen [Thu, 25 Jun 2015 10:48:29 +0000 (11:48 +0100)]
Error correction: Use block_image_recover in block OTAs
If block_image_verify fails, attempt to recover using FEC before giving up.
Bug:
21893453
Change-Id: Ibc1fe5d28b2a8099d2b5094277b572ec08229c3a
Ying Wang [Thu, 29 Oct 2015 01:45:03 +0000 (18:45 -0700)]
Add _asan suffix to ro.build.flavor for ASAN builds.
Bug:
25344475
Change-Id: I27f2472906631239ca725ee09da2ab791cad2195
Ying Wang [Wed, 28 Oct 2015 23:51:57 +0000 (23:51 +0000)]
Merge "Normalize the product makefile path in inherit-product."
Ying Wang [Wed, 28 Oct 2015 23:42:39 +0000 (16:42 -0700)]
Fix "make product-graph" and "make dump-products".
- For unmodified "make product-graph" and "make dump-products",
load only the current product configuration makefiles. This is much
faster than loading all product makefiles.
- For "make product-graph ANDROID_PRODUCT_GRAPH=--all",
"make dump-products ANDROID_DUMP_PRODUCTS=all", load all product
makefiles.
- Move product-graph.mk out of build tasks, so we can skip loading all
the Android.mks, which takes long and we don't really need them.
More importantly, with all product makefiles loaded, modules in
Android.mks are prone to clash (if they are conditionally included
by variables set up in product makefiles) and lead to parse-time
error.
Change-Id: Idc1d6b0c23eb2c8bb34fdd7a1fa4d56171768d21
Ying Wang [Wed, 28 Oct 2015 21:33:40 +0000 (14:33 -0700)]
Normalize the product makefile path in inherit-product.
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 [Wed, 28 Oct 2015 21:09:05 +0000 (21:09 +0000)]
Merge "Remove use of .INTERMEDIATE"
Colin Cross [Wed, 28 Oct 2015 20:28:11 +0000 (13:28 -0700)]
Remove use of .INTERMEDIATE
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 [Wed, 28 Oct 2015 02:25:18 +0000 (19:25 -0700)]
Honor TARGET_NO_RECOVERY flag.
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
Chih-hung Hsieh [Tue, 27 Oct 2015 23:02:26 +0000 (23:02 +0000)]
Merge "Move arm64 target to clang by default."
Chih-hung Hsieh [Tue, 27 Oct 2015 23:02:10 +0000 (23:02 +0000)]
Merge "Move arm target to clang by default."
Chih-Hung Hsieh [Tue, 27 Oct 2015 20:44:53 +0000 (13:44 -0700)]
Move arm64 target to clang by default.
Bug:
23163853
Change-Id: I59c311f552ca060bc7bd034fa4f1c03eb24802d5
Chih-Hung Hsieh [Tue, 27 Oct 2015 20:42:34 +0000 (13:42 -0700)]
Move arm target to clang by default.
Bug:
23163853
Change-Id: I4cb95ed652ca697461e2fb22811779aa2df8d262
Colin Cross [Tue, 27 Oct 2015 19:12:40 +0000 (19:12 +0000)]
Merge "Error out early on nonstandard JDK directory layouts"
Ying Wang [Tue, 27 Oct 2015 18:36:47 +0000 (18:36 +0000)]
Merge "Revert "Enable gold linker for aarch64.""
Dan Albert [Tue, 27 Oct 2015 18:18:46 +0000 (18:18 +0000)]
Revert "Enable gold linker for aarch64."
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
127d110172818c7dce14fefcc72b07a18686ee9c.
Change-Id: I1d3de90f5ae777b66a8f94fbcc9ccde8a9e3001c
Ying Wang [Tue, 27 Oct 2015 00:08:05 +0000 (00:08 +0000)]
Merge "Strip LOCAL_MODULE before referencing it."
Ying Wang [Fri, 16 Oct 2015 00:47:09 +0000 (17:47 -0700)]
Strip LOCAL_MODULE before referencing it.
Bug:
24985980
Change-Id: Ic97e852aa7a8bf2d9224d3d6656d33145cc67800
(cherry-pick from commit
4d20a32a793a4a52d53b3a3a8e66cf04089093dc)
Dan Albert [Mon, 26 Oct 2015 21:05:39 +0000 (21:05 +0000)]
Merge "Drop GCC back to C++11."
Dan Albert [Mon, 26 Oct 2015 18:09:24 +0000 (11:09 -0700)]
Drop GCC back to C++11.
Our GCC does not use a valid C++14 ABI.
Bug: http://b/
25022512
Change-Id: I6f4b3450137c24a6a0c00bf956bae7a0ba280094
Than McIntosh [Mon, 26 Oct 2015 12:22:26 +0000 (12:22 +0000)]
Merge "Enable gold linker for aarch64."
Colin Cross [Sat, 24 Oct 2015 21:09:34 +0000 (21:09 +0000)]
Merge "Add dummy description for GET-INSTALL-PATH"
Colin Cross [Sat, 24 Oct 2015 04:38:12 +0000 (21:38 -0700)]
Add dummy description for GET-INSTALL-PATH
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 [Fri, 23 Oct 2015 21:33:51 +0000 (14:33 -0700)]
Error out early on nonstandard JDK directory layouts
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
Ying Wang [Fri, 23 Oct 2015 20:21:10 +0000 (20:21 +0000)]
Merge "Normalize java source file paths before running "sort -u"."
Ying Wang [Thu, 22 Oct 2015 23:30:00 +0000 (16:30 -0700)]
Normalize java source file paths before running "sort -u".
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 [Fri, 23 Oct 2015 18:38:03 +0000 (18:38 +0000)]
Merge "Bump up the BBOTA version to 4."
Ying Wang [Fri, 23 Oct 2015 18:09:11 +0000 (18:09 +0000)]
Merge "Make sure R.stamp is always created"
Martin Arenlind [Tue, 15 Sep 2015 13:52:56 +0000 (15:52 +0200)]
Make sure R.stamp is always created
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 [Wed, 21 Oct 2015 20:30:43 +0000 (13:30 -0700)]
Bump up the BBOTA version to 4.
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 [Fri, 23 Oct 2015 14:45:05 +0000 (14:45 +0000)]
Merge "Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS."
Alex Deymo [Fri, 23 Oct 2015 01:15:27 +0000 (18:15 -0700)]
Rename UPDATE_AB_PARTITIONS to AB_OTA_PARTITIONS.
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 [Fri, 23 Oct 2015 00:26:20 +0000 (00:26 +0000)]
Merge "Move x86_64 target to clang by default."
Chih-Hung Hsieh [Thu, 22 Oct 2015 23:29:59 +0000 (16:29 -0700)]
Move x86_64 target to clang by default.
Bug:
23163853
Change-Id: I0587ec75c0000ac99562233de33147ec8e120e65
Mike Frysinger [Thu, 22 Oct 2015 19:40:43 +0000 (19:40 +0000)]
Merge "use `find -exec ... +` everywhere"
Tao Bao [Thu, 22 Oct 2015 18:57:42 +0000 (18:57 +0000)]
Merge "Fix calculation of stashed blocks."
Tao Bao [Thu, 22 Oct 2015 18:09:27 +0000 (18:09 +0000)]
Merge "blockimgdiff.py: Fix the script error for BBOTA v1."
Mike Frysinger [Tue, 22 Sep 2015 22:13:48 +0000 (18:13 -0400)]
use `find -exec ... +` everywhere
This is more efficient as find itself can handle correctly passing
arguments down to the command, and this is in POSIX. The current
versions of OS X also support this form.
BUG=None
TEST=mgrep still works
Change-Id: Ie570867609113868daaf068658c4f7e6f4ae42fa
Than McIntosh [Thu, 22 Oct 2015 13:44:48 +0000 (09:44 -0400)]
Enable gold linker for aarch64.
Switches default linker from -fuse-ld-bfd to
-fuse-ld=gold, and enables -Wl,--icf=safe. This
changes reduces /system/lib64/*.so text size
by about 2% for N9.
Change-Id: I0ef2483e1c47c34e63292dad6f6bf532359b733e
Yohann Roussel [Thu, 22 Oct 2015 10:46:37 +0000 (10:46 +0000)]
Merge changes from topic 'jack-server-1.3-a3'
* changes:
Remove LOCAL_JACK_EXTRA_ARGS
Allow control of jack used for compilation
Clean call-jack and its callers
caozhiyuan [Wed, 21 Oct 2015 07:14:03 +0000 (15:14 +0800)]
Fix calculation of stashed blocks.
Change-Id: Ic3d607cb6691fc58e189a54a7244942cf3f3c387
Signed-off-by: caozhiyuan <cao.zhiyuan@zte.com.cn>
Tao Bao [Wed, 21 Oct 2015 20:36:01 +0000 (13:36 -0700)]
blockimgdiff.py: Fix the script error for BBOTA v1.
CL in [1] added an assertion to make sure an empty RangeSet cannot call
RangeSet.to_raw_string(). However, we may unintentionally hit that when
generating BBOTA v1 script (e.g. for "new" commands that always have
empty src_ranges).
[1] commit
e8f756137c39fc3292014f2eab5f84c6e5135797
Change-Id: I1723606967f354ace9286d2b888fdbc80ba10e39
Nick Kralevich [Wed, 21 Oct 2015 18:10:53 +0000 (18:10 +0000)]
Merge "allow qemu_props to set opengles.version"
Nick Kralevich [Wed, 21 Oct 2015 17:55:21 +0000 (10:55 -0700)]
allow qemu_props to set opengles.version
Addresses the following denial:
init: avc: denied { set } for property=opengles.version scontext=u:r:qemu_props:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service
Bug:
25148690
Change-Id: I4b197eeabfe37e794104e4e686e9e388b5bc3e0c
Stephen Hines [Wed, 21 Oct 2015 16:29:28 +0000 (16:29 +0000)]
Merge "Revert "Switch from clang 3.6 to new clang repository (with 3.8).""
Stephen Hines [Wed, 21 Oct 2015 15:32:45 +0000 (08:32 -0700)]
Revert "Switch from clang 3.6 to new clang repository (with 3.8)."
This reverts commit
1332828b6ea25250c497609a1d4b2c7e28227ff9.
Bug:
25141123
Change-Id: Idd5d8757095b2b370046a84aea76bc95e16f3876
Yohann Roussel [Mon, 12 Oct 2015 16:02:51 +0000 (18:02 +0200)]
Remove LOCAL_JACK_EXTRA_ARGS
Use of DEFAULT_JACK_EXTRA_ARGS and LOCAL_JACK_FLAGS provides all needed
support.
(cherry picked from commit
d2b2983cc791f90a0d052699603723335ab94f5a)
Change-Id: I1cd76836792e7332bc3750408a860400b0957485
Yohann Roussel [Fri, 3 Jul 2015 13:46:51 +0000 (15:46 +0200)]
Allow control of jack used for compilation
Version of Jack used to compile a module can now be control from
a dedicated mk located in prebuilts/sdk/tools
Bug:
24564814
(cherry picked from commit
b68c9a498d1e2c631eb6e8c9092d4d5775402083)
Change-Id: I7809dc966026ff94b5cb2daa7e2c63762ca4768d
Yohann Roussel [Thu, 2 Jul 2015 10:10:17 +0000 (12:10 +0200)]
Clean call-jack and its callers
This is possible now that we have the new Jack server.
Also fix dependency from dex/jack target to jack script
instead of jack.jar.
(cherry picked from commit
5e50b342218fe2b9c1af20fd7da3c173bfac0499)
Change-Id: I8e7aa5087ba8d73cc93140ddfca8f4ab2f505175
Stephen Hines [Wed, 21 Oct 2015 00:18:05 +0000 (00:18 +0000)]
Merge "Switch from clang 3.6 to new clang repository (with 3.8)."
Colin Cross [Wed, 21 Oct 2015 00:15:33 +0000 (00:15 +0000)]
Merge changes I2ba90314,I5f47307d
* changes:
makeparallel: prepend flags to ninja command line
Put NINJA_ARGS last
Colin Cross [Tue, 20 Oct 2015 22:41:05 +0000 (15:41 -0700)]
makeparallel: prepend flags to ninja command line
Ninja stops parsing top level options after -t is used to select a
tool. Put any inserted command line options at the beginning of the
command.
Change-Id: I2ba903143366aaded63e21d749476248617c8962
Andreas Gampe [Tue, 20 Oct 2015 23:37:36 +0000 (23:37 +0000)]
Merge "Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting"
Colin Cross [Mon, 5 Oct 2015 22:12:08 +0000 (15:12 -0700)]
Put NINJA_ARGS last
Put NINJA_ARGS at the end of the command line so it can contain tools,
which expect to be last.
Change-Id: I5f47307d01aa52eb74a333b19ffe3a7cd8950b01
Roland Levillain [Tue, 20 Oct 2015 21:30:10 +0000 (21:30 +0000)]
Merge "Typos in envsetup.sh."
Dan Willemsen [Tue, 20 Oct 2015 20:46:21 +0000 (20:46 +0000)]
Merge "Stop encoding absolute paths in symbols"
Chih-hung Hsieh [Tue, 20 Oct 2015 19:47:55 +0000 (19:47 +0000)]
Merge "Move x86 target to clang by default."
Chih-Hung Hsieh [Tue, 20 Oct 2015 19:16:57 +0000 (12:16 -0700)]
Move x86 target to clang by default.
Bug:
23163853
Change-Id: Ib5e9beddbeca8968d6e4365abeb44ae97cbe9981
Roland Levillain [Tue, 20 Oct 2015 11:48:19 +0000 (12:48 +0100)]
Typos in envsetup.sh.
Change-Id: I31cc811e1352b9c924bdf164561f334b032d6f5c
Andreas Gampe [Fri, 16 Oct 2015 03:43:29 +0000 (20:43 -0700)]
Build: Fix DEX2OAT_TARGET_CPU_VARIANT setting
The secondary variant fallback was not set. The build system expects
the variants, so system properties were malformed for x86-64:
[dalvik.vm.isa.x86.variant]: [dalvik.vm.isa.x86.features=default]
Bug:
24989387
Change-Id: Idbf54f81494f2650ad56080305807fd6b7ed4161
Christopher Wiley [Mon, 19 Oct 2015 23:44:21 +0000 (23:44 +0000)]
Merge "Invoke the aidl-cpp compiler to generate C++"
Christopher Wiley [Thu, 15 Oct 2015 00:27:24 +0000 (17:27 -0700)]
Invoke the aidl-cpp compiler to generate C++
Bug:
23599697
Test: test application compiles generated code
Change-Id: I35255517dd0b7ef7a82134be1c862093eaa3ce6b
Ying Wang [Mon, 19 Oct 2015 22:44:03 +0000 (22:44 +0000)]
Merge "envsetup: Show error when supplied dir isn't present with mmm"
Dan Willemsen [Mon, 19 Oct 2015 21:21:40 +0000 (21:21 +0000)]
Merge "Add support for LOCAL_SRC_FILES_EXCLUDE"
Abhinav1997 [Sun, 18 Oct 2015 18:25:48 +0000 (20:25 +0200)]
envsetup: Show error when supplied dir isn't present with mmm
When a directory isn't present with mmm, don't show "No Android.mk present", rather show that the directory isn't present
Change-Id: I7259a60012c6f30c470daa60d5a5097d01ffc4c7
Signed-off-by: Abhinav1997 <abhinav.jhanwar.august2@gmail.com>
Sami Tolvanen [Mon, 19 Oct 2015 09:49:18 +0000 (09:49 +0000)]
Merge "Error correction: Append codes to verified partitions"
Ying Wang [Sun, 18 Oct 2015 17:07:28 +0000 (17:07 +0000)]
Merge "If a console doesn't exist, read password from stdin."
Colin Cross [Tue, 30 Jun 2015 19:21:59 +0000 (12:21 -0700)]
Add support for LOCAL_SRC_FILES_EXCLUDE
LOCAL_SRC_FILES_EXCLUDE will be used to filter files out of
LOCAL_SRC_FILES. A common usage will be to use
LOCAL_SRC_FILES_EXCLUDE_<arch> to remove a source file that will be
replaced with an arch-optimized version.
Change-Id: I75cc6114c47fb784bab65cae8f618c4f395f07bb
Tao Bao [Fri, 16 Oct 2015 22:41:45 +0000 (22:41 +0000)]
Merge "common.py: Fix the build."
Tao Bao [Fri, 16 Oct 2015 22:26:34 +0000 (15:26 -0700)]
common.py: Fix the build.
Should only use source_info_dict when creating incremental OTAs.
Change-Id: I6a4e5f8fa3613a1b36563ec915e433247965a2b8
Tao Bao [Fri, 16 Oct 2015 21:42:34 +0000 (21:42 +0000)]
Merge "Pass source's info_dict to vendor's releasetools.py."
Ying Wang [Fri, 16 Oct 2015 01:19:48 +0000 (01:19 +0000)]
Merge "Use direct dependency on the JNI so files."
Ying Wang [Thu, 15 Oct 2015 22:29:01 +0000 (15:29 -0700)]
Use direct dependency on the JNI so files.
With the order-only dependency if the jni so files is updated,
make won't rebuild the system.img, which has dependency only on the apk
file.
Bug:
24865400
Change-Id: I9d5bee82b8a712a2c24dabaa0cd4c50174ea219f
Dan Albert [Thu, 15 Oct 2015 18:39:42 +0000 (18:39 +0000)]
Merge "Use libgcov OR libclang_rt.profile, not both."
Ying Wang [Thu, 15 Oct 2015 18:35:26 +0000 (18:35 +0000)]
Merge "Remove duplicate local_time.default"
Steve Fung [Thu, 15 Oct 2015 18:13:41 +0000 (18:13 +0000)]
Merge "Add the Product ID to target_files.zip"
Nick Kralevich [Thu, 15 Oct 2015 09:42:17 +0000 (09:42 +0000)]
Merge "generic_x86: delete system_server execmem"
Nick Kralevich [Thu, 15 Oct 2015 09:37:40 +0000 (02:37 -0700)]
generic_x86: delete system_server execmem
https://android-review.googlesource.com/175922 removed all uses
of system_server execmem and neverallowed it. The x86 emulator policy
inappropriately includes this rule. Delete it.
Fixes the following build breakage:
libsepol.report_failure: neverallow on line 473 of external/sepolicy/system_server.te (or line 12452 of policy.conf) violated by allow system_server system_server:process { execmem };
libsepol.check_assertions: 1 neverallow failures occurred
Error while expanding policy
Change-Id: I7fbfaa0a09e8f4e8a372d2f1a64bbe58d5302204
Peter Qiu [Thu, 15 Oct 2015 04:00:38 +0000 (04:00 +0000)]
Merge "Export include path to D-Bus headers for multilib builds"
Ying Wang [Thu, 15 Oct 2015 01:10:44 +0000 (01:10 +0000)]
Merge "Use @arg-lsit-file for jar in add-carried-jack-resources"
Ying Wang [Wed, 14 Oct 2015 01:40:37 +0000 (18:40 -0700)]
Use @arg-lsit-file for jar in add-carried-jack-resources
Don't pass the arg list as argument in any bash command;
Instead store the arg list to the arg list file and
run "jar @arg-lsit-file".
Note we need to quote the arguments in the arg list file.
This fixed "argument list too long" build error on Mac.
Bug:
24789595
Change-Id: I718f84e540d82bb83516824894a473b2961da278
Dan Willemsen [Wed, 14 Oct 2015 23:44:53 +0000 (16:44 -0700)]
Stop encoding absolute paths in symbols
GCC & Clang encode the current working directory into the symbol files.
Even if the binaries are stripped before being installed, the build-id
hash will be different. This means that two different checkouts will
produce different installed binaries, even if the sources are identical.
To prevent this, set PWD=/proc/self/cwd, so that it replaces the
absolute path with the static path /proc/self/cwd. With GCC, use
-fdebug-prefix-map to remove that static path. Our clang does not yet
support this flag, but it was merged in r250094.
This does change the behavior when using gdb -- you now need to be in
$ANDROID_BUILD_TOP before gdb will load the sources.
Bug:
24204119
Change-Id: I792d65b042b7a3fdc78d567c5a6e93cdf0141b9b
Peter Qiu [Wed, 14 Oct 2015 23:46:41 +0000 (16:46 -0700)]
Export include path to D-Bus headers for multilib builds
Bug:None
Change-Id: I6e3898c71f54ede08a27f5be93e95a2b219e5ea6