Commit Graph

23539 Commits

Author SHA1 Message Date
Jae Shin
52d9016759 Merge "Change VNDK snapshot build variant to 'user'"
am: 44e88d1411

Change-Id: I35c148c7cde1262db0fba5f7e27f4526e391f2cf
2017-11-29 05:07:45 +00:00
Treehugger Robot
44e88d1411 Merge "Change VNDK snapshot build variant to 'user'" 2017-11-29 04:59:01 +00:00
Jae Shin
91a2c72964 Change VNDK snapshot build variant to 'user'
Additionally build for all four archs separately:
(arch, variant) =
(arm64, armv8-a)
(arm, armv7-a-neon)
(x86_64, x86_64)
(x86, x86)

Test: development/vndk/snapshot/build.sh
Bug: 66059995
Change-Id: Ia31bc260d18e09a9499708c777e2374431470b4e
2017-11-29 01:27:22 +00:00
Jaegeuk Kim
ce37c10e23 Merge "add make_f2fs to Android SDK build-tools"
am: ea2eb3b92a

Change-Id: Icd050369762a9880d59653dac29f6e1f7d30ad9f
2017-11-27 19:17:24 +00:00
Treehugger Robot
ea2eb3b92a Merge "add make_f2fs to Android SDK build-tools" 2017-11-27 19:12:43 +00:00
Logan Chien
948908ff22 Merge "vndk-def: Add VNDK comments to libselinux"
am: 28c9c32cc1

Change-Id: I6c88601b2a53e27175a28fc68462a9366eabd9a2
2017-11-22 07:09:50 +00:00
Logan Chien
28c9c32cc1 Merge "vndk-def: Add VNDK comments to libselinux" 2017-11-22 07:04:55 +00:00
Logan Chien
be059dc08e vndk-def: Add VNDK comments to libselinux
Bug: 69587962
Test: Nothing changes (warnings are still there)
Change-Id: I9a093f7f2d41ff4d34e4812837ae69b068d652dc
2017-11-21 18:59:48 +08:00
Jayant Chowdhary
5333844442 Merge changes from topic "multithreaded-header-linker-ir"
am: 6a233fe18a

Change-Id: I0ac785a3c0e1fa007932a465935979dca4fd6470
2017-11-21 02:47:38 +00:00
Jayant Chowdhary
6a233fe18a Merge changes from topic "multithreaded-header-linker-ir"
* changes:
  Add command line option(s) to chose text format.
  Make de-duplication of abi elements concurrent.
  Re-factor linker code to use IR and be text format agnostic.
  Optimize TextFormatToIRReader API.
2017-11-21 02:40:46 +00:00
Logan Chien
f8627184fa Merge "vndk-def: Add regex support to extra deps format"
am: 5382b4e19a

Change-Id: I98bc109b811deb6a79df58c5e25b6572fbb386e3
2017-11-21 01:50:58 +00:00
Logan Chien
5382b4e19a Merge "vndk-def: Add regex support to extra deps format" 2017-11-21 01:41:15 +00:00
Jae Shin
572d5ce328 Merge "Add snapshot dir and script to build VNDK snapshot"
am: 6b0d34c6d1

Change-Id: I7dc96f73ed2411dd1ba1708e612b3faeccbc0f24
2017-11-20 20:26:31 +00:00
Treehugger Robot
6b0d34c6d1 Merge "Add snapshot dir and script to build VNDK snapshot" 2017-11-20 20:15:24 +00:00
Jayant Chowdhary
33ea1d01eb Add command line option(s) to chose text format.
Added command line options to header-abi-dumper and header-abi-diff to
support multiple text formats.

Bug: 63865902

Test: BOARD_VNDK_VERSION=current mm -j64 in
      frameworks/compile/libbcc/bcinfo produces libbcinfo.so.lsdump
      successfully.

Test: tests/test.py; all tests pass.

Change-Id: I291d3af16e90b12ee131bb864f90a5b96189db13
2017-11-20 11:16:38 -08:00
Jayant Chowdhary
b297a70f18 Make de-duplication of abi elements concurrent.
Bug: 63590537

Test: compared the linked abi dump for libbcinfo without this change and
with this change using header-abi-diff, found no differences.

Test:
Without this change - linking libbcinfo.so.lsdump measured with 'time' :
real	0m37.245s
user	0m36.448s
sys	0m0.796s

With this change - linking libbcinfo.so.lsdump measured with 'time':
real	0m8.618s
user	0m36.240s
sys	0m2.988s

Test: tests/test.py; all tests pass.

