Commit Graph

20107 Commits

Author SHA1 Message Date
Automerger Merge Worker 8fe9f07eef Merge "Switch from clang-r377782 to clang-r377782b" am: 207b18ca35
Change-Id: Id23bcebfc2d5892a5622143294c9bf909e3defcc
2020-02-18 22:11:51 +00:00
Chih-hung Hsieh 207b18ca35 Merge "Switch from clang-r377782 to clang-r377782b" 2020-02-18 21:59:06 +00:00
Automerger Merge Worker e81fff6889 Merge "Statically link the unwinder into binaries packaged into an unbundled APEX with legacy_android10_support: true." am: d8b80bc683 am: 4b20d12832 am: 7fe957e171
Change-Id: Ic27432ee08f3acd6052ceeacb56249077a5edf65
2020-02-18 21:48:42 +00:00
Automerger Merge Worker 7fe957e171 Merge "Statically link the unwinder into binaries packaged into an unbundled APEX with legacy_android10_support: true." am: d8b80bc683 am: 4b20d12832
Change-Id: I1148976f41eab035cc6f8705eb731259d1955010
2020-02-18 21:23:03 +00:00
Automerger Merge Worker c09d834be8 Merge "Enable bool-operation warning" am: ab392f613e am: ca4375f54b am: 3f0bd0b32a
Change-Id: Ic2a5fe1809658a52856eeb627b8ce145df9c3611
2020-02-18 21:13:50 +00:00
Peter Collingbourne 4b20d12832 Merge "Statically link the unwinder into binaries packaged into an unbundled APEX with legacy_android10_support: true." am: d8b80bc683
Change-Id: Ie0cfa3841ce93ee166bab27befbde1505beca583
2020-02-18 21:09:00 +00:00
Chih-hung Hsieh 3f0bd0b32a Merge "Enable bool-operation warning" am: ab392f613e am: ca4375f54b
Change-Id: Ida4cc7c97644987b6532ff929f028e061d45dbb8
2020-02-18 21:01:27 +00:00
Chih-hung Hsieh ca4375f54b Merge "Enable bool-operation warning" am: ab392f613e
Change-Id: Ie0226f7313c89878f14f92455d6e01edbdc5e7bb
2020-02-18 20:47:56 +00:00
Peter Collingbourne d8b80bc683 Merge "Statically link the unwinder into binaries packaged into an unbundled APEX with legacy_android10_support: true." 2020-02-18 18:12:37 +00:00
Chih-hung Hsieh ab392f613e Merge "Enable bool-operation warning" 2020-02-18 17:52:25 +00:00
Baligh Uddin 5b16dfb39a Allow for setting a logging_parent for an Android App.
Unit test: go test ./... -test.v -run TestOverrideAndroidApp
Unit test: python manifest_fixer_test.py

BUG: 148198056
Change-Id: Ib5ff235d2a93e88b86aec1c0b16327ea938a094d
2020-02-18 09:37:56 -08:00
Paul Duffin 25ce04bd3a Add support for cc_binary in module_exports
Bug: 142920869
Test: m nothing
Change-Id: Ib7e16cb323806782c2186e73e13642e4485fc149
2020-02-18 16:17:35 +00:00
Kousik Kumar 2976bfd568 Do not add ccWrapper to ccNoDeps rule
The "ccNoDeps" rule was introduced to separate out ".s" compilations
from other ".S" and ".c*" compilations. The ".s" compilation does not
produce a dependency file and does not support running a preprocessor
through it.
However, it does have ".include" directives, that do NOT take a macro,
but still does the equivalent of a "#include". The compilation of ".s"
assembly files also do NOT produce a dependency file.

Because they don't produce a dependency file AND because RBE's input
processor does not yet support finding dependencies for these files, I'm
making this change to not prepend rewrapper for these commands.

Test: Tested by running a build with this change and ensuring the ".s"
compilations aren't being sent to rewrapper.

Change-Id: I60bb14ff92596e4992e9f675bdc199f1440d4327
2020-02-18 08:00:17 -08:00
Jaewoong Jung a4003406ed Merge "Simple refactoring of prefix related functions." am: 36b6aec26a am: 9bc4a38707 am: 7f2487d5cc
Change-Id: Ia383f411632524fa2fb3fb238f754900564172c7
2020-02-18 15:48:38 +00:00
Jaewoong Jung 7f2487d5cc Merge "Simple refactoring of prefix related functions." am: 36b6aec26a am: 9bc4a38707
Change-Id: I57f482e803aaa12419194d30bc8f7382386877d6
2020-02-18 15:30:45 +00:00
Jaewoong Jung 9bc4a38707 Merge "Simple refactoring of prefix related functions." am: 36b6aec26a
Change-Id: I021d75ff57aa08827fbc365066dd207f6473584c
2020-02-18 15:19:38 +00:00
Jaewoong Jung 36b6aec26a Merge "Simple refactoring of prefix related functions." 2020-02-18 15:08:41 +00:00
John Eckerdal 974b0e80c7 Add CCACHE_DIR to allowed environment variables
Trying to override the default directory for ccache by using the
CCACHE_DIR environment variable fails unless it is in the allowed
list.

