Commit Graph

22168 Commits

Author SHA1 Message Date
Dan Willemsen
48d95e7525 am 05d97fe7: Merge "Remove legacy windows platform build support"
* commit '05d97fe723ea376edb5fe6b12535485311a32418':
  Remove legacy windows platform build support
2015-08-18 04:37:09 +00:00
Dan Willemsen
05d97fe723 Merge "Remove legacy windows platform build support" 2015-08-18 04:31:07 +00:00
Dan Willemsen
05fae7e0be am e6510750: Merge "Use repeatable timestamps"
* commit 'e65107508adbea88fcc1ec51dcf28d4216365753':
  Use repeatable timestamps
2015-08-18 03:35:44 +00:00
Dan Willemsen
e65107508a Merge "Use repeatable timestamps" 2015-08-18 03:30:11 +00:00
Ying Wang
808f0541bb am 77128117: Merge "Set up dependency on ADDRESS_SANITIZER_LINKER"
* commit '77128117d8b7811b86ba89e963f8a96cc6c55a6b':
  Set up dependency on ADDRESS_SANITIZER_LINKER
2015-08-18 00:11:11 +00:00
Ying Wang
77128117d8 Merge "Set up dependency on ADDRESS_SANITIZER_LINKER" 2015-08-18 00:06:52 +00:00
Ying Wang
a05e222368 Set up dependency on ADDRESS_SANITIZER_LINKER
Set up dependency on ADDRESS_SANITIZER_LINKER if address sanitizer is
enabled.

Bug: 22850550
Change-Id: I736fe1d4db9594edf9e82ae96e4631887881dfa5
2015-08-17 17:06:14 -07:00
Dan Albert
9496ef903f am c0018b04: Merge "Add BUILD(_HOST)?_FUZZ_TEST."
* commit 'c0018b04e984180122ab615d8dbea09a3230ef7f':
  Add BUILD(_HOST)?_FUZZ_TEST.
2015-08-17 22:39:25 +00:00
Dan Albert
c0018b04e9 Merge "Add BUILD(_HOST)?_FUZZ_TEST." 2015-08-17 22:32:58 +00:00
Dan Albert
36b6f0472f Add BUILD(_HOST)?_FUZZ_TEST.
These are tests that use LLVM's libFuzzer for testing with a
sanitizer.

Bug: http://b/22850550
Change-Id: I6eeaff7877b7dd0c30f8910c6f27f5278b27a83d
2015-08-17 14:39:27 -07:00
Elliott Hughes
a9a433bdcd am 648f2011: Merge "Replace HAVE_MS_C_RUNTIME with _WIN32 in build."
* commit '648f2011a6fcf1fcb4a67b5d49a1c9d29877bc17':
  Replace HAVE_MS_C_RUNTIME with _WIN32 in build.
2015-08-17 20:31:52 +00:00
Elliott Hughes
648f2011a6 Merge "Replace HAVE_MS_C_RUNTIME with _WIN32 in build." 2015-08-17 20:25:36 +00:00
Dan Albert
8d61be6c78 am f9b75b1b: Merge "Don\'t filter on a non-existent variable."
* commit 'f9b75b1b24d985c873e548d4fd7945a6cdd99323':
  Don't filter on a non-existent variable.
2015-08-17 20:19:30 +00:00
Dan Albert
f9b75b1b24 Merge "Don't filter on a non-existent variable." 2015-08-17 20:16:01 +00:00
Elliott Hughes
6c124d217f Replace HAVE_MS_C_RUNTIME with _WIN32 in build.
Change-Id: Iebca0c4eab975c4bebcd3658baefd85c51890db4
2015-08-17 12:37:37 -07:00
Dan Willemsen
145ae32069 Remove legacy windows platform build support
We still support HOST_OS=windows for the SDK host tools cross-builds, but
that's only when USE_MINGW is set when running under linux.

Change-Id: I37da87dc9fbbd69ba10ce4d7f2668ab3f6482d92
2015-08-17 12:35:04 -07:00
Tao Bao
3b409d56f4 am dae6455c: Merge "Add an option to include a full bootloader in incremental OTA."
* commit 'dae6455c95a30ec2742b54ce3c8a4a45b1aa65f2':
  Add an option to include a full bootloader in incremental OTA.
