Commit graph

41170 commits

Author SHA1 Message Date
Stephen Hines
dfc0111700 Merge "Remove unnecessary USE_CLANG_PLATFORM_BUILD."
am: 504bd79e86

Change-Id: I063e6632b256eb8361cc63251398d30d63a08c58
2018-01-12 18:27:21 +00:00
Stephen Hines
504bd79e86 Merge "Remove unnecessary USE_CLANG_PLATFORM_BUILD." 2018-01-12 18:19:45 +00:00
Dan Albert
38435d2f70 Merge "Disable availability macros in libc++ on Darwin."
am: ba4641931b

Change-Id: Ie4f17a56b87254e96f938b3f0d6d7c02f20704aa
2018-01-12 00:03:02 +00:00
Dan Shi
d100261cfb Merge "Add a flag to disable auto-generating test configs."
am: 6704727b69

Change-Id: I58d40a61f24621ca678bc8f83ecbca284ec90fae
2018-01-11 23:46:33 +00:00
Treehugger Robot
ba4641931b Merge "Disable availability macros in libc++ on Darwin." 2018-01-11 23:44:22 +00:00
Dan Shi
6704727b69 Merge "Add a flag to disable auto-generating test configs." 2018-01-11 22:59:39 +00:00
Tao Bao
c6548f8df4 Merge "releasetools: Remove the fallback-to-full logic."
am: 896fa043bc

Change-Id: I05a02a21a909a7eedf018620be65dfb09e575199
2018-01-11 22:48:59 +00:00
Tao Bao
11348df23b Merge "releasetools: Remove two dead functions in ota_from_target_files.py."
am: 155a140c82

Change-Id: I1a7572a10c713c79ee0c8b8dcad39b69c1de60c6
2018-01-11 22:48:13 +00:00
Stephen Hines
178cf8e4d4 Remove unnecessary USE_CLANG_PLATFORM_BUILD.
This build variable is unnecessary now that GCC is completely
unsupported for Android platform builds.

Bug: http://b/64032869
Test: Builds
Change-Id: I9d44ebd7129cb2bdfbb26d37922db19c6fb9efc9
2018-01-11 14:29:23 -08:00
Treehugger Robot
896fa043bc Merge "releasetools: Remove the fallback-to-full logic." 2018-01-11 22:24:36 +00:00
Treehugger Robot
155a140c82 Merge "releasetools: Remove two dead functions in ota_from_target_files.py." 2018-01-11 22:23:18 +00:00
Dan Albert
9262b6fead Disable availability macros in libc++ on Darwin.
libc++'s headers are annotated with availability macros that indicate
which version of Mac OS was the first to ship with a libc++ feature
available in its *system's* libc++.dylib. We do not use the system's
library, but rather ship our own. As such, these availability
attributes are meaningless for us but cause build breaks when we try
to use code that would not be available in the system's dylib.

Test: removed the darwin check and checked showcommands on linux
Bug: None
Change-Id: I5f69f337baa29fcdf84b5e2fe46bf4f85904d1cd
2018-01-11 13:24:32 -08:00
Dan Shi
2035abfb8d Add a flag to disable auto-generating test configs.
Bug: 71714007
Test: m -j <module for *ts suite>
m -j NotificationStressTests
confirm NotificationStressTests.config generated

Change-Id: I372a227a07633ab8d335a8435baf5dd6081bb27e
2018-01-11 11:22:52 -08:00
Yifan Hong
32faacadf0 Merge "framework_cm.xml: move to hardware/interfaces"
am: 1e7ab9db8f

Change-Id: Id0370ec1ac3e10b78363d281dd5019ea8ebf9b34
2018-01-11 19:19:23 +00:00
Yifan Hong
1e7ab9db8f Merge "framework_cm.xml: move to hardware/interfaces" 2018-01-11 19:14:24 +00:00
Nicolas Geoffray
0cd49dcaf2 Merge "Remove copy/paste code."
am: 08e7159672

Change-Id: I76b72e23faf99d5b08030598c3bcbeed021e6627
2018-01-11 09:23:44 +00:00
Nicolas Geoffray
08e7159672 Merge "Remove copy/paste code." 2018-01-11 09:20:05 +00:00
Stephen Hines
822bc8fedb Merge "Switch back to llvm-ar."
am: 38228f2156

