Commit Graph

2562 Commits

Author SHA1 Message Date
Julien Desprez
9d52cc480d Merge "Autogenerate some extra_options based on some build properties" am: afbddd8ddd am: 706f181876
am: 551b210548

Change-Id: I0b6955b9ee43e6d79320321609b47584194029eb
2019-03-01 17:24:22 -08:00
Julien Desprez
706f181876 Merge "Autogenerate some extra_options based on some build properties"
am: afbddd8ddd

Change-Id: Ic0daecc6b3151e8b917aee9dbbbbf0447ba92a93
2019-03-01 17:00:32 -08:00
Julien Desprez
eb7398ea79 Autogenerate some extra_options based on some build properties
If an Android.bp specifies Isolated=true, make sure
it's tagged as not-shardable, since b/126376458 is not
resolved.

Test: make bionic-benchmarks-tests (with and without isolated=true)
Bug: 124024827
Change-Id: I2210c15b84f9b30e1cc23b426d463b34cf9ef94f
2019-03-01 11:42:17 -08:00
Jiyong Park
6d0e062bc4 Merge "Fix: sysprop module can't be used with whole_static_libs" am: 7aac193fa8 am: e8c8a63a57
am: cd1a3247ed

Change-Id: I18ef60bfb0e85bbd5fecc5b96cebf03ea3bc93de
2019-02-25 22:57:23 -08:00
Jiyong Park
e8c8a63a57 Merge "Fix: sysprop module can't be used with whole_static_libs"
am: 7aac193fa8

Change-Id: I0e174e52629c7cb0bf240d366d82fdfc65e66ab8
2019-02-25 22:40:27 -08:00
Jiyong Park
5d1598f746 Fix: sysprop module can't be used with whole_static_libs
When a sysprop module is listed in whole_static_libs, it is renamed to
"lib" + <module> to actually refer to the generated C++ library for the
sysprop module.

Test: m (sysprop_test amended)
Change-Id: I05eddb24433d444376787be567830929ef078159
2019-02-26 10:26:44 +09:00
Xin Li
ced438cafc DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: Ie10bc45dbb1bbf96df17a89ecdf24b68da3ca6d5
2019-02-21 09:24:25 -08:00
Dan Willemsen
88f84d3389 Merge "Allow linking against SystemConfiguration framework on Mac" am: 11545323d2 am: f8aaa24575
am: 9f2a63692c

Change-Id: I9604d349d6a551a6336485d89725dfeeecc6762c
2019-02-20 15:14:55 -08:00
Dan Willemsen
9f2a63692c Merge "Allow linking against SystemConfiguration framework on Mac" am: 11545323d2
am: f8aaa24575

Change-Id: I6098803167563d41dbdbf51f91f9b9b2ee71d567
2019-02-20 14:44:44 -08:00
Treehugger Robot
11545323d2 Merge "Allow linking against SystemConfiguration framework on Mac" 2019-02-20 21:06:11 +00:00
Yu Shan
8b86ba403d Merge "Add 16bit and 32bit nanopb library." am: ecc0efa02a am: 7b7d4dd061
am: c341f40366

Change-Id: I5871f649e1a52716cd03ef7732fe02c41bc95317
2019-02-20 12:51:12 -08:00
Yu Shan
c341f40366 Merge "Add 16bit and 32bit nanopb library." am: ecc0efa02a
am: 7b7d4dd061

Change-Id: I0f6467d5d0c8f780fbdee4fa3f40a1e764ec118e
2019-02-20 12:22:43 -08:00
Dan Willemsen
97d017ecce Allow linking against SystemConfiguration framework on Mac
This is needed for Python

Test: m py2-cmd; py2-cmd -murllib
Change-Id: I156bd281cb341eba7bdd7e7a15b87e8e90ecee1d
2019-02-20 10:28:56 -08:00
Yu Shan
ecc0efa02a Merge "Add 16bit and 32bit nanopb library." 2019-02-20 18:23:29 +00:00
Xin Li
b81f48ee02 Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" 2019-02-20 16:26:00 +00:00
Dan Albert
6b3956d122 Merge "Revert "Remove armv7-a without neon support"" am: 48db2b15fb am: ecbadc5b6c
am: 856c8234f2

Change-Id: Ica4d9b0b474c6be9dd273dab71f33f013abaf6dc
2019-02-20 05:39:39 -08:00
Dan Albert
856c8234f2 Merge "Revert "Remove armv7-a without neon support"" am: 48db2b15fb
am: ecbadc5b6c

Change-Id: Ib59fed4c3f2d6405c64224152e055280fd455f51
2019-02-20 05:27:20 -08:00
Dan Albert
ecbadc5b6c Merge "Revert "Remove armv7-a without neon support""
am: 48db2b15fb