2015-08-17 17:48:43 +00:00
Tao Bao
dae6455c95 Merge "Add an option to include a full bootloader in incremental OTA." 2015-08-17 17:38:01 +00:00
Dan Albert
1b2187d871 Don't filter on a non-existent variable.
This used to be used for aarch64
(https://android-review.googlesource.com/#/c/80126/), but has since
been removed and now does nothing. This was then reimplemented more
generally with my_illegal_flags
(https://android-review.googlesource.com/#/c/166405/). Drop
*GLOBAL_UNSUPPORTED_CFLAGS in favor of that.

Change-Id: I3347726dd92f9d3a16783e0d9d3b685a828400b4
2015-08-17 10:36:09 -07:00
leozwang
aa6c1a1445 Add an option to include a full bootloader in incremental OTA.
Bug: 23101469
Change-Id: Iac466b83f789f10d26e8d289dce766cf0d05148b
(cherry picked from commit c1324751e79b23a63ea494f4bc784446c8f32435)
2015-08-17 10:34:01 -07:00
Stephen Hines
5d17a7e2ad am 2e08cb6e: Merge "Add -mfpu=neon-vfpv4 if cpu is krait"
* commit '2e08cb6e1bf90b0950c875132d2bf37b71d03fbb':
  Add -mfpu=neon-vfpv4 if cpu is krait
2015-08-15 02:12:46 +00:00
Stephen Hines
2e08cb6e1b Merge "Add -mfpu=neon-vfpv4 if cpu is krait" 2015-08-15 02:04:55 +00:00
Yang Ni
dcfb0c8018 am 36600a6b: Merge "Include target api version in build system for rscpp."
* commit '36600a6bf9b3b79327785cd740a909d3920d6519':
  Include target api version in build system for rscpp.
2015-08-14 18:46:18 +00:00
Yang Ni
36600a6bf9 Merge "Include target api version in build system for rscpp." 2015-08-14 18:39:47 +00:00
Dan Albert
5e9f491218 am 578acca4: Merge "Link librt on the host when using sanitizers."
* commit '578acca4e27511900eefc2f65be3e88f9127660c':
  Link librt on the host when using sanitizers.
2015-08-14 01:05:03 +00:00
Dan Albert
578acca4e2 Merge "Link librt on the host when using sanitizers." 2015-08-14 00:59:52 +00:00
Dan Albert
2922411446 Link librt on the host when using sanitizers.
The sanitizers now use shared memory.

Change-Id: Ie8fa6690374eda08ee4138b68fd628ebbfa2d0c8
2015-08-13 17:25:10 -07:00
Noah Presler
4796a8c524 Include target api version in build system for rscpp.
b/23161320

Change-Id: Ibc23309abed092e7648168fbf4b80891a44929a6
2015-08-13 17:07:56 -07:00
Tao Bao
3a2e91cad7 am 8765fca2: Merge "Free the stash after its use in BBOTA v2."
* commit '8765fca2f6013fe9d82ff00729089c98921bfb52':
  Free the stash after its use in BBOTA v2.
2015-08-13 22:26:17 +00:00
Tao Bao
8765fca2f6 Merge "Free the stash after its use in BBOTA v2." 2015-08-13 22:22:16 +00:00
Tao Bao
bb625d2099 Free the stash after its use in BBOTA v2.
In BBOTA v2, the stash size computation is inaccurate. A stash will be
used only once, so we deduct its size from stashed_blocks right after
its use. However, the stash doesn't actually get freed until being
overwritten by another stash or destroyed at the end of an update. This
leads to OTA failures due to insufficient space on /cache. This CL
changes the BBOTA v2 script to generate an explicit free right after
its use.

Bug: 23119955
Change-Id: Icdd8352bb0ff778945937c870990a888c7a4d38b
2015-08-13 14:44:38 -07:00
Dan Albert
2c00d62940 am 727b462a: Merge "Never allow -w."
* commit '727b462a92635665ce636c63123078a970654480':
  Never allow -w.
2015-08-13 16:52:55 +00:00
Dan Albert
727b462a92 Merge "Never allow -w." 2015-08-13 16:48:18 +00:00
Neil Fuller
5f19844067 am bc7680c4: Merge "Include the okhttp.jar when compiling against internal classes"
* commit 'bc7680c4d7a94cfafcc3c925f0fbf134bc1dfcb8':
  Include the okhttp.jar when compiling against internal classes
2015-08-13 10:46:46 +00:00
Neil Fuller
bc7680c4d7 Merge "Include the okhttp.jar when compiling against internal classes" 2015-08-13 10:40:39 +00:00
Nick Kralevich
c85364c9c9 am 5f79bcdd: Merge changes from topic \'file_contexts.bin\'
* commit '5f79bcdd070f4069cd60bbe68430ee172575f9e2':
  build: switch over to file_contexts.bin only
  Update embedded.mk to support file_contexts.bin
2015-08-12 23:53:50 +00:00
Nick Kralevich
5f79bcdd07 Merge changes from topic 'file_contexts.bin'
* changes:
  build: switch over to file_contexts.bin only
  Update embedded.mk to support file_contexts.bin
2015-08-12 23:46:28 +00:00
Dan Albert
df3fd1d128 Never allow -w.
Apparently -w will disable all warnings on GCC regardless of ordering
(clang will still respect ordering so warnings that are enabled after
-w are still respected). This is insane. Strip -w from the cflags.
Anyone that wants this flag should be turning off the specific
warnings (or just fix them), not disabling all warnings.

Change-Id: I2ba065637dfdc192921da4d9adbdc63b728c166f
2015-08-12 14:54:16 -07:00
Neil Fuller
f39a25bc28 Include the okhttp.jar when compiling against internal classes
If LOCAL_SDK_VERSION is unset we were compiling against
core-libart but not okhttp.

okhttp should be an implementation detail but
android.net.http.HttpResponseCache implements
com.android.okhttp.OkCacheContainer.

The OpenJDK 8 version of of javac now requires all interfaces of
implemented classes be made available at compile time even with
-source 1.7 -target 1.7.

This is not an issue when compiling against the android.jar because
the implementation of HttpResponseCache in the android.jar does not
implement com.android.okhttp.OkCacheContainer.

Bug: 23099154
Change-Id: I3fa1d0f73535b396623fed953cfc71189b797849
2015-08-12 09:30:58 +01:00
Dan Willemsen
ccc933e97b Use repeatable timestamps
This moves all of the date references under build/ to using a single
datetime that can be set manually using BUILD_DATETIME.

It also adds an option, OVERRIDE_C_DATE_TIME, that if set to true, will
redefine __DATE__ and __TIME__ for all C/C++ files so that it matches
BUILD_DATETIME.

Bug: 23117013
Change-Id: I7c17a32b794a5adf40b9cd69136fb0ff9f6084ec
2015-08-12 00:02:20 -07:00
Gina Dimino
291232aea7 am 8f301ff1: Merge "Docs: Rename content-footer-text plus remove whitespace."
* commit '8f301ff10d037e4305775c55ce9be6fcb93a8134':
  Docs: Rename content-footer-text plus remove whitespace.
2015-08-12 03:14:01 +00:00
Gina Dimino
8f301ff10d Merge "Docs: Rename content-footer-text plus remove whitespace." 2015-08-12 03:05:59 +00:00
Dan Willemsen
b184ec2a82 am 608aa91d: Merge "Revert "Use repeatable timestamps""
* commit '608aa91db7ef1c131e2c49b0ffd39851ff2b6e9d':
  Revert "Use repeatable timestamps"
2015-08-12 01:07:44 +00:00
Dan Willemsen
608aa91db7 Merge "Revert "Use repeatable timestamps"" 2015-08-12 01:02:19 +00:00
Dan Willemsen
92026f2d36 Revert "Use repeatable timestamps"
OSX `date` doesn't understand -d

This reverts commit 13ba6e00f4.

Change-Id: I5970032ff02cc07bd3b087e1eeb5f19b1e4194b4
2015-08-12 01:00:19 +00:00
Dan Willemsen
c576c08fd5 am 671b8ff5: Merge "Use repeatable timestamps"
* commit '671b8ff5457472631f805f3230273e5e8121b28a':
  Use repeatable timestamps
2015-08-12 00:55:21 +00:00
Dan Willemsen
671b8ff545 Merge "Use repeatable timestamps" 2015-08-12 00:49:26 +00:00
Dan Willemsen
13ba6e00f4 Use repeatable timestamps
This moves all of the date references under build/ to using a single
datetime that can be set manually using BUILD_DATETIME.

It also adds an option, OVERRIDE_C_DATE_TIME, that if set to true, will
redefine __DATE__ and __TIME__ for all C/C++ files so that it matches
BUILD_DATETIME.

Bug: 23117013
Change-Id: I880ef103a26bca86bd7bf42d58e62e740a6228c8
2015-08-11 17:08:03 -07:00
Ying Wang
23cb26c7bf am 20febe3d: Merge "Don\'t build otapackage on Mac."
* commit '20febe3d839131e2cde795ae2a36f93c5ac1c378':
  Don't build otapackage on Mac.
2015-08-11 23:14:52 +00:00
Ying Wang
20febe3d83 Merge "Don't build otapackage on Mac." 2015-08-11 22:49:25 +00:00