Commit Graph

25865 Commits

Author SHA1 Message Date
Dan Willemsen
d636aa5ee5 Merge "Clean up windows sdk build"
am: f00581b07c

Change-Id: I1b444af1e84f03fac0ca4f60a5bb5f7b9144b81a
2018-08-28 17:17:29 -07:00
Dan Willemsen
8d8863d6ab Merge "Ship a 64-bit libc++.dylib in platform-tools" am: f61f8588d5
am: 427f3a2237

Change-Id: I3ac332a2488b790fe57ca52a38201a08c4041b36
2018-08-28 16:59:07 -07:00
Treehugger Robot
f00581b07c Merge "Clean up windows sdk build" 2018-08-28 23:56:13 +00:00
Dan Willemsen
427f3a2237 Merge "Ship a 64-bit libc++.dylib in platform-tools"
am: f61f8588d5

Change-Id: Iad591557e160e5ee2d2b15becd0699c77f729e0a
2018-08-28 16:54:56 -07:00
Treehugger Robot
f61f8588d5 Merge "Ship a 64-bit libc++.dylib in platform-tools" 2018-08-28 23:41:13 +00:00
Dan Willemsen
f9acc01476 Ship a 64-bit libc++.dylib in platform-tools
The existing tools in platform-tools that link against libc++.dylib
ended up loading the system version, not this one, due to the 32/64-bit
mis-match.

Test: m sdk
Change-Id: Ibc985fe7a30e05052e728ad3ce4fd9e866476827
2018-08-28 13:17:50 -07:00
Dan Willemsen
844cfa4538 Clean up windows sdk build
* Pass ATREE_STRIP to use hermetic strip tool
* Stop using sdk/build/..., which has been empty
* Use soong_zip for faster, more reproducible zip files
* Add more dependencies
* Remove some echos to clean up output

Test: m win_sdk
Change-Id: I9bfbf6565dbeb4cc48ddd037596b8408ea3c3157
2018-08-28 00:13:28 -07:00
Hsin-Yi Chen
299acf20e3 Add test for lsdump in JSON format
- Add a test case and data for lsdump in JSON format
- Rename command line option -text-format to -output-format
- Add option -input-format to header-abi-linker

Bug: 112877706
Test: ./test.py
Change-Id: Ia94f7ffffbcaf55f336932029883ea3635c547e9
2018-08-27 07:01:18 +00:00
Hsin-Yi Chen
9782ea3b85 Merge "Support VNDK ABI dump in JSON format" am: d3b65417c2
am: cadc38a16c

Change-Id: I667663da3cc844f2a9831959fe1c4b0c7d43e8b9
2018-08-26 21:05:38 -07:00
Hsin-Yi Chen
cadc38a16c Merge "Support VNDK ABI dump in JSON format"
am: d3b65417c2

Change-Id: I486e698da7aa169e6e0229c0301e670ec68e75f3
2018-08-26 20:57:57 -07:00
Hsin-Yi Chen
d3b65417c2 Merge "Support VNDK ABI dump in JSON format" 2018-08-27 03:47:47 +00:00
Joel Fernandes
ec9ee7f412 Remove ashmem from development repository
This topic removes ashmem from ART. Changes the names in development/
too. It only affects "dalvik-" ashmem regions which are the majority.

Change-Id: I1186eb60087384847892f655bec8174169ffd6c4
Signed-off-by: Joel Fernandes <joelaf@google.com>
2018-08-24 12:37:52 -07:00
Hsin-Yi Chen
5a829cbb62 Support VNDK ABI dump in JSON format
header-abi-dumper outputs JSON files if -text-format=Json is specified.
It uses libjsoncpp to convert IR to JSON. The output files follow the
schema of the protobuf, but the default values, such as empty array,
false and 0, are not omitted.

Bug: 112877706
Test: ./create_reference_dumps.py -libs libstagefright_bufferqueue_helper -products aosp_arm64
Change-Id: I0f964ee0530c444035170f451217bb005ee6107b
2018-08-24 15:43:55 +08:00
Chih-Hung Hsieh
46231e0557 Merge "Use multiple patterns and/or emails in per-file syntax." am: 8b46ef302a
am: 1a21baff8a

Change-Id: I23e9f18a9031570d7ae098a373dc3fb6a0f979ed
2018-08-23 18:00:12 -07:00
Chih-Hung Hsieh
1a21baff8a Merge "Use multiple patterns and/or emails in per-file syntax."
am: 8b46ef302a

Change-Id: Ifd159a3763c106985ccc6b5ce7a32d43dfcc2333
2018-08-23 17:51:13 -07:00
Treehugger Robot
8b46ef302a Merge "Use multiple patterns and/or emails in per-file syntax." 2018-08-24 00:25:31 +00:00
Chih-Hung Hsieh
b15eff40ec Use multiple patterns and/or emails in per-file syntax.
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I1c42dad063c4b6245377a38869e6c5f417160718
2018-08-23 14:39:33 -07:00
Jae Shin
70f89630a4 Merge "Remove test script that is no longer relevant" am: fbe0cdedaa
am: 69e1d4d51f

