Commit Graph

18075 Commits

Author SHA1 Message Date
Vic Yang 38166bf1d0 Merge changes from topic "vndkvariantcheck"
am: 3fbe62b57d

Change-Id: I8b16aa1041456254fa5539cd5dfbfd1e6f45fa45
2020-01-17 12:28:37 -08:00
Vic Yang ff9f7fb26a Add OWNERS for cc/config/vndk.go
This file contains only a list of VNDK libraries that are allowed to
have different VNDK variant behaviors.

Test: N/A
Change-Id: I9e395b82b8006133294cf325e4626c1b34053588
2020-01-17 11:23:14 -08:00
Jaewoong Jung a929cd52ce Merge "Overwrite test-file-name in test config." 2020-01-17 19:07:12 +00:00
Yi Kong d810312751 Merge "Add "-no-warn-sample-unuse=true" to work around AutoFDO issue" 2020-01-17 19:04:23 +00:00
Anton Hansson af0133388b Merge "Add framework-sdkextensions to jars to instrument" 2020-01-17 18:48:58 +00:00
Treehugger Robot 3fbe62b57d Merge changes from topic "vndkvariantcheck"
* changes:
  vndkMustUseVendorVariant += libstagefright_bufferpool@2.0
  Emit LOCAL_CHECK_SAME_VNDK_VARIANTS
2020-01-17 18:45:43 +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
Martin Stjernholm 06ca82d6ff Clarify a bit more what apex_available means.
Test: n/a - comment change only
Change-Id: I5311dca32a4e43c3765a3ea26d2b8781ce113433
2020-01-17 13:02:56 +00:00
Automerger Merge Worker 87318085ca Merge "Dedup cc binary build components registration" am: e24093a784
Change-Id: I671227906222038e87f0a94b05f1674bf7ad9e5d
2020-01-17 11:21:11 +00:00
Treehugger Robot e24093a784 Merge "Dedup cc binary build components registration" 2020-01-17 11:11:50 +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
Automerger Merge Worker 7f27094930 Merge "Build kzip for Go files in build/blueprint directory." am: 26691c094d
Change-Id: Idf68059fb4e81434eb4c71a6700f168ea0321cbb
2020-01-17 08:08:26 +00:00
Treehugger Robot 26691c094d Merge "Build kzip for Go files in build/blueprint directory." 2020-01-17 07:58:43 +00:00
Hsin-Yi Chen d2451683d9 Do not create ABI dumps for NDK stub libraries
Some NDK stub libraries are tagged with "LLNDK" in lsdump_paths.txt
because they are not in NDK, and their base module names are in LLNDK.
This commit excludes those NDK stub libraries from lsdump path list.

Test: make findlsdumps
Bug: 147409497
Change-Id: I7a72758ba40d5f5bda8c436dd0b22e5efda03a32
2020-01-17 14:07:32 +08:00
Yi Kong 92474e5b8f Add "-no-warn-sample-unuse=true" to work around AutoFDO issue
Autofdo generates profile for an instruction even if there is no debug
information associated with it or no debug information associated with
the function. A bogus offset will be produced in the profile. Add the
flag to suppress Clang from generating error for such cases.

Test: build with ETM profile
Bug: 147844018
Bug: 79161490
Change-Id: I37da1ba3a4962072ccdf01f79fbf2c2b4c77b56b
2020-01-16 17:09:19 -08:00
Dan Willemsen eb5078f0a6 Merge "Fix dependencies through symlinks"
am: d66b2fd3cf

Change-Id: If67c87530e33ce6a939bf7280d0957c4be5d6595
2020-01-16 16:01:11 -08:00
Colin Cross 74cda72f5e Add total build time to metrics
Determining the total build time from the existing metrics is
tricky because some of the metrics are overlapping.  For example,
the "soong" metric includes  "blueprint bootstrap",
"environment check", "minibp", "bpglob", "minibootstrap", and
"bootstrap".  Create a new singleton "total" metric that
covers the interesting parts of the build.