Change-Id: Ia417b6335611c9bb0db5ee104bb884ff90a82131
2018-01-11 07:42:35 +00:00
Treehugger Robot
38228f2156 Merge "Switch back to llvm-ar." 2018-01-11 07:36:07 +00:00
Tianjie Xu
4c17a597d2 Merge "Sort the split transfers to generate a determinate package"
am: c56071b21b

Change-Id: Iecaa85736ff9cb46fdbccbc20aa4ffbdf1024bb6
2018-01-11 05:10:35 +00:00
Tianjie Xu
c56071b21b Merge "Sort the split transfers to generate a determinate package" 2018-01-11 04:15:28 +00:00
Steven Moreland
0cc00d2639 Merge "envsetup.sh: don't assume 'cd' is builtin"
am: c10bd0d859

Change-Id: I80c2cd4b943889fb51976c79857ca8ad98f8482d
2018-01-11 04:04:09 +00:00
Tao Bao
175df38e6c releasetools: Remove two dead functions in ota_from_target_files.py.
GetBuildProp() and GetVendorBuildProp() have been factored into
BuildInfo class. These two functions were meant to be deleted in commit
481bab8d48.

Test: python -m unittest test_ota_from_target_files
Test: No users of these two functions.
Change-Id: Id590a46d597939973ef2339cdfea4f5163548d4d
2018-01-10 19:57:57 -08:00
Treehugger Robot
c10bd0d859 Merge "envsetup.sh: don't assume 'cd' is builtin" 2018-01-11 03:52:46 +00:00
Yifan Hong
919dcf1b6e framework_cm.xml: move to hardware/interfaces
Test: m dist
Bug: 69636193

Change-Id: Ic15a445d700552cb0973d6919ed5843bdecba363
2018-01-10 16:32:04 -08:00
Stephen Hines
d612b8329a Switch back to llvm-ar.
This properly sets -format=gnu for all non-Darwin targets, because
llvm-ar is cross-platform (but defaults to the host environment).

Bug: http://b/71618641
Test: m checkbuild
Change-Id: Ib5d1c112a4ac792a11d1a0721ae6b0a5f9a42727
2018-01-10 15:55:52 -08:00
Dan Willemsen
739a3f9ee1 Merge "Switch to build-tools bison"
am: 08dc8498fe

Change-Id: I9e780f78cb4f05840870e1dfce176014a46281c4
2018-01-10 22:38:28 +00:00
Tri Vo
43f0f6d197 Merge "bootanim: remove access to vendor_file type"
am: e320da7dce

Change-Id: Ie63a99ab53e3d305f344c8197b0102995399193f
2018-01-10 22:37:34 +00:00
Tao Bao
32b80dca9f releasetools: Remove the fallback-to-full logic.
The fallback-to-full logic doesn't look beneficial, but may hide away
real bugs, especially when it's on by default.

Test: Generate an incremental non-A/B OTA successfully.
Test: Inject bugs into script; observe that incremental OTA
      generation errors out instead of silently falling back.
Test: No internal users of the flag from code search.
Change-Id: Ifc627d898552c0bd72463e8c107e36610421608e
2018-01-10 14:03:16 -08:00
Dan Willemsen
08dc8498fe Merge "Switch to build-tools bison" 2018-01-10 21:49:28 +00:00
Treehugger Robot
e320da7dce Merge "bootanim: remove access to vendor_file type" 2018-01-10 21:47:32 +00:00
Tao Bao
177f57df64 Merge "releasetools: Add a BuildInfo class."
am: b54f6157a4

Change-Id: I3ba1914e4af6a7de5bf385801188d52cc2fa7d45
2018-01-10 21:13:57 +00:00
Tao Bao
b54f6157a4 Merge "releasetools: Add a BuildInfo class." 2018-01-10 20:37:41 +00:00
Tianjie Xu
d3bf67e1d3 Sort the split transfers to generate a determinate package
We split large apks and generated patches for them in parallel,
resulting in nondeterminate packages between different runs. This CL
sort the split transfers by target name first; and then add them
sequentially to the final transfer list.

Also fix a side effect where we may generate a wrong sha1 for split
ranges due to synchronization error.

Bug: 71770360
Bug: 71759418