Change-Id: I440fb3d9353bf643fa1244b73dc18e01d779a3f9
2018-08-22 21:06:02 -07:00
Jae Shin
69e1d4d51f Merge "Remove test script that is no longer relevant"
am: fbe0cdedaa

Change-Id: I617198cd2b2124be1d05b3453034fc5a9d2715b9
2018-08-22 19:56:25 -07:00
Treehugger Robot
fbe0cdedaa Merge "Remove test script that is no longer relevant" 2018-08-23 00:46:21 +00:00
Jae Shin
a68a064142 Remove test script that is no longer relevant
Before when the VNDK snapshot make target used to depend on the
phony targets of the VNDK libraries (e.g. libui.vendor), each
built library was installed under
out/target/product/{product}/system/lib*. However, vndk packaging
have since been changed to depend on the actual built files under
obj/*, and thus the VNDK snapshot target itself does not install
libs to /system/lib*. The testing logic in test.sh which compares
the VNDK snapshot zip file with the libs installed under
/system/lib* is now obsolete. For now there is no meaningful
alternative way to test the correct packaging without being
redundant.

Test: development/vndk/snapshot/build.sh
Change-Id: Ia8d9ef80541f80094c979ab80fd161386e30f916
2018-08-22 17:14:02 +09:00
Nicole Borrelli
b6c72278ff Merge "Remove deprecated media sample." am: 8f7bfcff2b
am: a3bb3b5f27

Change-Id: I904969f379d483d724437708685766b9f488b17c
2018-08-21 10:36:42 -07:00
Nicole Borrelli
a3bb3b5f27 Merge "Remove deprecated media sample."
am: 8f7bfcff2b

Change-Id: I8efd773a12d2b948613b2e624d7be92c3a80f607
2018-08-21 10:30:32 -07:00
Nicole Borrelli
8f7bfcff2b Merge "Remove deprecated media sample." 2018-08-21 17:21:34 +00:00
Nicole Borrelli
ce3abea5df Remove deprecated media sample.
For a cononical sample of a media player, see the Universal Music Player:
https://github.com/googlesamples/android-UniversalMusicPlayer

Bug: 33676939
Test: Verified projects compile when code removed.

Change-Id: I56e09ccf85647296c29da9a06b03b0fae98d50e6
2018-08-20 10:26:07 -07:00
Sundong Ahn
ec1eae039e Change LOCAL_SDK_VERSION
launchperf use the private APIs in android.test.runner. So
LOCAL_SDK_VERSION of launchperf will be changed to platform.

Bug: 77577799
Test: m -j

Merged-In: I4ab94e009d96c297b37c7afee35f8ddd2546b977
Change-Id: I4ab94e009d96c297b37c7afee35f8ddd2546b977
2018-08-20 10:06:52 +09:00
Nan Zhang
b855e6d102 Merge "Remove Metalava related targets in development." am: 1594b2db03
am: 60ca2642f7

Change-Id: I493f4429beab0d3a291f5cfe4c3bfe480657441c
2018-08-17 12:25:03 -07:00
Nan Zhang
60ca2642f7 Merge "Remove Metalava related targets in development."
am: 1594b2db03

Change-Id: I089002ebf676f03b68b3cca82e7151f3e9b43a09
2018-08-17 11:53:59 -07:00
Nan Zhang
1594b2db03 Merge "Remove Metalava related targets in development." 2018-08-17 16:53:11 +00:00
Logan Chien
272953942c Merge "repo-pull: Handle project-not-found error" am: 38b51a31c8
am: 77d53a88d5

Change-Id: Ic7bdbf325d7e515d13e1a151cf028d0f1e1fabc5
2018-08-16 23:23:31 -07:00
Logan Chien
77d53a88d5 Merge "repo-pull: Handle project-not-found error"
am: 38b51a31c8

Change-Id: I2040d57e032e289480c03dd4c42650758907f62f
2018-08-16 22:32:54 -07:00
Logan Chien
38b51a31c8 Merge "repo-pull: Handle project-not-found error" 2018-08-17 03:51:50 +00:00
Jae Shin
dd3f96b5e7 Merge changes Ic2fd4056,I198fb9b7,I0d61ea11,I59d9b8f7 am: 1dc3d3be29
am: 06105d9c2a

Change-Id: I89b9ac12e8146c2d5e5cb2bf5dd254157d756899
2018-08-15 18:41:48 -07:00
Jae Shin
06105d9c2a Merge changes Ic2fd4056,I198fb9b7,I0d61ea11,I59d9b8f7
am: 1dc3d3be29

Change-Id: Ie2d88dcbdbfe46e8ce079eed01a39080bed8959b
2018-08-15 18:20:54 -07:00
Treehugger Robot
1dc3d3be29 Merge changes Ic2fd4056,I198fb9b7,I0d61ea11,I59d9b8f7
* changes:
  Retry the command for querying parent artifacts
  Revise comments for when -v, -m options are needed
  Check first if system_dir and device_dir exists
  Print error on missing device target_files archive
2018-08-16 00:43:43 +00:00
Logan Chien
97e0afd6cb Merge "Remove full paths from abi_diff.proto" am: 07ab21bc9d
am: 15899934ab

Change-Id: I641d36b91a3299da5579666762d882c955018803
2018-08-15 04:40:02 -07:00
Logan Chien
15899934ab Merge "Remove full paths from abi_diff.proto"
am: 07ab21bc9d

Change-Id: I635f23084b4df44108164b6136a49c958e98f4e8
2018-08-15 01:20:57 -07:00
Logan Chien
07ab21bc9d Merge "Remove full paths from abi_diff.proto" 2018-08-15 04:00:52 +00:00
Logan Chien
add620d230 Remove full paths from abi_diff.proto
This commit removes the full import path from abi_diff.proto so that
header-abi-dumper can be built separately.

Test: ./tests/test.py
Change-Id: Iec5062dc7ddecfec0f2fdac5993513fd647475ae
2018-08-14 18:26:34 +08:00
Jae Shin
cfc7c1ba90 Retry the command for querying parent artifacts
Currently mixed build targets are flaky, intermittently breaking
with the error message that either the parent artifact directory
does not exist (system_dir, device_dir) or a specific artifact
in the parent artifact directory does not exist.
To help debug this flakiness issue and avoid any race conditions
within the build-chaining infrastructure, allow the retrying of
the command for querying parent artifacts.

Test: build_mixed system_dir device_dir out_dir
Bug: 112250435
Change-Id: Ic2fd4056163c2a32d6057b6c182061c605cd158d
2018-08-14 18:22:57 +09:00
Jae Shin
d5fd24f609 Revise comments for when -v, -m options are needed
Test: build_mixed
Change-Id: I198fb9b7d9916ee7bb3ab5e005a3de1e4d1dd866
2018-08-14 15:14:17 +09:00
Jae Shin
f418b9b9e5 Check first if system_dir and device_dir exists
Change the order of variable checking so it is clear whether
the system_dir or device_dir does not exist or a specific file
in the *_dir does not exist.

Test: build_mixed system_dir device_dir dist_dir
Merged-In: I0d61ea11c3bd22ef12eccbb46b8f665414188307
Change-Id: I0d61ea11c3bd22ef12eccbb46b8f665414188307
(cherry picked from commit 52edf8fb4f)
2018-08-14 15:13:39 +09:00
Paul Trautrim
d2d8ac9509 Print error on missing device target_files archive
Check the newly-created DEVICE_TARGET_FILES_ARCHIVE variable instead of
checking the DEVICE_ARCHIVE variable twice.

Test: run build_mixed with only the *-img-* archive in the device directory
Merged-In: I59d9b8f77cac1dcdeb2c88cdf37bc8dfbd1111ca
Change-Id: I59d9b8f77cac1dcdeb2c88cdf37bc8dfbd1111ca
(cherry picked from commit c1474312b3)
2018-08-14 15:13:00 +09:00
Logan Chien
a7e37bbbbd Merge changes Id2c62a6a,I20b288ea am: 88368b1306
am: b43d1b7b3f

Change-Id: Ief83dd2b594657f0ac46491facdd4579fd298462
2018-08-13 23:02:47 -07:00
Logan Chien
b43d1b7b3f Merge changes Id2c62a6a,I20b288ea
am: 88368b1306

Change-Id: I02471c25a76133d11c1ed152c60b77aac6f7756b
2018-08-13 22:58:30 -07:00
Logan Chien
88368b1306 Merge changes Id2c62a6a,I20b288ea
* changes:
  Fix function pointer test for header-checker.
  header-checker: Cleanup Android.bp
2018-08-14 05:47:47 +00:00
Jayant Chowdhary
728a91471e Fix function pointer test for header-checker.
Test: changing tests/integration/cpp/include/abstract_class.h changes to
      test results. This would not happen earlier, since inadvertently,
      the test used to pick up abi references locally instead of freshly
      creating them.

Change-Id: Id2c62a6a69b151c5c7f504cfd94bc2be8c851c31
2018-08-14 12:21:53 +08:00
Logan Chien
fa90c59d69 header-checker: Cleanup Android.bp
This commit removes wildcards from the `srcs` properties and removes
unnecessary static libraries.

Test: It builds
Change-Id: I20b288eacf571b367195c809ff23dbbe2c1dd32c
2018-08-14 11:44:07 +08:00
Jae Shin
786eb6ac87 Merge "Remove ld.config.txt from prebuilts build rule" am: 5979d44e98
am: f38855b71a

Change-Id: Ibe9c1c2cde19dd18bdc1e3437210145827e14a24
2018-08-13 19:02:31 -07:00
Jae Shin
f38855b71a Merge "Remove ld.config.txt from prebuilts build rule"
am: 5979d44e98

Change-Id: I41e4d6f7c8215dbfeca8807649447cf1b1fdaad3
2018-08-13 18:57:44 -07:00