Bug: 149670916
Test: manual
Change-Id: I8e7eea7a5c25d7ea5f0956fafc70d62522f3c4fc
2020-02-18 12:28:53 +01:00
Treehugger Robot d99b4f944c Merge "sdk_version: "system_server_current"" am: 7c9662a8e9 am: bb66146f20 am: c14b0a1117
Change-Id: I86ff7e8e433663d5b122ad0f57fdf1c6e59e7e56
2020-02-18 10:26:32 +00:00
Treehugger Robot c14b0a1117 Merge "sdk_version: "system_server_current"" am: 7c9662a8e9 am: bb66146f20
Change-Id: I272e312462cdc1d76e0d9bed975935dcc17048c5
2020-02-18 10:15:08 +00:00
Treehugger Robot bb66146f20 Merge "sdk_version: "system_server_current"" am: 7c9662a8e9
Change-Id: Iff265e505e34e084599aa69fbdca0df87afd02e5
2020-02-18 10:04:09 +00:00
Treehugger Robot 7c9662a8e9 Merge "sdk_version: "system_server_current"" 2020-02-18 09:55:54 +00:00
Chih-Hung Hsieh 287a13fc7e Switch from clang-r377782 to clang-r377782b
Bug: 149509676
Test: make checkbuild
Change-Id: I30c4cda700522968da443cebd3a67a1c428ba2ef
2020-02-18 07:48:13 +00:00
Inseob Kim c3b1a166d2 Fix build error on vendor_snapshot_static
Without this, Makefile wasn't able to link against
vendor_snapshot_static library.

Bug: 149252327
Test: manual linking
Change-Id: Idd65656b58d12f8489827df081ef08e40ceb5af9
2020-02-18 12:42:54 +09:00
Nicolas Geoffray 47cbfcdd3e Add system server jars expressed in make in the system server classpath.
This was missed in:
https://android-review.googlesource.com/c/platform/build/soong/+/1180134

Test: lunch and build ARC, check SYSTEMSERVERCLASSPATH
Bug: 148944771
Bug: 141785760
Bug: 140451054
Change-Id: I619aee5441f7233010067a6c780e978f38ba7796
2020-02-17 19:47:05 +00:00
Inseob Kim 2b96bf5441 Do not hide VNDK prebuilts from make
Flattened APEXes don't install modules hidden from make. This CL unhides
VNDK prebuilt modules to make VNDK APEX work correctly. The suffix for
VNDK prebuilt is still omitted if the version of prebuilt is same with
BOARD_VNDK_VERSION.

Bug: 149542527
Test: build arm64 GSI and flash
Test: Set BOARD_VNDK_VERSION and build
Change-Id: I54a7c14c93eccfefc81603ec3bb474a031bc55af
2020-02-17 19:01:13 +09:00
Jackal Guo 05d4eb88c2 Merge "Revert "Turn on the instrumentation by default for the java code in APEXes"" am: 954b29728d am: e8c1a8fddb am: 1f68e6334c
Change-Id: Ic3e8d377ba929002da6d8377394a99c4f89fdceb
2020-02-17 05:51:11 +00:00
Jackal Guo 1f68e6334c Merge "Revert "Turn on the instrumentation by default for the java code in APEXes"" am: 954b29728d am: e8c1a8fddb
Change-Id: Ie8ee4760938f3afdd6a41dffffd8d504fa6beb6e
2020-02-17 05:38:30 +00:00
Jackal Guo e8c1a8fddb Merge "Revert "Turn on the instrumentation by default for the java code in APEXes"" am: 954b29728d
Change-Id: I838bbd0ca6da2a8c01b8af4cced575374db7fe9f
2020-02-17 05:23:05 +00:00
Jackal Guo 954b29728d Merge "Revert "Turn on the instrumentation by default for the java code in APEXes"" 2020-02-17 05:12:06 +00:00
Jackal Guo c021ea0b35 Revert "Turn on the instrumentation by default for the java code in APEXes"
This reverts commit 33b6654eea.

Reason for revert: verify build breakage