Test: m nothing
Change-Id: Iedcf5c9cf0d27252b694d35e6ff66ca1fcf734ac
2020-01-16 15:25:50 -08:00
Treehugger Robot d66b2fd3cf Merge "Fix dependencies through symlinks" 2020-01-16 23:21:25 +00:00
Wei Wang 062354f8f5 Merge "power: add stable aidl to VndkMustUseVendorVariantList"
am: 27a5c64200

Change-Id: Iec390e3424df0a15d86644d6c7f25b05e87eddda
2020-01-16 14:39:57 -08:00
Wei Wang 27a5c64200 Merge "power: add stable aidl to VndkMustUseVendorVariantList" 2020-01-16 22:35:42 +00:00
Paul Duffin 121880e321 Merge "Exclude sdkMemberVersionedDepTag from visibility enforcement"
am: 7839d8fbed

Change-Id: Ie7196c2d97c49235e82ed0c8c7c611673b01b8aa
2020-01-16 12:53:23 -08:00
Treehugger Robot 7839d8fbed Merge "Exclude sdkMemberVersionedDepTag from visibility enforcement" 2020-01-16 20:46:16 +00:00
Sasha Smundak facb360e49 Build kzip for Go files in build/blueprint directory.
Bug: 137798757
Test: manual
Change-Id: If953425c80c60a64ebd6d50dddbac858ef091275
2020-01-16 11:02:17 -08:00
Sasha Smundak e0703cdd88 Merge "Save compilation units in protobuf format."
am: 1be2d48005

Change-Id: I43dc0473e06713678731ebe37c715044adf2040d
2020-01-16 10:58:16 -08:00
Treehugger Robot 1be2d48005 Merge "Save compilation units in protobuf format." 2020-01-16 18:55:26 +00:00
Dan Willemsen 40efa1cd31 Fix dependencies through symlinks
Now that ninja uses lstat so that we can get the mtime of the symlink
itself, it's safe to use a real input here rather than an order only
input. This matches how our other install rules work for host files.
Symlinks should be quick to recreate, so I'm not copying the logic to do
order-only dependencies for the device.

Bug: 128577186
Bug: 145278193
Bug: 135515543
Test: m out/target/product/walleye/apex/com.android.art.debug/javalib/arm/boot.art
      rm out/soong/host/linux-x86/bin/dex2oatd64
      m out/target/product/walleye/apex/com.android.art.debug/javalib/arm/boot.art

Change-Id: Ief5ec752ce0d0216aeecd8e904afc59f3f08ed7d
2020-01-16 17:13:35 +00:00
Paul Duffin 2ee6979443 Dedup cc binary build components registration
Bug: 146540677
Test: m nothing

Change-Id: I1c677d0ee2cead1d61f81e34e8d5a2f4a52f6cad
2020-01-16 14:10:18 +00:00
Dario Freni 4f8996aa3d Merge "Include the hashtree in Q-launched modules."
am: 9c121cd7f3

Change-Id: Ie19d36718f1f333f7acbe718fa48e16089e02f57
2020-01-16 05:07:22 -08:00
Anton Hansson cdf31609a0 Default apex_available to //apex_available:platform
am: eec79ebe03

Change-Id: Ieb3d5afa63598e1ad6310f889e233bd119fa292c
2020-01-16 05:02:38 -08:00
Treehugger Robot 9c121cd7f3 Merge "Include the hashtree in Q-launched modules." 2020-01-16 12:27:47 +00:00
Anton Hansson eec79ebe03 Default apex_available to //apex_available:platform
This means everything that goes into apexes need to be
explicitly labeled to be available for apex.

Whitelist the current offenders. This list should be
trimmed down.

