Artur Satayev
b01dd44266
Use merge_csv python_binary.
...
Instead of using .py file directly.
Bug: 145132366
Test: diff -w out/soong/hiddenapi/hiddenapi-greylist.csv
Change-Id: Ib79019234b4ae05486e831b30d27bd1be3bbba67
2020-01-20 17:59:02 +00:00
Baligh Uddin
014a85712d
Allow codename.fingerprint format for minSdkVersion
...
Use codename.fingerprint format for minSdkVersion if it is unset
in the manifest and
UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT=true.
Using a utility function in sdk.go to check whether to apply
api.fingerprint.
BUG: 130541924
Change-Id: I748a25c419033bf54b63171d334644fcd0ecc78f
2020-01-20 07:46:12 -08:00
Automerger Merge Worker
e6d1cb1f29
Merge "Overwrite test-file-name in test config." am: a929cd52ce
am: b3dd640c9f
am: 4dddde24ae
...
Change-Id: I3ed6f25ded54a962ea0650285e0522206cb4864b
2020-01-17 22:29:32 +00:00
Jaewoong Jung
a929cd52ce
Merge "Overwrite test-file-name in test config."
2020-01-17 19:07:12 +00:00
Jaewoong Jung
3998234d8c
Overwrite test-file-name in test config.
...
If the install apk name is different than the module name, use
test_config_fixer to update the test-file-name value in the config.
Test: app_test.go
Fixes: 147375216
Change-Id: I2141eeebbb3552995400b45634712306673fd812
2020-01-17 06:08:12 -08:00
Anton Hansson
a8b44b6ecb
Merge "Add framework-sdkextensions to jars to instrument"
2020-01-17 13:14:51 +00:00
Anton Hansson
91133e6e44
Add framework-sdkextensions to jars to instrument
...
Required to get code coverage.
Bug: 143937446
Test: verify LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR is set
for framework-sdkextensions
Change-Id: I2cdb8ce60939a91f8473c2ddd2a8ff198cd7c92e
Merged-In: I2cdb8ce60939a91f8473c2ddd2a8ff198cd7c92e
(cherry picked from commit 9492b09dae
)
2020-01-17 09:57:52 +00:00
Anton Hansson
9492b09dae
Add framework-sdkextensions to jars to instrument
...
Required to get code coverage.
Bug: 143937446
Test: verify LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR is set
for framework-sdkextensions
Change-Id: I2cdb8ce60939a91f8473c2ddd2a8ff198cd7c92e
2020-01-17 09:56:37 +00:00
Jaewoong Jung
6431ca7a3a
Add rules to handle asset resources.
...
AAPT2 ignores assets in overlay resource inputs, so separate rules are
required to extract and merge assets from dependencies.
Test: app_test.go
Test: Added assets to Settings-core for testing
Test: Confirmed Settings.apk contains them with this change.
Fixes: 146655310
Change-Id: Iab8bc61b719541dae64f0e3502bc9cb45a353687
2020-01-16 12:19:49 -08:00
Automerger Merge Worker
4c167ae85d
Merge "Save compilation units in protobuf format." am: 1be2d48005
am: e0703cdd88
am: 0a5b3ff2b7
...
Change-Id: I1d9d4c999b72443c36f992050987962a55cb4056
2020-01-16 19:27:17 +00:00
Treehugger Robot
1be2d48005
Merge "Save compilation units in protobuf format."
2020-01-16 18:55:26 +00:00
Automerger Merge Worker
d84989724b
Merge changes I0668ff5a,Iff2d7063,I6f8b1e2d,I126db49d,Ic6582260 am: a35294889f
am: 273045701d
am: 2e84d4d4ea
...
Change-Id: I169c252ec78ad9846b86673bcfbc3eda08059552
2020-01-16 02:33:21 +00:00
Automerger Merge Worker
b0f501acad
Merge "Add basic test for java_system_modules" am: 0b3a5781a9
am: d3a2e1e36e
am: da72ba68cc
...
Change-Id: I4b42a9a83adfef1e392b5b9cae2fc23e4b1dbf9c
2020-01-16 02:12:27 +00:00
Treehugger Robot
a35294889f
Merge changes I0668ff5a,Iff2d7063,I6f8b1e2d,I126db49d,Ic6582260
...
* changes:
Exclude source->prebuilt deps from visibility enforcement
Dedup package build components registration
Support registering hard coded pre arch mutators
Added java_system_modules_import
Document java_system_modules
2020-01-16 02:09:36 +00:00
Treehugger Robot
0b3a5781a9
Merge "Add basic test for java_system_modules"
2020-01-16 02:03:44 +00:00
Automerger Merge Worker
cd3f58cf76
Merge "Keep signatures of presigned prebuilt test apps." am: 275eb69d0a
am: fc81db1149
am: b05bf4c82e
...
Change-Id: I0537ff7d08e9ee8e79287dca5d60e30aa8b2e4f7
2020-01-15 23:43:24 +00:00
Jaewoong Jung
275eb69d0a
Merge "Keep signatures of presigned prebuilt test apps."
2020-01-15 23:17:02 +00:00
Sasha Smundak
6c2d4f91f8
Save compilation units in protobuf format.
...
Bug: 146224091
Test: manual
Change-Id: I7a856bab13f54c78efa0061421c3fcb9341bc6e7
2020-01-15 12:40:03 -08:00
Jaewoong Jung
7c5bd835d0
Keep signatures of presigned prebuilt test apps.
...
Skip the JNI uncompress step for presigned prebuilt test apps. They
don't need it, and they can invalidate the signature. Also, fix the
install partition of prebuilt test apps.
Fixes: 143472191
Test: app_test.go
Test: Converted CtsShimPrivUpgradePrebuilt to bp and checked the
final output apk signature.
Change-Id: Ied7d3576b5db4de40a9ca9e388336229d07212f5
2020-01-15 14:33:32 +00:00
Paul Duffin
a7b9f42587
Add basic test for java_system_modules
...
Bug: 142940300
Test: m nothing
Change-Id: I8855df0832f93e40d31e457191590458c274bb5c
2020-01-15 11:17:57 +00:00
Paul Duffin
90169baf0e
Added java_system_modules_import
...
A prebuilt version of java_system_modules. It does not import the
generated system module, it generates the system module from imported
java libraries in the same way that java_system_modules does. It just
acts as a prebuilt, i.e. can have the same base name as another module
type and the one to use is selected at runtime.
Bug: 142940300
Test: m nothing
Change-Id: I126db49d18294fcd6e2b7ad0237f83e9c2fdef7a
2020-01-15 11:17:57 +00:00
Paul Duffin
cded5ecfc3
Document java_system_modules
...
Bug: 142940300
Test: m nothing
Change-Id: Ic658226088615dbeeef15f17dbb095a968e0742d
2020-01-15 11:17:57 +00:00
Automerger Merge Worker
901c8e6287
Merge "Reland^2 "m <apex_name>-deps-info prints the internal/external deps of the APEX"" am: 814bebb8ea
am: 8d050e8e6e
am: a7c65b295e
...
Change-Id: Ib50d00c8cf7f1c6cefd17d9dfa51a4b45835236f
2020-01-15 06:44:21 +00:00
Treehugger Robot
814bebb8ea
Merge "Reland^2 "m <apex_name>-deps-info prints the internal/external deps of the APEX""
2020-01-15 06:12:45 +00:00
Automerger Merge Worker
5c44036fc5
Merge "Allow sdk and core modules to use sysprop_library" am: a46c2b1994
am: ed000d7832
am: 4ad8d0d859
...
Change-Id: I001549e1fed24999f435e950c8b523dae01a6ed8
2020-01-15 01:26:17 +00:00
Inseob Kim
a46c2b1994
Merge "Allow sdk and core modules to use sysprop_library"
2020-01-15 00:32:00 +00:00
Automerger Merge Worker
d1b3d7df93
Merge "Make android_test_helper_app support apex_available" am: ee76fba905
am: 305b6a7e4e
am: 2788a6061e
...
Change-Id: I93e281df1ceff2d3d3f8d26b00ca038bdf8fa503
2020-01-14 13:25:14 +00:00
Anton Hansson
ee76fba905
Merge "Make android_test_helper_app support apex_available"
2020-01-14 12:59:17 +00:00
Jiyong Park
83dc74b770
Reland^2 "m <apex_name>-deps-info prints the internal/external deps of the APEX"
...
This reverts commit 7cb4d378e7
.
Test: m
Test: ALLOW_MISSING_DEPENDENCIES=true DIST_DIR=out/dist ./art/tools/dist_linux_bionic.sh -j80 com.android.art.host
(in the master-art-host branch)
Change-Id: I9beca73aafdf42f03bfa19cf1634b2641dac417b
2020-01-14 18:40:56 +09:00
Automerger Merge Worker
17f7140e2f
Merge "Revert "Reland "m <apex_name>-deps-info prints the internal/external deps of the APEX"""" am: a7503367cf
am: 39ed342b9b
am: 9651bdef91
...
Change-Id: I1b22374e4a5698f15576c6daf474e6797318feb9
2020-01-14 09:30:56 +00:00
Jiyong Park
a7503367cf
Merge "Revert "Reland "m <apex_name>-deps-info prints the internal/external deps of the APEX""""
2020-01-14 08:58:17 +00:00
Jiyong Park
7cb4d378e7
Revert "Reland "m <apex_name>-deps-info prints the internal/external deps of the APEX"""
...
This reverts commit 956305c61c
.
Reason for revert: broke master-art-host branch
Exempt-From-Owner-Approval: reverting a bad change
Change-Id: Id7faed4ee85328c7c65847a3543ea9e67a3d50b3
2020-01-14 08:58:02 +00:00
Inseob Kim
c52395135f
Allow sdk and core modules to use sysprop_library
...
This allows javaSdk and javaCore modules to link against Public stub of
Platform owned sysprop_library.
Bug: 141246285
Test: m nothing
Change-Id: Ie11c43cc72ddd0ee13e4163955775c13eb9dbe92
2020-01-14 15:58:59 +09:00
Automerger Merge Worker
57414e4ad7
Merge "Reland "m <apex_name>-deps-info prints the internal/external deps of the APEX""" am: 17c51a4ff6
am: acf9d43674
am: 500fddf35c
...
Change-Id: I0a93edcbffafaa031959f520866041059e1dd760
2020-01-14 03:02:44 +00:00
Treehugger Robot
17c51a4ff6
Merge "Reland "m <apex_name>-deps-info prints the internal/external deps of the APEX"""
2020-01-14 02:40:42 +00:00
Automerger Merge Worker
acc79daa46
Merge "Use boot image extension in the JIT-zygote experiment." am: 4d9c97bd77
am: 856f6d458a
am: 450072eefa
...
Change-Id: If09ec246abc01b803ff54b331fa301819b519297
2020-01-13 11:35:32 +00:00
Automerger Merge Worker
a6cacb665b
Merge "Do not add jacocoagent to framework libraries in static coverage builds." am: 289bd28f17
am: 10b887a354
am: c15caef962
...
Change-Id: I236faf7d3ba446d787303d1c9b9a2ecea2697e88
2020-01-13 10:57:41 +00:00
Ulyana Trafimovich
4d9c97bd77
Merge "Use boot image extension in the JIT-zygote experiment."
2020-01-13 10:38:01 +00:00
Ulyana Trafimovich
289bd28f17
Merge "Do not add jacocoagent to framework libraries in static coverage builds."
2020-01-13 10:25:16 +00:00
Automerger Merge Worker
2aca61f31b
Merge "Don't dexpreopt APEX variant modules" am: 72d009e1ec
am: 47d80cdf79
am: 77c734043a
...
Change-Id: I1f72a27f7f5cdd32f862dc0294e08199cf8461c7
2020-01-13 03:45:31 +00:00
Yo Chiang
72d009e1ec
Merge "Don't dexpreopt APEX variant modules"
2020-01-13 03:15:50 +00:00
Automerger Merge Worker
889f0a3d41
Merge "Sandbox soong_build by changing to root directory" am: ae7cddd5ad
am: 70eefb570a
am: 9280bf9474
...
Change-Id: I7d749bf12f039ca72bd59f4264082043f1f14fde
2020-01-11 07:34:02 +00:00
Treehugger Robot
ae7cddd5ad
Merge "Sandbox soong_build by changing to root directory"
2020-01-11 06:00:21 +00:00
Colin Cross
988414c2cf
Sandbox soong_build by changing to root directory
...
This relands I12a0f907753fefd1997ab8b4ea2ac331234093cf along with
a fix to blueprint for absolute paths.
Store the current working directory and then change to the root
directory so that all file accesses must go through helpers in
the android package that properly track dependencies.
Change-Id: I24ac485677aa102eec1a2521d16820da6ee1ae77
Fixes: 146437378
Test: m checkbuild
Test: m OUT_DIR=/tmp/out nothing
2020-01-11 01:11:46 +00:00
Automerger Merge Worker
8c02671d51
Merge "Revert "Sandbox soong_build by changing to root directory"" am: e734832d25
am: 408fab4d25
am: f84fe5fbd4
...
Change-Id: Iac451a70c28566f8413b2495e8ae8a24b80e2a2f
2020-01-10 22:31:07 +00:00
Colin Cross
e734832d25
Merge "Revert "Sandbox soong_build by changing to root directory""
2020-01-10 22:00:59 +00:00
Colin Cross
13e8cb9b4c
Merge "Sandbox soong_build by changing to root directory" am: e35e961aa9
am: 856eff7fde
...
am: a2040fc892
Change-Id: I31d8b52f57f685bc69aab817d9b4eebcafaf78df
2020-01-10 11:14:39 -08:00
Colin Cross
47e4f9e1e8
Revert "Sandbox soong_build by changing to root directory"
...
This reverts commit 05c25ccb4a
.
Reason for revert: broke absolute OUT_DIR
Bug: 146437378
Change-Id: I523ed79d40e1c1ef040212ba794a7a084abea75d
2020-01-10 18:51:04 +00:00
Colin Cross
e35e961aa9
Merge "Sandbox soong_build by changing to root directory"
2020-01-10 17:35:22 +00:00
Ulya Trafimovich
57547452cf
Use boot image extension in the JIT-zygote experiment.
...
Test: temporarily enable JIT-zygote configuration, build, boot the
device and ensure that the JIT-zygote specific boot image
apex-framework.art is mapped in the zygote address space:
1. enable Jit zygote in the product device config (in my case
device/google/muskie/aosp_walleye.mk):
+# System server should not contain compiled code.
+PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := verify
+
+# Use the apex image for preopting.
+DEXPREOPT_USE_APEX_IMAGE := true
+
+# Have the runtime pick up the apex image.
+PRODUCT_PROPERTY_OVERRIDES += \
+ dalvik.vm.boot-image=/apex/com.android.art/javalib/apex.art:/system/framework/apex-framework.art
2. lunch aosp_walleye-userdebug \
&& m \
&& adb reboot bootloader \
&& fastboot flashall -w
3. adb shell cat /proc/`adb shell ps | grep zygote64 | awk {'print $2'}`/maps | grep apex-framework.art
6fe44000-7025c000 rw-p 00000000 fc:02 1179718 /data/dalvik-cache/arm64/apex@com.android.art @javalib@apex-framework.art
70571000-70696000 rw-p 0072d000 fc:02 1179718 /data/dalvik-cache/arm64/apex@com.android.art @javalib@apex-framework.art
75a339f000-75a33ac000 r--p 00852000 fc:02 1179718 /data/dalvik-cache/arm64/apex@com.android.art @javalib@apex-framework.art
Change-Id: I5493e575ebf90bad1d5ad2850004d54590bbc079
2020-01-10 15:29:25 +00:00