Change-Id: I712a9de8ca3bfb17c36d3b8efa6176cdaf26640e
2020-02-17 03:25:56 +00:00
Treehugger Robot 307039fc45 Merge "Add apex name to description" am: 2fe818f8b0 am: 0c7a78cf82 am: 1b4c46f529
Change-Id: I501428de259a7ad839f1ef1245112a39afdaf72f
2020-02-15 01:20:32 +00:00
Treehugger Robot 1b4c46f529 Merge "Add apex name to description" am: 2fe818f8b0 am: 0c7a78cf82
Change-Id: I4eb7988d93b1e3f7bc549cd4d98edd1c441cd465
2020-02-15 01:04:13 +00:00
Treehugger Robot 0c7a78cf82 Merge "Add apex name to description" am: 2fe818f8b0
Change-Id: I7f5c3b6935399711f928ddbe96d1d485ee8136de
2020-02-15 00:44:42 +00:00
Treehugger Robot 2fe818f8b0 Merge "Add apex name to description" 2020-02-15 00:29:31 +00:00
Treehugger Robot 8b3d1af5d8 Merge "Turn on the instrumentation by default for the java code in APEXes" am: 1d62b1c536 am: 8e254a5fdb am: e603410046
Change-Id: Iea545940b3e86197b443a1206625c88676d9f1e4
2020-02-14 22:47:14 +00:00
Jaewoong Jung 3aff5787e2 Simple refactoring of prefix related functions.
Rename the two prefix-in-list funcs so that their usages are clearer.
Also find and replace all the code that essentially does either.

This introduces additional loops in some places, but I think the added
readability and simplicity outweighs the performance degradation, which
should be negligible anyway.

Test: m nothing
Test: TreeHugger
Change-Id: I37e2276ca0c815105ed0031f23c0b1264b480e4f
2020-02-14 14:33:49 -08:00
Treehugger Robot e603410046 Merge "Turn on the instrumentation by default for the java code in APEXes" am: 1d62b1c536 am: 8e254a5fdb
Change-Id: I63da8aa76a557da1af56ee2c9ee4358639bd643b
2020-02-14 22:33:31 +00:00
Treehugger Robot 8e254a5fdb Merge "Turn on the instrumentation by default for the java code in APEXes" am: 1d62b1c536
Change-Id: Iba752fc4929e26106f19d3f260a68bfc033915b1
2020-02-14 22:11:32 +00:00
Treehugger Robot 1d62b1c536 Merge "Turn on the instrumentation by default for the java code in APEXes" 2020-02-14 21:55:40 +00:00
Chih-Hung Hsieh 45709ee8f1 Enable tautological-bitwise-compare warning
Bug: 148831363
Test: make
Change-Id: I9d1ba8ef50630e40d59e402c37ad1366a8e25ea6
2020-02-14 13:25:09 -08:00
Treehugger Robot 2d37c13b35 Merge "Allow using test_config_template for CTS tests." am: f1366a339e am: 81c9f33aba am: 4dda05ff68
Change-Id: I5b17f39f0e17a9ae5225ecded65a47b5ede8412d
2020-02-14 21:06:55 +00:00
Treehugger Robot 4dda05ff68 Merge "Allow using test_config_template for CTS tests." am: f1366a339e am: 81c9f33aba
Change-Id: I42382ff73e503760797dab46e0d76d49d8ce44fb
2020-02-14 20:47:29 +00:00
Treehugger Robot 81c9f33aba Merge "Allow using test_config_template for CTS tests." am: f1366a339e
Change-Id: Iaa70fdd84927c58b8f677708b0109aec21bcaddb
2020-02-14 20:34:15 +00:00
Dan Willemsen b13a9487a0 Add apex name to description
Otherwise we see multiple concurrent builds of different actions with
the same description:

    0:09 //external/fmtlib:fmtlib clang++ src/format.cc
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc

Is now:

    0:09 //external/fmtlib:fmtlib clang++ src/format.cc
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc [com.android.resolv]
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc [com.android.adbd]
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc [com.android.art.debug]
    0:09 //external/fmtlib:fmtlib clang++ src/format.cc [com.android.media]

Test: m  <watch output>
Change-Id: Ib8fccc144e8fe5fc33cafe8536538b892bd42765
2020-02-14 12:33:52 -08:00
Treehugger Robot f1366a339e Merge "Allow using test_config_template for CTS tests." 2020-02-14 20:22:48 +00:00
Vic Yang 77def87329 Another round of no-vendor-variant VNDK whitelist cleanup
Bug: 148082691
Test: Build success
Change-Id: Id33fd52ec3cae33322131cd9d1227522af6f2bca
2020-02-14 19:02:25 +00:00
Chih-Hung Hsieh 0e5bb2786f Enable bool-operation warning
Bug: 148287141
Test: make
Change-Id: Icec118284025d0631ad3db64e19c5efe3c21ce13
2020-02-14 10:34:44 -08:00
Ivan Lozano 58ed939a67 Merge "Remove execute-only support." am: d0bf3dbea8 am: 5d1461877d am: 50522fe8b8
Change-Id: I3cb63d6ca2070e296e46bd803fdeca1ea75d78f9
2020-02-14 15:26:59 +00:00
Ivan Lozano 50522fe8b8 Merge "Remove execute-only support." am: d0bf3dbea8 am: 5d1461877d
Change-Id: I24df75a9053b2c90dac04e0dcacf9eac83f0e9bd
2020-02-14 15:10:05 +00:00