| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support the following new variables based on whether the current multilib
target is 32 bit or 64 bit:
LOCAL_CFLAGS_32
LOCAL_CFLAGS_64
LOCAL_LDFLAGS_32
LOCAL_LDFLAGS_64
LOCAL_ASFLAGS_32
LOCAL_ASFLAGS_64
LOCAL_C_INCLUDES_32
LOCAL_C_INCLUDES_64
Change-Id: Ia868d56dff114be301bf8297eec768675f186927
|
|
|
|
|
|
|
|
|
|
|
| |
To ease the transition between toolchains, allow a target to specify
a list of cflags that the toolchain does not support. These will be
filtered out of the cflags provided by the module.
Add TARGET_GLOBAL_UNSUPPORTED_CFLAGS := -fstack-protector for the
aarch64 toolchain, it does not yet suport -fstack-protector.
Change-Id: I168d0c6f131326fad305ec86fad46e6a3e03295a
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow modules to generate source into $OUT/gen, which will then
be copied into $OUT/obj and $OUT/obj_$(TARGET_2ND_ARCH) as
necessary. This allows a single build rule invocation that includes
generated source to build for the first and second architectures.
Modules will need to change calls to local-intermediates-dir into
local-generated-sources-dir.
Change-Id: I62504bad9454b3d9fde7b84ab9f0a487a2ecf0bf
|
|
|
|
|
| |
Bug: 11654773
Change-Id: I89c7ce7ff8bea15cb81f9cd9b0188b54beed3422
|
|
|
|
|
|
|
| |
Set arm_objects_mode and normal_objects_mode when building a
module for arm when it is the 2nd arch.
Change-Id: I5f7df519b6e1dde6cbf92d106681f07a58e1f1f2
|
|
|
|
|
|
|
|
|
|
|
|
| |
With those variables, you can set up different values for TARGET_ARCH
and TARGET_2ND_ARCH.
Also fixed a couple of variables.
Bug: 11654773
Change-Id: I4c7684a562cd5877d18f67d4f848b8df07d0103b
Conflicts:
core/base_rules.mk
|
|
|
|
|
|
|
| |
Now the RS generated sources are only appended to my_generated_sources.
Bug: 11654773
Change-Id: If8dbf3c08fed0b9945dd32b8c809331c17c4bc85
|
|
|
|
|
|
|
|
|
|
| |
The rules for the 2nd arch are set up in the second inclusion
of static_library_internal.mk.
libfoo of the 2nd arch will be built into
$(PRODUCT_OUT)/obj_$(TARGET_2ND_ARCH)/libfoo_intermediates/libfoo.a.
Bug: 11654773
Change-Id: I1d92733968fc442e9225b4df5bd1b551a81d89f7
|
|
|
|
|
|
| |
This reverts the commit 70dc3e1d.
Change-Id: I480b005579805d2608d05dac41e32bb44642e813
|
|
|
|
| |
Change-Id: I12c54bfffd9acb78a61d1032a087a0edaf3bf12c
|
|
|
|
| |
Change-Id: I7e4f9dc6f69a97cfefdfa2ed55c5d7b8ad496da7
|
|\
| |
| |
| | |
Change-Id: Icd9d5eff3f9acba042c100f694309f902c9d56cf
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new option WITH_STATIC_ANALYZER=1 instructs build system to
run static analyzer via "clang --analyze" on a successful build.
If analyzer finds any issue, instruction to open report is displayed.
See http://clang-analyzer.llvm.org/scan-build.html for details.
WITH_STATIC_ANALYZER trumps WITH_SYNTAX_CHECK if both exist.
Project use lots of GCC extensions (eg. nested function) not supported
by clang may opt out by adding LOCAL_NO_STATIC_ANALYZER:=true
Change-Id: I9970560560bd52ce5f0fd7129c3488629627c735
|
|\ \
| |/
| |
| | |
Change-Id: I1d831bbb4649b2ddc89cdfb71e3b76712bc6469e
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new option WITH_SYNTAX_CHECK=1 instructs build system to invoke
"clang -fsyntax-only" to utilize clang's better diagnostics before calling
LOCAL_CC/LOCAL_CXX for code generation. The compilation time is slightly
longer, and the generated object file should be the same as w/o WITH_SYNTAX_CHECK
Project use lots of GCC extensions (eg. nested function) not supported
by clang may opt out by adding LOCAL_NO_SYNTAX_CHECK:=true
Change-Id: I5689586788ef049bd967364f71f31f1e359bd121
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '25f39b2fbe9dee8ec6c680569c22c71fce9e595c':
FDO: Only support locally
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The issues:
- The size increase from utilizing FDO is quite large while
utilizing runtime profiles in build.
- By default, FDO is utilized globally if the target arch variant
profiles exist.
- Not all modules can show statistical significance in
performance comparison, yet still suffer the size increase.
The solution:
- Only enable FDO locally with LOCAL_FDO_SUPPORT
for modules which may benefit enough to justify the size
tradeoff.
Solution notes:
- I've noted statistical significance in libwebcore and libskia
thus far from utilizing FDO.
- Analysis included sunspider, drawcanvas benchmarks, as
well as gooda analysis on both arm and x86
- To support runtime profile generation in modules which have
LOCAL_FDO_SUPPORT specified,
BUILD_FDO_INSTRUMENTATION is still used. Otherwise,
if the target arch variant profiles exist, FDO is utilized for
specified modules.
Change-Id: I7e95266943ff47c7d82b02e6200fd09911d0bb57
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
into klp-dev
* commit '4f30a5076bea324b8224e4af4cfcf291f787ed4c':
Fix handling of .o files in LOCAL_GENERATED_SOURCES.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rule-generated .o files (in gen_o_objects) were being given a dependency
on everything in LOCAL_GENERATED_SOURCES (except for other .o files);
unfortunately this can still create cycles in cases where there are
explicit dependencies between entries in LOCAL_GENERATED_SOURCES.
Instead, make handling of generated .o files consistent with other
generated files (which don't automatically get any dependencies on other
generated files) by excluding them from the target side of the rule.
Change-Id: I3fb5652dc3d85012c179a03b81887d16a85ab3bf
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
jb-mr2-dev-plus-aosp
* commit '3208b615c5cde2b682c3bbbcd2bb064b14b57489':
No need to filter out AndroidConfig.h for unbundled build
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* commit 'fc8b6338510690f1f87c57b9d9c470e25fc48bcd':
No need to filter out AndroidConfig.h for unbundled build
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
for now we have all AndroidConfig.hs in the build project.
Change-Id: Id713fecba1378fad81688f5937f61c779b618ac2
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '285045bd83548196aa3695423c6cd500ebe6d6c1':
Support for LOCAL_HAL_STATIC_LIBRARIES
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now you can have a board config variable BOARD_HAL_STATIC_LIBRARIES,
which is a list of board-specific HAL static library names with pattern
"lib<library_name>.<board_specific_suffix>". LOCAL_HAL_STATIC_LIBRARIES
is a list of "lib<library_name>" and any matched
BOARD_HAL_STATIC_LIBRARIES will be added to the LOCAL_STATIC_LIBRARIES;
if no match is found, lib<library_name>.default will be used.
Bug: 10262105
Change-Id: Ic89d8d417d1dd65a227e4187a157fd3b77c4af34
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
* commit '2e45116d3a9c1ab055dd7a6a93bb4ab79414c081':
FDO: do not support host modules
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Summary:
If built with BUILD_FDO_INSTRUMENT alone, host modules will fail at runtime (during build)
due to failing to create /data in most standard unix user permission cases. If the user does
have full permission to /, /data/profile/ will be created and profiles will be generated there.
Any file generation in the Android Build System should be kept to $OUT.
This commit fixes this bug.
Test Plan:
Build with BUILD_FDO_INSTRUMENT without additional configuration, and host modules will no longer generate profiles
at their runtime.
|
|/
|
|
| |
Change-Id: I12e776e44c69649bca34c35eff2ee7c75cfe62cd
|
|
|
|
|
|
|
|
|
| |
Since commit 6c86a1 we have split LOCAL_SHARED_LIBRARIES out of
LOCAL_REQUIRED_MODULES and the vendor check does no longer cover the
installed modules introduced by LOCAL_SHARED_LIBRARIES.
This change brings back the coverage.
Change-Id: Ie78692e48f173a3350792eb2fee8127ff9433caa
|
|
|
|
|
| |
Bug: 8580410
Change-Id: I3ece860673eb52a2db1421db4492c9b1807dda6e
|
|
|
|
|
|
| |
This reverts commit 7636578729ffcd02bfb5158db884f559a52d8905
Change-Id: I32f2acce5f99cb97eae986dfeba6d5d25378aefa
|
|
|
|
|
| |
Bug: 8580410
Change-Id: I4b437d10522ee66c7883faacfaf7e30abede394c
|
|
|
|
|
|
| |
This reverts commit 8722580d90840352883a84d1ca882e50220f3959
Change-Id: Iafdbb7f540a53ddc9dc2e21c0afddb62c44c4af8
|
|
|
|
|
| |
Bug: 8580410
Change-Id: I45e17b786b8d221a071b5de2432bb1367e245fb4
|
|
|
|
|
|
|
|
|
|
|
|
| |
webviewchromium has some build rules which use a custom tool to create
.o files from other input (i.e. they are not prebuilt and so can't be
included in LOCAL_PREBUILT_OBJ_FILES). Support adding .o files to
LOCAL_GENERATED_SOURCES and doing the right thing with them (including
them in the static/dynamic library or executable being built).
Bug: 7714333
Change-Id: I3b1d29eeff30aebeafe33398f9bef2eb6972d997
|
|
|
|
|
|
|
|
| |
Before this, if there are duplicate module names in both the host and
target spaces, LOCAL_SHARED_LIBRARIES results in mixed dependencies.
Bug: 7026946
Change-Id: I5407e3d078a8903c94978cc6d3e256851c52340f
|
|
|
|
|
|
|
| |
So if the host binaries are updated, we don't run the rules again.
Bug: 8234097
Change-Id: I6c888d2b3ae39db1f91411da630ac098273f139d
|
|
|
|
|
|
| |
Rename libcompiler-rt to libcompiler_rt.
Change-Id: I62e77d4dc83458bc238bd8320b70ddb7efe0dd12
|
|
|
|
| |
Change-Id: Ib8008d6301584bd0a2cd91c4c1294e0df8ac3b73
|
|\
| |
| |
| |
| |
| |
| | |
android build
* commit '86e2fd9215faaffed47ab0373b2955d9a1892113':
Add new embedded target for a super minimal android build
|
| |
| |
| |
| |
| |
| | |
Remove obsolete BUILD_TINY_ANDROID
Change-Id: Ic0f3a5b3250ea80529f5099653068f118a13b12e
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use "LOCAL_SDK_VERSION := <number>" to build against the NDK when you
include $(BUILD_EXECUTABLE).
Bug: 7170098
Change-Id: I4cebeae3355e79a4d2f2f5549ef0613ced77e3f0
|
|\ \
| |/
| |
| |
| |
| |
| | |
and error messages.
* commit '318330dd920977733f20eeda338d3c36892373f6':
Fix common typo in comments, warning and error messages.
|
| |
| |
| |
| |
| |
| | |
s/can not/cannot/g
Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use "LOCAL_SDK_VERSION := <number>" to build against the NDK when you
include $(BUILD_EXECUTABLE).
Bug: 7170098
Change-Id: I4cebeae3355e79a4d2f2f5549ef0613ced77e3f0
|
|\ \
| |/
| |
| |
| |
| |
| | |
system/core/include/arch/<arch>/Android.mk for apps-only build." into jb-mr1-dev
* commit '88ed4fb1f3456d6fec4df87a56d66a5c58e2f0d8':
Don't include system/core/include/arch/<arch>/Android.mk for apps-only build.
|
| |
| |
| |
| |
| | |
Bug: 6994483
Change-Id: I76c4d96264cf94a79d59fdeb52bb37c07a9458dd
|
| |
| |
| |
| | |
Change-Id: I0a9f1a630ef2019bed38d420525eac9510b09798
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We are now unifying the NDK versions of unbundled native code to always
use the latest NDK.
We don't need the variable LOCAL_NDK_VERSION now.
To build native code with NDK, you need set just LOCAL_SDK_VERSION.
Bug: 6932421
Change-Id: I86f05a264249cda6bae97b4b1616f03700cd9dfa
|
| |
| |
| |
| |
| | |
Bug: 6932421
Change-Id: Iba7200aacef2201001f92c6ffa020881f0b528ea
|