Change-Id: Ice08147496b22c232102f1d1c2e41fc3067fbeaf
2017-11-20 11:16:36 -08:00
Jayant Chowdhary
a11219e1d8 Re-factor linker code to use IR and be text format agnostic.
For header-abi-linker, convert text format specific code into IR code.
this gives us the benefit of being able to support multiple text formats

Bug: 63865902

Test: compared the linked abi dump for libbcinfo without this change and
with this change using header-abi-diff, found no differences.

Test: tests/test.py; all tests pass.

Change-Id: Iec05e85c1d6089c089e15acd7a05110d566fade5
2017-11-20 10:59:07 -08:00
Jayant Chowdhary
2bff7a5640 Optimize TextFormatToIRReader API.
Make TextFormatToIRReader to return maps instead of vectors. This allows
us to 'merge' two TextFormatToIRReaders more efficiently, which enables
more efficient and cleaner code for multi-threaded linking.

Test: tests/test.py; all tests pass.

Change-Id: I6dae0080af9f36216d30370d4f4936eedcda83d1
2017-11-20 10:59:06 -08:00
Logan Chien
48549b385f vndk-def: Add regex support to extra deps format
This commit adds regular expression matching and ${LIB} substitution to
extra deps file format (`--load-extra-deps`).

Test: ./tests/test_elf_linker.py
Test: ./tests/run.py
Change-Id: I9393d3de50a80adc0d0a947ada8c7197d364e48e
2017-11-20 17:46:51 +08:00
Jae Shin
e242d62a9e Add snapshot dir and script to build VNDK snapshot
The build script, build.sh, invokes the 'vndk' phony make target
to generate VNDK snapshots for all four archs arm, arm64, x86,
x86_64.

Test: development/vndk/snapshot/build.sh
Bug: 66059995
Change-Id: I0a48bb88bafc5e4a015f1016afcd55f616ab02e2
2017-11-20 18:27:04 +09:00
Michael Schwartz
764c9657c3 Merge "Add script to create a Mixed Build"
am: 7690c7f71e

Change-Id: Ia3e3455368e3836fb6a2b3341a62532655499dc0
2017-11-15 18:33:51 +00:00
Treehugger Robot
7690c7f71e Merge "Add script to create a Mixed Build" 2017-11-15 18:28:23 +00:00
Jaegeuk Kim
4d6488e357 add make_f2fs to Android SDK build-tools
fastboot calls make_f2fs to format f2fs partition.

Bug: 67009570
Bug: 69298953
Change-Id: I47491d814b44f7235e61348e8cb177b1431a935f
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2017-11-15 08:42:16 -08:00
Michael Schwartz
a0d9bd561c Add script to create a Mixed Build
Run the build script with the location of the GSI build, device build,
output, and checkvintf tool.

Bug: 68327258
Test: Run script with sailfish and aosp artifacts.
Merged-In: Ic33dccae26bd70e90badf758266492c9b69eebea
Change-Id: Ic33dccae26bd70e90badf758266492c9b69eebea
2017-11-15 08:37:55 -08:00
Xin Li
b8d81aed6c Merge commit '514a23836bc263e729c89b4c1ec60912a7cb6765' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master

Change-Id: I9c96b666efe553d2bc51fca5b9ca5d29c45be083
2017-11-14 11:47:59 -08:00
Jaegeuk Kim
e499792706 Merge "Revert "add make_f2fs to Android SDK build-tools""
am: 15c31de13d

Change-Id: I13f8946019e55760c241fad2ae0ffb1921193178
2017-11-14 03:18:05 +00:00
Jaegeuk Kim
15c31de13d Merge "Revert "add make_f2fs to Android SDK build-tools"" 2017-11-14 03:13:42 +00:00
Jaegeuk Kim
da8a8af86f Revert "add make_f2fs to Android SDK build-tools"
Broken build in Mac.

This reverts commit 54d441cd8b.

Change-Id: Ide67e312b988ccf6298d18593e5b9c78f950fdd8
2017-11-14 02:58:42 +00:00
Logan Chien
7045a118d2 Merge "vndk-def: Add regex matching to tag file reader"
am: 3b3d95b42b

Change-Id: I8fe16953d50cafbdb7f75ea84b6221c8c4cb7448
2017-11-14 02:46:34 +00:00
Logan Chien
3b3d95b42b Merge "vndk-def: Add regex matching to tag file reader" 2017-11-14 01:42:00 +00:00
Jaegeuk Kim
4afe3c728f Merge "add make_f2fs to Android SDK build-tools"
am: b4131febb3

Change-Id: I1b81e82e81c1211f98a1870f22623f116fc442d1
2017-11-14 01:18:56 +00:00
Treehugger Robot
b4131febb3 Merge "add make_f2fs to Android SDK build-tools" 2017-11-14 01:12:11 +00:00
André Keller
cb79a8c79c Merge "The "ps" command has changed in Android O"
am: 1fc6d09b95

