Commit Graph

41155 Commits

Author SHA1 Message Date
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
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
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
Simran Basi
7160b06db9 base_rules.mk: Don't use is_native for MULTILIB modules.
Currently we determine if a test artifact has multiple build
outputs by checking if it is NATIVE_TEST, NATIVE_BENCHMARK, or
LOCAL_MULTILIB and declare the module is_native.

This is technically not true therefore let's use a different
variable to determine if we need multiple architecture directories.

Bug: 71554249
Test: make sl4a -j ; Results in an autogenerated empty configuration file.
Change-Id: I17c8f3ef7e1cd502b57e25c71688f12a35a9787d
2018-01-08 13:03:07 -08:00
Dan Albert
1759e2d2f1 Fix allowed STL types for system libraries.
Static libraries using the system STL have type
native:ndk:system:none, not native:ndk:system:shared, since no
actually linking takes place. These are still allowed to be linked to
platform modules.

Test: make checkbuild
Bug: None
Change-Id: Ib999bb0f422ec3938daa740fca5681e153d6525a
2018-01-08 12:42:20 -08:00
Yi Kong
87f90c1151 Merge "Revert "Switch to llvm-ar""
am: 259b2741bb

Change-Id: I3ad87b11c408d4c6bfd6475c6e73256783d88f55
2018-01-08 19:58:21 +00:00
Yi Kong
259b2741bb Merge "Revert "Switch to llvm-ar"" 2018-01-08 19:51:19 +00:00
Yi Kong
4f2e033447 Revert "Switch to llvm-ar"
This reverts commit 5128702ed3.

Bug: 71694982
Reason for revert: Broke Mac build

Change-Id: I1044eccf943bae3c99e7527bd13989c70743b3d4
2018-01-08 18:09:54 +00:00
Tao Bao
05d63dc7b0 Merge "releasetools: Add tests for common.ReadApkCerts()."
am: e3692095a1

Change-Id: Ib98bc33fce7af545c6d915cdff419ed5071ed731
2018-01-06 00:49:21 +00:00
Treehugger Robot
e3692095a1 Merge "releasetools: Add tests for common.ReadApkCerts()." 2018-01-05 23:30:53 +00:00
Yi Kong
39118a9904 Merge "Switch to llvm-ar"
am: 9e700abdfa

Change-Id: I3d993baf488a3dfb05203e3059c874d46aa30cbe
2018-01-05 23:12:48 +00:00
Dan Albert
b5a2a2396a Merge "Remove support for gnustl."
am: 51fb7ac7b3

Change-Id: I785e7607924f518a6403e8547363435aa058526c
2018-01-05 23:12:02 +00:00
Dan Albert
0c1295691a Merge "Also restrict NDK linking by static/shared STL."
am: 0b4bf51e49

Change-Id: If86624b2a067501e50241631ffda7a199a80767e
2018-01-05 23:10:58 +00:00
Yi Kong
9e700abdfa Merge "Switch to llvm-ar" 2018-01-05 22:54:53 +00:00
Treehugger Robot
51fb7ac7b3 Merge "Remove support for gnustl." 2018-01-05 22:29:31 +00:00
Treehugger Robot
0b4bf51e49 Merge "Also restrict NDK linking by static/shared STL." 2018-01-05 22:14:15 +00:00
Steven Moreland
0540296e9f envsetup.sh: don't assume 'cd' is builtin
Some parts of envsetup.sh aren't very happy with things like
this:
function cd() {
    builtin cd "$@" && pwd && ls -l
}

here, I have s/cd/builtin cd/ one such case where envsetup
is trying to execute the output of cd.

Test: manual
Change-Id: I2774481dfbd958410682a4f773f1b8f12a0080aa
2018-01-05 20:15:36 +00:00
Tao Bao
818ddf5e7e releasetools: Add tests for common.ReadApkCerts().
Test: python -m unittest test_common
Test: Run sign_target_files_apks.py on a target with compressed APKs.
Change-Id: I107a8b8f2f0f82e2d1947f14c8a8b3778f633b11
2018-01-05 11:53:55 -08:00