Paul Duffin
8e47e8bc41
Support multiple expected errors in neverallow_test.go
...
Extracted some common code used by visibility_test.go and
neverallow_test.go into a new function CheckErrorsAgainstExpectations
in testing.go.
(cherry picked from f3fea09bd4c1cc71500726fb43a91a3b31ec5762)
Bug: 138428610
Test: m nothing
Change-Id: Iafbadf12c6ffdc4d9128fcfe7f15792df5cfd020
2019-08-08 10:50:28 +00:00
Android Build Merger (Role)
f047b0b1c8
Merge "[automerger skipped] Build module from source branch instead of using prebuilds when coverage is enabled. am: 1bc40c56b9
-s ours am: fcd053fdc0
-s ours am skip reason: change_id I7df96c2b2c2ec2859393fb2c19ffe1081d112c96 with SHA1 10c9f83f26
is in history" into qt-r1-dev-plus-aosp
2019-08-07 20:28:23 +00:00
Kun Niu
1c6b1cbc3e
[automerger skipped] Build module from source branch instead of using prebuilds when coverage is enabled. am: 1bc40c56b9
-s ours
...
am: fcd053fdc0
-s ours
am skip reason: change_id I7df96c2b2c2ec2859393fb2c19ffe1081d112c96 with SHA1 10c9f83f26
is in history
Change-Id: If66a9a09952edc31e1c4d3d756ba91699d9e4588
2019-08-07 13:28:14 -07:00
Kun Niu
3502f18338
[automerger skipped] Build module from source branch instead of using prebuilds when coverage is enabled. am: 1bc40c56b9
...
am: 97f3652c7b
-s ours
am skip reason: change_id I7df96c2b2c2ec2859393fb2c19ffe1081d112c96 with SHA1 10c9f83f26
is in history
Change-Id: If7ed546068b14d476efc0596ec25d51b51c1c4a1
2019-08-07 13:28:13 -07:00
Kun Niu
97f3652c7b
Build module from source branch instead of using prebuilds when coverage is enabled.
...
am: 1bc40c56b9
Change-Id: I09e1fc90455f350128ca8a70702199c12ed3264c
2019-08-07 13:13:03 -07:00
Kun Niu
fcd053fdc0
[automerger skipped] Build module from source branch instead of using prebuilds when coverage is enabled.
...
am: 1bc40c56b9
-s ours
am skip reason: change_id I7df96c2b2c2ec2859393fb2c19ffe1081d112c96 with SHA1 10c9f83f26
is in history
Change-Id: I50181fa9229ebf5feedddf38d97b0123eb347315
2019-08-07 13:13:02 -07:00
Alexander Smundak
0761a7c472
Merge "Allow reading zipfile list from a file." am: 02ed5df4ac
am: 73d9ff761f
...
am: 08307d5478
Change-Id: Iaf6089b10a865b423a68d4cce3749b909333c813
2019-08-07 10:39:24 -07:00
Alexander Smundak
08307d5478
Merge "Allow reading zipfile list from a file." am: 02ed5df4ac
...
am: 73d9ff761f
Change-Id: I38c28070d3ec7dae5a4ac475b63ea24df52f95f5
2019-08-07 10:28:23 -07:00
Alexander Smundak
73d9ff761f
Merge "Allow reading zipfile list from a file."
...
am: 02ed5df4ac
Change-Id: I2888ac8c6b03bcfc09739e5329bc872d92a2e9a1
2019-08-07 10:16:20 -07:00
Alexander Smundak
02ed5df4ac
Merge "Allow reading zipfile list from a file."
2019-08-07 17:02:53 +00:00
Anna Trostanetski
ff07f4b511
Merge "Create a module that extracts and installs compat_config." am: bc93803081
am: eb2c46d576
...
am: e90492c14b
Change-Id: I72ebac4254525ebc233215fc22751959fc605246
2019-08-07 09:55:18 -07:00
Anna Trostanetski
e90492c14b
Merge "Create a module that extracts and installs compat_config." am: bc93803081
...
am: eb2c46d576
Change-Id: If83391680c50130b78710b638f306f22ac7f7dfc
2019-08-07 09:45:34 -07:00
Anna Trostanetski
eb2c46d576
Merge "Create a module that extracts and installs compat_config."
...
am: bc93803081
Change-Id: I46d1844f3c4496b1c978fdb3a9894098130fee6e
2019-08-07 09:34:25 -07:00
Anna Trostanetski
bc93803081
Merge "Create a module that extracts and installs compat_config."
2019-08-07 15:46:43 +00:00
Jooyung Han
eeb44a4273
Merge "Add TEST_MAPPING for build/soong/apex" am: 289eb5bed0
am: 825001b111
...
am: f2ee3eb08c
Change-Id: I408ee9fe64ca5742a539934fe76fd6d5cb93ab97
2019-08-07 08:08:02 -07:00
Jooyung Han
f2ee3eb08c
Merge "Add TEST_MAPPING for build/soong/apex" am: 289eb5bed0
...
am: 825001b111
Change-Id: I62d196773e0945152f1e58b08a429e53e39b9a74
2019-08-07 07:57:54 -07:00
Jooyung Han
825001b111
Merge "Add TEST_MAPPING for build/soong/apex"
...
am: 289eb5bed0
Change-Id: I9596e72eb87a7bdcb5cb01bf98dda5b87d850d62
2019-08-07 07:48:53 -07:00
Treehugger Robot
289eb5bed0
Merge "Add TEST_MAPPING for build/soong/apex"
2019-08-07 14:31:23 +00:00
Paul Duffin
1b19fa84f0
Merge changes from topic "restrict-libandroidicu-usages" am: d5a57d8fc5
am: c9c0f52ea5
...
am: 595a0de80e
Change-Id: I464355b81161599a595fe7cc91700549ff61db8f
2019-08-07 04:31:17 -07:00
Paul Duffin
595a0de80e
Merge changes from topic "restrict-libandroidicu-usages" am: d5a57d8fc5
...
am: c9c0f52ea5
Change-Id: I610dbac70955d23bec65730c43b0284b538884ab
2019-08-07 04:21:12 -07:00
Paul Duffin
c9c0f52ea5
Merge changes from topic "restrict-libandroidicu-usages"
...
am: d5a57d8fc5
Change-Id: I5c6fa0a1806bbbb502564d96a8f28a110162c6e8
2019-08-07 04:10:21 -07:00
Paul Duffin
d5a57d8fc5
Merge changes from topic "restrict-libandroidicu-usages"
...
* changes:
Support restrictions based on a module's OsClass
Support restrictions based on a module's dependencies
2019-08-07 10:34:19 +00:00
Jooyung Han
07149d36aa
Add TEST_MAPPING for build/soong/apex
...
build/soong/apex is highly coupled with system/apex.
So it is reasonable to "import" presubmit tests from system/apex.
Test: atest --test-mapping build/soong/apex
Bug: 138984456
Change-Id: I7447e04a63b86486daef0f2a7642842101c0029f
2019-08-07 17:33:24 +09:00
Yifan Hong
b31c2f368c
Merge "Add cc_*.target.recovery.static_libs" am: fb4ecc42ce
am: 101b37b9fc
...
am: edb88ed896
Change-Id: Ia3b27022ab802621d33e0f5c1836545c65124fa0
2019-08-06 21:36:51 -07:00
Yifan Hong
edb88ed896
Merge "Add cc_*.target.recovery.static_libs" am: fb4ecc42ce
...
am: 101b37b9fc
Change-Id: Ia2cc30e332701492af1c365b56a429a83b66fa18
2019-08-06 21:23:49 -07:00
Yifan Hong
101b37b9fc
Merge "Add cc_*.target.recovery.static_libs"
...
am: fb4ecc42ce
Change-Id: I1ba9b00bff32791fcf1c0bb0adcd7b88b127eafa
2019-08-06 21:10:48 -07:00
Treehugger Robot
fb4ecc42ce
Merge "Add cc_*.target.recovery.static_libs"
2019-08-07 03:45:17 +00:00
Hsin-Yi Chen
91eaf1d775
Merge "Skip ABI checks for APEX variants of opt-in libraries" am: ff7321b32a
am: 36528dc386
...
am: 2fac665a72
Change-Id: I0d181dbd0937b0896603c8608a7b992d3827c2a8
2019-08-06 19:58:41 -07:00
Hsin-Yi Chen
2fac665a72
Merge "Skip ABI checks for APEX variants of opt-in libraries" am: ff7321b32a
...
am: 36528dc386
Change-Id: Iabdc6c3a9e77bba7385a2f4761f202af57d98f0a
2019-08-06 19:47:42 -07:00
Hsin-Yi Chen
36528dc386
Merge "Skip ABI checks for APEX variants of opt-in libraries"
...
am: ff7321b32a
Change-Id: I575b12dec299d080a3bf9b0389517f5d49784b53
2019-08-06 19:36:50 -07:00
Hsin-Yi Chen
ff7321b32a
Merge "Skip ABI checks for APEX variants of opt-in libraries"
2019-08-07 02:00:43 +00:00
Stephen Hines
d574f6ff1b
Merge "Add support for AUTO_*_INITIALIZE to build/soong." am: 7f0560d962
am: b28643b33f
...
am: 9e239e9b85
Change-Id: I6b28590e6bddd3e7ffd5db818a539715537d12ba
2019-08-06 14:59:34 -07:00
Stephen Hines
9e239e9b85
Merge "Add support for AUTO_*_INITIALIZE to build/soong." am: 7f0560d962
...
am: b28643b33f
Change-Id: Ibddb1e7816bf8ddb69105e92c61c25f1a91effa7
2019-08-06 14:49:33 -07:00
Stephen Hines
b28643b33f
Merge "Add support for AUTO_*_INITIALIZE to build/soong."
...
am: 7f0560d962
Change-Id: I2d964d462a29539252b3f76544a096028f48c668
2019-08-06 14:39:36 -07:00
Sasha Smundak
1459a9259e
Allow reading zipfile list from a file.
...
Android build generates 180K+ zip files that are to be merged and the
result passed to the indexing pipeline to generate the source code
cross-reference. Their names cannot be passed on the command line,
hence the need for this change. That required extensive changes to
the code as it no longer can be assumed that all the input files can
be kept open.
Bug: 121267023
Test: internal + treehugger + combine index files
Change-Id: I0a829f96ff7187ad967fb6b8cede387501ec57cc
2019-08-06 14:23:35 -07:00
Stephen Hines
7f0560d962
Merge "Add support for AUTO_*_INITIALIZE to build/soong."
2019-08-06 21:04:04 +00:00
atrost
db25ac07a5
Create a module that extracts and installs compat_config.
...
Currently it extracts from the provided jar file compat/compat_config.xml
(generated by compat-changeid-annotation-processor) and installs on
/system/etc/sysconfig.
Future improvements:
- Merge all the configs going for the system image into one, so that
duplicate change ids across modules are failing the build instead of
runtime.
- Support uploading the config onto APEX for APEX modules.
Test: flashed device locally, config files found and read by
com.android.server.compat.CompatConfig.
Bug: 138222363
Change-Id: I64b11fdc466f746702e7e73f612794e024de2288
2019-08-06 19:21:46 +01:00
Paul Duffin
f1c9bbee88
Support restrictions based on a module's OsClass
...
Bug: 137543088
Test: m nothing
Change-Id: Ibb05f222594d8180746b612c04ab1538a1cf3c0b
2019-08-06 11:09:09 +01:00
Paul Duffin
3578188fac
Support restrictions based on a module's dependencies
...
Adds a neverallow InDirectDeps(deps) verb that will allow a neverallow
rule to restrict access to a specific dependency, irrespective of how
it is specified.
Bug: 137543088
Test: m nothing
Change-Id: I0c6bb702d55175e9b78b79e86e96924c5dd83efa
2019-08-06 11:09:02 +01:00
Hsin-Yi Chen
af17d74a1a
Skip ABI checks for APEX variants of opt-in libraries
...
Test: make findlsdumps
Bug: 138219814
Change-Id: I2ae6fadad5af4f7b648aa15307a0bd11339ffc7c
2019-08-06 17:54:01 +08:00
Yifan Hong
e7efbc8c78
Add cc_*.target.recovery.static_libs
...
Test: use static_libs in target.recovery
Change-Id: Ib2a10d09e205932be83e74274a641fd8544f7188
2019-08-05 19:56:44 -07:00
Jooyung Han
ed91f244e9
Merge changes from topic "put-dep-in-apex" am: d62b4af8b7
am: 3873fcd58d
...
am: f0a033b18b
Change-Id: I31ff7580b7d059f01348b3c45a1b067e3b703b33
2019-08-05 17:45:59 -07:00
Jooyung Han
1de628a7aa
Put dependency in apex_manifest.json am: e16330393a
am: 3c6423ef1a
...
am: 4d34c5b39a
Change-Id: Ib74361106b8631b220a0bae04d50b5bce5733430
2019-08-05 17:45:53 -07:00
Jooyung Han
f0a033b18b
Merge changes from topic "put-dep-in-apex" am: d62b4af8b7
...
am: 3873fcd58d
Change-Id: Ie4895c671eee6264cbc2eb672efc314358b77017
2019-08-05 17:39:53 -07:00
Jooyung Han
4d34c5b39a
Put dependency in apex_manifest.json am: e16330393a
...
am: 3c6423ef1a
Change-Id: I2890b9949ba79f996f4a01a0be046f3961a36b51
2019-08-05 17:39:48 -07:00
Jooyung Han
3873fcd58d
Merge changes from topic "put-dep-in-apex"
...
am: d62b4af8b7
Change-Id: Ie21cdc47015a8870a915b2bcc5e49c08f4578da4
2019-08-05 17:34:05 -07:00
Jooyung Han
3c6423ef1a
Put dependency in apex_manifest.json
...
am: e16330393a
Change-Id: I1090b2cc5154e7fefb1a16655ac874799fab740f
2019-08-05 17:33:57 -07:00
Treehugger Robot
d62b4af8b7
Merge changes from topic "put-dep-in-apex"
...
* changes:
Add jsonmodify tool
Put dependency in apex_manifest.json
2019-08-06 00:21:11 +00:00
yidong.zhang
cd40569204
Merge "Fix recovery-variant VNDK libs miss-installed to recovery img" am: 52644cb29a
am: 263802ebda
...
am: 371955973a
Change-Id: I44201cdf364d527747fd1f165c28827c28f5250a
2019-08-05 15:33:50 -07:00
yidong.zhang
371955973a
Merge "Fix recovery-variant VNDK libs miss-installed to recovery img" am: 52644cb29a
...
am: 263802ebda
Change-Id: I05793d99bc132012cbd74aebdb695b3f6d108ccf
2019-08-05 15:26:51 -07:00