Change-Id: Ia351f281480d578538af732e65dc6b00f3292d97
2017-11-13 23:36:54 +00:00
Treehugger Robot
1fc6d09b95 Merge "The "ps" command has changed in Android O" 2017-11-13 23:34:22 +00:00
Fyodor Kupolov
09408cb0e6 Merge "APK Cache Demo App"
am: cd3a0fe97c

Change-Id: I6ef0f19730bb625531fdc9b3fb827d83b37fc2de
2017-11-13 22:39:46 +00:00
Fyodor Kupolov
cd3a0fe97c Merge "APK Cache Demo App" 2017-11-13 22:33:17 +00:00
Logan Chien
32f89a67fe vndk-def: Add regex matching to tag file reader
This commit add regular expression support to tag file reader and stop
hard coding SP-HAL in vndk_definition_tool.py.

Test: ./tests/run.py
Test: Run vndk_definition_tool.py for a device and all outputs are same
Change-Id: Iae2631a965045e80c7373970e3f1e61209f3006a
2017-11-13 18:55:45 +08:00
Josh Gao
055f559f19 Merge "Update platform-tools version to 27.0.0."
am: 32f6640b14

Change-Id: I46d86a5558637eea874b8b4e64de697524b5a8e8
2017-11-11 01:37:46 +00:00
Josh Gao
32f6640b14 Merge "Update platform-tools version to 27.0.0." 2017-11-11 01:34:13 +00:00
Josh Gao
4592d6f91c Update platform-tools version to 27.0.0.
Bug: http://b/64292422
Test: none
Change-Id: I1849f0df04af390e8aed716262d2be20efdc3491
(cherry picked from commit 2a75ddf513caf9f971dbecd4474094d5c0f8fcb6)
2017-11-11 01:33:55 +00:00
Logan Chien
614010c851 Merge changes I760cfe22,I377a81f9,I5ce74cb4
am: 9b1521edb4

Change-Id: I4687cc778e0ffa24dd80d13f1bbb92e83e8efdb1
2017-11-10 01:41:13 +00:00
Logan Chien
9b1521edb4 Merge changes I760cfe22,I377a81f9,I5ce74cb4
* changes:
  vndk-def: normalize_partition_tags() should not rename files
  vndk-def: Hide system-to-vendor deps instead
  vndk-def: Remove compute_closure() alias
2017-11-10 01:36:43 +00:00
Pirama Arumuga Nainar
2ce02ce572 Merge changes I4faf15bd,If328eac6
am: c275dab214

Change-Id: I008fa9f3faa7f73d81059283104e3f289a2c9f33
2017-11-10 01:20:39 +00:00
Treehugger Robot
c275dab214 Merge changes I4faf15bd,If328eac6
* changes:
  Use the LLVM libs with "_android" suffix
  Use the LLVM libs with "_android" suffix
2017-11-10 01:10:32 +00:00
Pirama Arumuga Nainar
29c7b8f57b Use the LLVM libs with "_android" suffix
The LLVM libraries used for RenderScript have been changed to include
the "_android" suffix.

Test: None, but very similar to
https://android-review.googlesource.com/#/c/platform/development/+/533559/,
which was tested.

Change-Id: I4faf15bded27f6a6d0c843b072596186ff0b9e73
2017-11-09 15:53:50 -08:00
Pirama Arumuga Nainar
9c060eeb11 Use the LLVM libs with "_android" suffix
The LLVM libraries used for RenderScript have been changed to include
the "_android" suffix.

Test: make PRODUCT-sdk_x86-sdk dist sdk_repo
Change-Id: If328eac65c78877d608f097ec18f6197a17df804
2017-11-09 15:53:43 -08:00
Jack He
134ddc8141 Merge "Modify bluetooth test target for new Instrumentation test location"
am: bf27b31416

Change-Id: I166e76b7e08a487d76c085ec511ecf5dcc7a7205
2017-11-09 22:46:34 +00:00
Treehugger Robot
bf27b31416 Merge "Modify bluetooth test target for new Instrumentation test location" 2017-11-09 22:39:16 +00:00
Pirama Arumuga Nainar
0cad25b321 Merge "Make vtable-dumper depend on libLLVM_android.so"
am: c9c6ba1d52

Change-Id: Iad05908ec660df5f7f75f0e9b1eb5c9dc866da43
2017-11-09 22:10:12 +00:00
Pirama Arumuga Nainar
c9c6ba1d52 Merge "Make vtable-dumper depend on libLLVM_android.so" 2017-11-09 21:59:54 +00:00