Bug: 147364041
Test: m
Test: multiproduct_kati -only-soong
Exempt-From-Owner-Approval: cherry-pick from internal
Change-Id: I837299c6a15d46f8a5ba544b613776b1cc27d7b8
Merged-In: I837299c6a15d46f8a5ba544b613776b1cc27d7b8
(cherry picked from commit 93488cbb10d4882845abb732f8e53714f0982031)
2020-01-16 09:14:03 +00:00
Jiyong Park 4a1ab34f70 Merge "List of installed files for each APEX is dist'ed"
am: 8122cf6d09

Change-Id: Ia5b758178048fc0b431e51af3a5fad3dfda46d14
2020-01-15 23:00:53 -08:00
Treehugger Robot 8122cf6d09 Merge "List of installed files for each APEX is dist'ed" 2020-01-16 06:38:11 +00:00
Paul Duffin 273045701d Merge changes I0668ff5a,Iff2d7063,I6f8b1e2d,I126db49d,Ic6582260
am: a35294889f

Change-Id: Ie7dd47c977104d74b8cb31481524cb22cbc46d18
2020-01-15 18:11:36 -08: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
Paul Duffin d3a2e1e36e Merge "Add basic test for java_system_modules"
am: 0b3a5781a9

Change-Id: I9e8dfadedc65eca652b6085cb076c05e12beacb7
2020-01-15 18:04:47 -08:00
Treehugger Robot 0b3a5781a9 Merge "Add basic test for java_system_modules" 2020-01-16 02:03:44 +00:00
TreeHugger Robot 1c9f0439ae Merge "DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master 2020-01-16 01:43:52 +00:00
bralee 850a13f80c Merge "AIDEGen:fix module_bp_cc_deps.json content error."
am: bb363086c7

Change-Id: Ie810ff61af584daf7c45f41ae595516e0abc60b8
2020-01-15 17:09:06 -08:00
Treehugger Robot bb363086c7 Merge "AIDEGen:fix module_bp_cc_deps.json content error." 2020-01-16 00:20:40 +00:00
Xin Li f04a1dcf8f DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master
Bug: 146167222
Change-Id: Ie5441f31325b0b3156ea731d24f3036d5037aea8
2020-01-15 15:59:08 -08:00
Jaewoong Jung fc81db1149 Merge "Keep signatures of presigned prebuilt test apps."
am: 275eb69d0a

Change-Id: Ibbb1d228e3747fb3f558619b252be42a2a39b03d
2020-01-15 15:19:54 -08: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
Matthew Maurer 046fda828c Merge changes I828b3e6b,I5d85ea8b
am: 5f5809a098

Change-Id: I9404095b752929514297e8a6f31666e4055ada2d
2020-01-15 12:30:59 -08:00
Matthew Maurer 5f5809a098 Merge changes I828b3e6b,I5d85ea8b
* changes:
  rust: Do not pass -C prefer-dynamic for cdylib
  rust: Include Soong module name as metadata
2020-01-15 20:28:25 +00:00
Dan Willemsen 7e3950624e Merge "Disallow system m4"
am: 0b031cf181

Change-Id: I7f4a795ed3bb65de5aea7e9e4b6f6f56be29c691
2020-01-15 11:41:12 -08:00
Treehugger Robot 0b031cf181 Merge "Disallow system m4" 2020-01-15 19:38:22 +00:00
Stephen Hines fae236f4ee Default to pattern initialization for uninitialized variables.
Pattern initialization helps us make C++ safer, while not altering the
semantics/usage of C++ (as zero init does).

Bug: 131390872
Test: Local testing. Parts of CTS.
Change-Id: I9705ca3b724208647f0eab0a704f6f360206d482
2020-01-15 11:26:38 -08:00
Matthew Maurer 46c46ccafd rust: Do not pass -C prefer-dynamic for cdylib
cdylib targets cannot currently dynamically link to Rust crates, so this
flag was not actually doing anything, and in conjunction with -C lto
which we *do* want on for this target, causes a hard error on
rustc-1.40.0.

Bug: 147438124
Test: Build a rust_library module, this implicitly tries to build cdylib
Change-Id: I828b3e6bae7c58f4081db3e73009b443a382a296
2020-01-15 08:37:46 -08:00