Change-Id: I3f0bd183bb1dfe36fd9f6221c264c3c26d13e72f
2019-02-20 05:10:09 -08:00
Treehugger Robot
48db2b15fb Merge "Revert "Remove armv7-a without neon support"" 2019-02-20 12:56:37 +00:00
Pirama Arumuga Nainar
a2f196ffaa Merge "Override module's C flags when coverage is enabled" am: e67c20ce90 am: 38bda6ed46
am: 76964af322

Change-Id: I89adc331abe8c9d7e62ad6860de8283440b894b2
2019-02-19 22:07:03 -08:00
Pirama Arumuga Nainar
76964af322 Merge "Override module's C flags when coverage is enabled" am: e67c20ce90
am: 38bda6ed46

Change-Id: Ib5e6e4d15b1c59dd16ff9f8327824a2110db0ddc
2019-02-19 21:54:57 -08:00
Pirama Arumuga Nainar
38bda6ed46 Merge "Override module's C flags when coverage is enabled"
am: e67c20ce90

Change-Id: Ic29108df7012a011f2d4878b57fba10e5accf957
2019-02-19 21:50:55 -08:00
Treehugger Robot
e67c20ce90 Merge "Override module's C flags when coverage is enabled" 2019-02-20 05:40:18 +00:00
Dan Albert
8818f49989 Revert "Remove armv7-a without neon support"
Unfortunately we still need to build the NDK sysroot as non-NEON
since that's still supported, though it's no longer the default.

This reverts commit f4e0601c7e.

Test: treehugger
Test: rebuilt NDK sysroot and imported into the NDK, ran NDK tests
Bug: None
2019-02-19 13:53:01 -08:00
Yu Shan
76dd005e68 Add 16bit and 32bit nanopb library.
When compiling nanopb static library, we need to add 16bit or 32bit
flag if we need to use 16bit or 32bit size, default is 8bit.

Change-Id: Ib74478996cb2487accc1e46a32fba8170214c47f
Test: None
Bug: b/122292884
2019-02-19 12:05:02 -08:00
Pirama Arumuga Nainar
c7679de4ab Override module's C flags when coverage is enabled
Bug: http://b/116873221

Disable -Wframe-larger-than because building without optimization can
make frame larger.  Building dng_sdk with coverage results in a bigger
stack frame than the limit in C flags.

Get optimization level back to -O0 if module has a non-default
optimization level.  Not doing so causes link failures with
libneuralnetworks.so.

Test: Build with coverage.
Change-Id: I36b2979bb6a73023458c8de3241e975845bd36eb
2019-02-19 10:00:27 -08:00
yangbill
a5333fd56c [SOONG] Not auto-generate test config if test_suite is cts am: 4f41bc2bed am: 39cfd70a05
am: 53ff60d314

Change-Id: I801ba32b5f93556f59572f8c6200fd30b34b4e55
2019-02-19 06:49:23 -08:00
yangbill
53ff60d314 [SOONG] Not auto-generate test config if test_suite is cts am: 4f41bc2bed
am: 39cfd70a05

Change-Id: I8f22072918a4a3e7d15a16815391c08c6554c32f
2019-02-19 06:45:20 -08:00
yangbill
39cfd70a05 [SOONG] Not auto-generate test config if test_suite is cts
am: 4f41bc2bed

Change-Id: Ie9668b06e3849ed4ed7fbdf9b0ca0519bc777954
2019-02-19 06:41:17 -08:00
yangbill
4f41bc2bed [SOONG] Not auto-generate test config if test_suite is cts
Current soong use source code's under cts as the rule for judgement.
Should change to use test_suites define instead.

Bug: 124313692
Test: m hello_world_test, make sure test config be auog-enerated.
      Modified platform_testing/tests/example/native/Android.bp
      m hello_world_test, make sure test config not be auto-generatetd.

Change-Id: I1bc5216f73329d2a82d9ff29ccbede436dd2976c
2019-02-19 22:25:50 +08:00
Pirama Arumuga Nainar
19426b63b7 Merge "Enable coverage for vendor-related libraries" am: dd739bbdf2 am: 79e5a54e9d
am: 75ea5e1ab8

Change-Id: I859c4e5699166644060d572bb649784f6e092c5f
2019-02-18 21:34:47 -08:00
Pirama Arumuga Nainar
75ea5e1ab8 Merge "Enable coverage for vendor-related libraries" am: dd739bbdf2
am: 79e5a54e9d

Change-Id: I6f60e265f8c40710404b310b9662650b606293c4
2019-02-18 21:30:47 -08:00
Pirama Arumuga Nainar
79e5a54e9d Merge "Enable coverage for vendor-related libraries"
am: dd739bbdf2

Change-Id: I53a1742e3001a946938299f6a28dcd61c8014665
2019-02-18 21:26:45 -08:00
Pirama Arumuga Nainar
dd739bbdf2 Merge "Enable coverage for vendor-related libraries" 2019-02-19 05:19:41 +00:00
Logan Chien
6db28ddfff Merge "Print --llndk to create_reference_dumps command" am: 8a851cfce8 am: 2502d60804
am: 28497944c8

