Yabin Cui
e8e5e99b76
kill HAVE_INOTIFY
...
Bug: 18314841
Change-Id: Idfcbeb62a57f72a47eb732f085fbd1ab27302f85
2014-11-10 15:44:27 -08:00
Elliott Hughes
07793e1880
Remove HAVE_DIRENT_D_TYPE.
...
Only Windows doesn't have it, and we don't build atree for Windows.
Change-Id: Ib6e96be73340c36cdfcb3654ed540f690bf7550b
2014-11-10 15:33:39 -08:00
Yabin Cui
4120e835fb
kill HAVE_STAT_ST_MTIM
...
Bug: 18300671
Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d
2014-11-10 15:27:49 -08:00
Yabin Cui
772034bc95
kill OS_CASE_SENSITIVE
...
Bug: 18314594
Change-Id: I5dc5072d43299c0e5d96ce9640e8405cbb633506
2014-11-10 15:03:11 -08:00
Yabin Cui
ca28c6379c
am 1036850f
: Merge "kill HAVE_SCHED_SETSCHEDULER"
...
* commit '1036850f8f8607f4d2898fcc73abb1fff23570d6':
kill HAVE_SCHED_SETSCHEDULER
2014-11-10 22:30:42 +00:00
Yabin Cui
1036850f8f
Merge "kill HAVE_SCHED_SETSCHEDULER"
2014-11-10 22:22:44 +00:00
Dan Albert
8338cb6820
am fb5f4177
: Merge "Remove logic for libstdc++ gtest libs."
...
* commit 'fb5f41779e67e5d98587f7e1348cae2cf45e719c':
Remove logic for libstdc++ gtest libs.
2014-11-10 22:19:13 +00:00
Igor Murashkin
964935b8a6
core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
...
When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.
This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.
Bug: 18035729
(cherry picked from commit da9f1a7e82
)
Change-Id: I9d5f12bbe7d0287784ac7e941fba090fce3ce3df
2014-11-10 12:53:42 -08:00
Ying Wang
0a7fcb00ab
Introduce per-product per-module dex-preopt config
...
- Added LOCAL_DEX_PREOPT_FLAGS to pass extra flags to dex2oat.
- Added macro add-product-dex-preopt-module-config to specify almost
arbitrary dex-preopt config/flags to modules in product
configuration:
$(call \
add-product-dex-preopt-module-config,<module_name_list>,<config_or_flags>)
How <config_or_flags> is interpreted is decided by
dex_preopt_odex_install.mk and dex2oat. For now if it's "disable" we
disable dexpreopt for the given modules; otherwise pass it to dex2oat as
command line flags.
- If there are multiple configs for the same module in the product
inheritance, the first takes precedence.
- Added PRODUCT_DEX_PREOPT_DEFAULT_FLAGS so you can specify default
dex2oat flags in product configuration.
- Added PRODUCT_DEX_PREOPT_BOOT_FLAGS to specify flags of building boot.oat.
Bug: 17791867
(cherry picked from commit 20ebd2ef08
)
(cherry picked from commit 70d617aaf5
)
Change-Id: I86f125dd02290d0969704142a4405ebd6729c4f7
2014-11-10 12:51:26 -08:00
Yabin Cui
35e8e323bc
kill HAVE_SCHED_SETSCHEDULER
...
Bug: 18300670
Change-Id: I66fb3d0070751ffaa2bc6b53274b22d967350312
2014-11-10 12:20:15 -08:00
Al Sutton
1199f7388c
Fix building on modern versions of Xcode and OS X.
...
Add the build options to support the most recent versions of XCode and
add 10.9 to the list of OS X SDKs which the AOSP code can be built with.
Based on patch from https://groups.google.com/d/msg/android-building/kePgJmYBUdM/0C_d1OZflvcJ
Change-Id: I97ffe45d3c54a095952a4ac6accb938623b8fa1e
Signed-off-by: Al Sutton <al@funkyandroid.com >
2014-11-10 14:42:30 +00:00
Dan Albert
ea93ae61e3
Remove logic for libstdc++ gtest libs.
...
The libstdc++ linked gtest libraries are no longer necessary.
Change-Id: Ia98263bc2541b6c8fd0b3e22bb6fec85104a2210
2014-11-09 00:55:25 -08:00
Ian Rogers
a18a28305d
Pass instruction set variant to dex2oat.
...
Also, add it to the ANDROID_BUILD_PROPERTIES.
Remove non-default instruction set features.
Bug: 18056890
Change-Id: I9169cdfecbb176f62b941852948222edc3f511fd
2014-11-08 17:07:23 -08:00
Elliott Hughes
65f5175f06
am 652ff716
: Merge "Remove more namespace pollution (HAVE_TM_GMTOFF)."
...
* commit '652ff716b819b694be76e63f059dca50e7febb8d':
Remove more namespace pollution (HAVE_TM_GMTOFF).
2014-11-08 23:38:56 +00:00
Elliott Hughes
89ac6e4c6f
Remove more namespace pollution (HAVE_TM_GMTOFF).
...
Change-Id: I9c2d7ffb66127c1b73076f8674ecf29aada0fa38
2014-11-08 14:21:12 -08:00
Elliott Hughes
954729cc17
am 3581753f
: Merge "Remove more namespace pollution (HAVE_FUNOPEN)."
...
* commit '3581753ffae63e32b2b2e2be1e447cb2e83dec5e':
Remove more namespace pollution (HAVE_FUNOPEN).
2014-11-08 22:17:44 +00:00
Elliott Hughes
e5e26e2196
Remove more namespace pollution (HAVE_FUNOPEN).
...
Change-Id: I25a64ce39cd7bdd99aa6412413554b96d3cb113e
2014-11-08 12:39:28 -08:00
Elliott Hughes
011710ba48
am 9e95a0f4
: Merge "Remove more namespace pollution."
...
* commit '9e95a0f4d0172b1669d404c3d605e689234f4dcf':
Remove more namespace pollution.
2014-11-08 19:03:04 +00:00
Elliott Hughes
9e95a0f4d0
Merge "Remove more namespace pollution."
2014-11-08 18:55:53 +00:00
Elliott Hughes
b63a7c0dd9
Remove more namespace pollution.
...
Nothing in our tree is using this HAVE_BACKTRACE definition, but we do have
a hack in external/llvm to work around the namespace pollution.
Change-Id: Ib51d8bbd598dd2961a028216bf0b489dc7ad4880
2014-11-08 10:14:19 -08:00
Dan Albert
1d2352661b
am c52eba1f
: Merge "Make libc++ the default STL."
...
* commit 'c52eba1fa23f323b5efeffe1b9aa4c4ab84498b6':
Make libc++ the default STL.
2014-11-07 22:16:53 +00:00
Dan Albert
93766b28ce
Make libc++ the default STL.
...
Previously, code defaulted to using libstdc++ (which was GNU libstdc++
on the host, or Bionic's "libstdc++" on the target). Now we default to
libc++. The exception for this is when using mingw, because we cannot
build libc++ for mingw.
Change-Id: I68726fa26cdcb6263f17c838d3e859debd57fae1
2014-11-07 13:24:56 -08:00
Ying Wang
2874d0ba8c
am 87bde62d
: Merge "Fix error of PRIVATE_LDLIBS introduced by de36cd72."
...
* commit '87bde62df4e5bb76f058394cd7fff8eaaf7e0d0c':
Fix error of PRIVATE_LDLIBS introduced by de36cd72
.
2014-11-07 18:37:42 +00:00
Dan Albert
40eb848d7d
am 18e6b280
: Merge "Missed a dependency on pthreads."
...
* commit '18e6b2800158bb92a102aaaef812cabdddf00683':
Missed a dependency on pthreads.
2014-11-07 18:32:49 +00:00
Ying Wang
2ad87ebf26
Fix error of PRIVATE_LDLIBS introduced by de36cd72
.
...
Change-Id: I85644899c8527e061c331eecc707ca1bb0e3fac4
2014-11-07 10:05:03 -08:00
Dan Albert
18e6b28001
Merge "Missed a dependency on pthreads."
2014-11-07 17:35:26 +00:00
Ying Wang
26a4278db4
am 73b4d38b
: Merge "Update build ID to AOSP"
...
* commit '73b4d38b53ae69dc2ee620b8aaf89df760a48398':
Update build ID to AOSP
2014-11-07 17:31:58 +00:00
Chirayu Desai
9a1f47c7c6
Update build ID to AOSP
...
and display the build number
Change-Id: Ib2f9964b87f591cae235e5094a7f14c897c1872d
2014-11-07 16:10:17 +05:30
Dan Albert
5cab04ffd2
Missed a dependency on pthreads.
...
Change-Id: I060c9c65b07efe89a308fccf71a1096424a7de39
2014-11-06 17:32:25 -08:00
Ying Wang
3f03b0d551
am a69e5962
: am 478eda53
: Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."
...
* commit 'a69e59623b25bf53d07f044db12c7ad9e3635c06':
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
2014-11-07 01:03:32 +00:00
Ying Wang
a69e59623b
am 478eda53
: Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."
...
* commit '478eda5365f866c830f957d6bd1aba3854d55bcc':
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
2014-11-07 00:58:32 +00:00
Ying Wang
e5d4e74f9f
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
...
Because we don't have 32-bit prebuilt libLLVM/libclang.
Change-Id: I86dac33e9bcbcb3d197f7d1e4c9d33bd4e7c473e
2014-11-06 14:11:33 -08:00
Chih-Hung Hsieh
3be11c6e61
Upgrade host tool to x86_64-linux-glibc2.15-4.8
...
BUG: 17915392
Change-Id: I301b8ae70fabedfafea5ae0094bbd46c208f4622
2014-11-06 11:47:08 -08:00
Ian Rogers
4606ae776b
am b78348d5
: am 5968de73
: Merge "Remove stale dexopt flags."
...
* commit 'b78348d5b49ab2899b414d5700f0d7e6e797dfc6':
Remove stale dexopt flags.
2014-11-06 00:12:02 +00:00
Ian Rogers
b78348d5b4
am 5968de73
: Merge "Remove stale dexopt flags."
...
* commit '5968de73fb78e2ca8f32ab0588cac92f74a0435e':
Remove stale dexopt flags.
2014-11-06 00:05:36 +00:00
Ian Rogers
9c7fc4b325
Remove stale dexopt flags.
...
Change-Id: Ib58d39012eabd5f854b9434ab922340fcfe43b57
2014-11-05 14:53:53 -08:00
Ying Wang
ac0dbab7e6
am 9aad363e
: am 7a301af1
: Merge "Force colorsheme to SVG, since darkblue doesn\'t exist on X11"
...
* commit '9aad363e8d629d2ff56ccc30ac6bd95336d2d3c3':
Force colorsheme to SVG, since darkblue doesn't exist on X11
2014-11-05 19:09:19 +00:00
Ying Wang
111866953a
am b45f7c35
: am 8683612f
: Merge "definitions.mk: look for definitions.mk in device/*/build also"
...
* commit 'b45f7c35b138c5b27f4c2528f7f699a59098809e':
definitions.mk: look for definitions.mk in device/*/build also
2014-11-05 19:09:18 +00:00
Ying Wang
9aad363e8d
am 7a301af1
: Merge "Force colorsheme to SVG, since darkblue doesn\'t exist on X11"
...
* commit '7a301af1e0a3d590e42d3317940e65f739b9f930':
Force colorsheme to SVG, since darkblue doesn't exist on X11
2014-11-05 19:01:48 +00:00
Ying Wang
b45f7c35b1
am 8683612f
: Merge "definitions.mk: look for definitions.mk in device/*/build also"
...
* commit '8683612fbd15640ae59daf7ba7c36e1f2ff8e687':
definitions.mk: look for definitions.mk in device/*/build also
2014-11-05 19:01:47 +00:00
Ying Wang
7a301af1e0
Merge "Force colorsheme to SVG, since darkblue doesn't exist on X11"
2014-11-05 18:36:36 +00:00
Ying Wang
8683612fbd
Merge "definitions.mk: look for definitions.mk in device/*/build also"
2014-11-05 17:50:00 +00:00
Stephen Hines
a729f6187a
am f1c5dd60
: am 35e4ede5
: Merge "Use automatic color option with the latest clang."
...
* commit 'f1c5dd60b2d1721e8f5d974f89323eac09795d64':
Use automatic color option with the latest clang.
2014-11-04 17:51:26 +00:00
Stephen Hines
f1c5dd60b2
am 35e4ede5
: Merge "Use automatic color option with the latest clang."
...
* commit '35e4ede5974053d05ae0f8791e60ba77a31907b3':
Use automatic color option with the latest clang.
2014-11-04 17:44:44 +00:00
Stephen Hines
c141b85ef1
Use automatic color option with the latest clang.
...
Bug: 18187181
Now that I checked in the latest prebuilts, clang will automatically use
color on terminals and no color on redirection to files or non-terminals.
Change-Id: I9be00c44947946cc18ce59c936b7f45d0ce2b6fc
2014-11-03 23:42:10 -08:00
Ying Wang
007026f0eb
am 3fe170c5
: Merge "Add support for prebuilt AARs." into lmp-mr1-ub-dev
...
* commit '3fe170c51ea1eca253164fa8738ab42b5b9aaa6b':
Add support for prebuilt AARs.
2014-11-03 18:07:45 +00:00
Nick Kralevich
0a5105bd25
am e4cbc2af
: Merge "Revert "Add support for prebuilt AARs."" into lmp-mr1-ub-dev
...
* commit 'e4cbc2af5f476d9eb875253584260bed807acddf':
Revert "Add support for prebuilt AARs."
2014-11-02 16:53:29 +00:00
Ying Wang
e9dd9f2bfc
Add support for prebuilt AARs.
...
- You can give a .aar as source file to a prebuilt static Java library
module. The build system will set up dependencies and rules to extract
classes.jar and other resource files.
- To build against a prebuilt AAR module, use:
LOCAL_STATIC_JAVA_AAR_LIBRARIES := <module names of aar prebuilt AARs>
The build system will set up rules to merge the library's
AndroidManifest.xml with the main AndroidManifest.xml, add the AAR's
resource dirs and link/merge the AAR's classes.jar.
Bug: 18168693
Change-Id: Ic2c1d20572a93bd98dbc72f8a39e26b459e442c2
2014-11-02 16:51:49 +00:00
Nick Kralevich
e4cbc2af5f
Merge "Revert "Add support for prebuilt AARs."" into lmp-mr1-ub-dev
2014-11-02 05:15:26 +00:00
Nick Kralevich
bcf8683b29
Revert "Add support for prebuilt AARs."
...
master doesn't compile anymore.
This reverts commit f567292504
.
Change-Id: Icc16fe5360d1222740b803e9dd006081e3c66e46
2014-11-02 05:11:11 +00:00