Test: Generate the package several times, compare the log and the transfer list.
Change-Id: I2a49e22594d59ffaa98b11edc776be4e3c4c561f
2018-01-10 12:23:57 -08:00
Tri Vo
c727d6d40e bootanim: remove access to vendor_file type
This domain should instead depend on same_process_hal_file, to which all
domains already have access.

Bug: 70990973
Test: emulator -gpu guest; boots with no denials from bootanim.
Change-Id: Ic577dd3c3895f8471d68a0da245d37a17cd6a3f3
2018-01-10 09:13:44 -08:00
Nicolas Geoffray
b7c5e3bbb9 Remove copy/paste code.
The options passed are already the default.

This is also to reduce the difference between user and userdebug
related to dexopt.

Test: m
Change-Id: Id62c38f145909b511761b471160028915000fc23
2018-01-10 10:01:11 +00:00
Dan Albert
c9c0a83c21 Merge "Remove support for stlport."
am: 9eba210e23

Change-Id: Iccb15305de9aacf04b567bb07651461074c2322a
2018-01-10 00:25:11 +00:00
Treehugger Robot
9eba210e23 Merge "Remove support for stlport." 2018-01-10 00:12:48 +00:00
Tao Bao
481bab8d48 releasetools: Add a BuildInfo class.
Prior to this CL, we have similar codes in different paths
(WriteFullOTAPackage / WriteBlockIncrementalOTAPackage /
WriteABOTAPackageWithBrilloScript). This CL factors out the common codes
that deal with OEM-specific properties into BuildInfo class, and adds
tests for the new class.

Test: python -m unittest test_ota_from_target_files
Test: Create an incremental package that uses and doesn't use OEM
      properties respectively.
Test: Create a full package that uses and doesn't use OEM properties
      respectively.
Change-Id: Ida914cace12803d55396fa503bafcac2db2a520e
2018-01-09 15:08:23 -08:00
Simran Basi
cd81373d91 Merge "base_rules.mk: Don't use is_native for MULTILIB modules."
am: 8d3fde909e

Change-Id: Iffa671757256856d2ce39d9fbabfaf217b504f21
2018-01-09 05:11:00 +00:00
Treehugger Robot
8d3fde909e Merge "base_rules.mk: Don't use is_native for MULTILIB modules." 2018-01-09 05:05:30 +00:00
Dan Willemsen
1211033f98 Merge "Remove armv5te"
am: 139f458ced

Change-Id: I0879425c32e5af7e7d2b72fa4b780d9b394cdc1b
2018-01-09 03:27:48 +00:00
Treehugger Robot
139f458ced Merge "Remove armv5te" 2018-01-09 03:18:34 +00:00
Dan Albert
f125a492e7 Merge "Fix allowed STL types for system libraries."
am: 48e41b74f9

Change-Id: I96bafdc15ff33f554bb14be73a69e7f670369b46
2018-01-09 02:42:24 +00:00
Treehugger Robot
48e41b74f9 Merge "Fix allowed STL types for system libraries." 2018-01-09 02:38:05 +00:00
Dan Willemsen
ecae349e19 Switch to build-tools bison
Test: m
Test: mma external/dtc
Change-Id: Ia8e837f77238cb07e23de24f98c77aba9ff0f8dd
2018-01-08 17:38:33 -08:00
Elliott Hughes
260b272319 Merge "adbs was broken for a year and no-one noticed."
am: 5a436f10e5

Change-Id: I06cf3e97589ee880ef52279335ae546ffa90fc3d
2018-01-08 23:57:18 +00:00
Treehugger Robot
5a436f10e5 Merge "adbs was broken for a year and no-one noticed." 2018-01-08 23:51:24 +00:00
Dan Willemsen
dd3a27394f Remove armv5te
This architecture only existed for unbundled use, but even the NDK is
removing support in their r17 release, so just remove support for it.

Test: build/soong/build_test.bash -only-config
Test: check buildserver configs, I don't see anything still using armv5
Change-Id: Ic183b510c9ada94438bd4cc2b9362fa438a29ced
2018-01-08 15:26:16 -08:00
Elliott Hughes
1a701d93f9 adbs was broken for a year and no-one noticed.
Time to remove it.

Bug: https://b/15270043
Test: N/A
Change-Id: Idb56fc99c213732eca75f81ddd9d7a8a19374b42
2018-01-08 13:55:00 -08:00