Change-Id: Iba55d35514f9f02d71f3df67708bc6bf02142109
2019-02-18 20:10:34 -08:00
Logan Chien
28497944c8 Merge "Print --llndk to create_reference_dumps command" am: 8a851cfce8
am: 2502d60804

Change-Id: Ic239329c7c942b08724557839987f0c55d1fddb0
2019-02-18 20:05:30 -08:00
Logan Chien
2502d60804 Merge "Print --llndk to create_reference_dumps command"
am: 8a851cfce8

Change-Id: I94e5dee295372b79b9710b047ffb0477e0b2d371
2019-02-18 19:59:01 -08:00
Logan Chien
8a851cfce8 Merge "Print --llndk to create_reference_dumps command" 2019-02-19 03:48:12 +00:00
Colin Cross
af44d57cbe Merge changes from topic "dexpreopt_bootjars" am: 49afb313ed am: 7931d32a00
am: 538a7a2124

Change-Id: I6a4bc320e694354e0619430137f67f8576fc0288
2019-02-18 19:20:26 -08:00
Colin Cross
538a7a2124 Merge changes from topic "dexpreopt_bootjars" am: 49afb313ed
am: 7931d32a00

Change-Id: I18aa12211f93116addb5cdba249363ced92af277
2019-02-18 19:12:13 -08:00
Colin Cross
7931d32a00 Merge changes from topic "dexpreopt_bootjars"
am: 49afb313ed

Change-Id: Icf46a334c41b43d5f3c59c3d56d97dfb97e13cc7
2019-02-18 19:04:36 -08:00
Logan Chien
6227fed029 Print --llndk to create_reference_dumps command
This commands adds `--llndk` to `create_reference_dump.py` command if
the module with incompatible ABI changes is an LLNDK or a NDK lib. This
prevents people from uploading a CL that simply removes ABI dumps (the
result even when the uploader runs the command).

Bug: 124620774
Test: Make an incompatible ABI changes in libaaudio and see the flag.
Change-Id: I9f07f879193bd4d73f5924baff298d28d6fe1506
2019-02-18 13:35:36 +08:00
Colin Cross
40e3373d41 Add more paths helper methods
Add PathsForOutput to convert multiple strings into WritablePaths.

Add OutputPath.InSameDir to build a new OutputPath pointing to a
file in the same directory as an existing OutputPath.

Add WritablePathForTesting and WritablePathsForTesting that mirror
PathForTesting and PathsForTesting but return WritablePaths.

Add PathContextForTesting to return a minimal PathContext
implementation.

Test: paths_test.go
Change-Id: I9708eb164b273514a96dae0a260ef9a963fb9bcf
2019-02-16 17:08:07 -08:00
Pirama Arumuga Nainar
2f289aca6e Enable coverage for vendor-related libraries
Bug: http://b/116873221

Enable coverage for libraries that use VNDK and those that have vendor
variants.  This previously caused a redefinition error in the
Android-<product>.mk but was indirectly fixed when
https://android-review.googlesource.com/c/platform/build/soong/+/906394
disabled coverage for LLNDK stub libraries.

Test: m NATIVE_COVERAGE=true COVERAGE_PATHS=frameworks nothing
Change-Id: Iccbc1c15c68562449ffffe7bbcc3d22419d84bfe
2019-02-15 15:24:47 -08:00
Yi Kong
f791aec7d9 Merge "Annotate No_libcrt with arch_variant" am: 4e3c60128f am: da69c65b88
am: 7886a6776f

Change-Id: Ic703ff048f1e374c0a8509baa85704dd58176fac
2019-02-15 12:54:22 -08:00
Yi Kong
7886a6776f Merge "Annotate No_libcrt with arch_variant" am: 4e3c60128f
am: da69c65b88

Change-Id: I4ab1924fd5258fecf8104ad5bc1d40863f0013b7
2019-02-15 12:49:19 -08:00
Yi Kong
da69c65b88 Merge "Annotate No_libcrt with arch_variant"
am: 4e3c60128f

Change-Id: Ia170a78cb583297f5a7eeb24656b914c5bc50fab
2019-02-15 12:46:14 -08:00
Yi Kong
4e3c60128f Merge "Annotate No_libcrt with arch_variant" 2019-02-15 20:39:25 +00:00
Pirama Arumuga Nainar
0e1f1ed2c6 Merge "Do not enable coverage for platform/llndk stub libraries" am: ff1b5c7b90 am: 48a609233b
am: d21f0d0df3

Change-Id: Id7ae4e5186564f30376925d21dec14e6e6fc4f7e
2019-02-15 11:40:46 -08:00
Pirama Arumuga Nainar
d21f0d0df3 Merge "Do not enable coverage for platform/llndk stub libraries" am: ff1b5c7b90
am: 48a609233b

Change-Id: I7d659c1c4d933629da5c565464af563f315992f1
2019-02-15 11:17:42 -08:00