Skip to content
  1. Apr 25, 2019
  2. Apr 24, 2019
    • Colin Cross's avatar
      Pass --remove-tools-declarations to manifest merger · aa1c6f1f
      Colin Cross authored
      Manifest merger needs --remove-tools-declarations to match
      Gradle behavior.
      
      Bug: 112607039
      Test: m checkbuild
      Change-Id: Id93bcaeaf03770a4acd2e1fdf44e418f55540dd3
      aa1c6f1f
    • Colin Cross's avatar
      Don't use merged manifest for android_library modules · 90c25c68
      Colin Cross authored
      Don't use the merged manifest for android_library modules.  We
      still have to run manifest merger for android_library modules
      because Make can't handle transitive dependencies, so it will
      continue to merge the manifests at each library, and then merge
      the manifests of direct dependencies into the final application.
      
      Bug: 113294940
      Test: m checkbuild
      Change-Id: Ia8f9f910bd0a134730ddf2d542460eeddbc0a075
      90c25c68
    • Colin Cross's avatar
      Support target.hostdex.required · 7f87f4fd
      Colin Cross authored
      Hostdex modules sometimes need extra required modules, add
      target.hostdex.required.
      
      Bug: 131167818
      Test: manual
      Change-Id: I599f3499f0b738556baeb27185371a42b4c2701b
      7f87f4fd
    • Colin Cross's avatar
      Make java_test_helper_library installable · 9a4abed7
      Colin Cross authored
      java_test_helper_library should product an installabler, dexed
      library, the same as java_test just without the auto-generated
      test config.
      
      Test: m checkbuild
      Change-Id: Ie573c1d24969ba9c4feb8a2e85f8969d5d713064
      9a4abed7
    • Colin Cross's avatar
      Export proguard_dictionary for java_library modules · e8a7dc98
      Colin Cross authored
      Move exporting LOCAL_SOONG_PROGUARD_DICT from AndroidLibrary
      to Library so that it is exported for java_library modules.
      
      Test: m checkbuild
      Change-Id: I27ea08ad8ba9072d0648c141cdbaf447c5268f91
      e8a7dc98
    • Colin Cross's avatar
      Export java_host_for_device and java_device_for_host modules to Make · 28c3eb68
      Colin Cross authored
      Robolectric needs to reference some modules declared with
      java_host_for_device and java_device_for_host from Make for now.
      
      Bug: 122331577
      Test: m checkbuild
      Change-Id: I09b3848edb120f2c3ee16b449b937b650f59811b
      28c3eb68
  3. Apr 23, 2019
  4. Apr 22, 2019
    • Colin Cross's avatar
      Fix tests with cc_binary_host on mac · 9c6241f7
      Colin Cross authored
      cc_binary_host on mac uses ctx.Config().HostSystemTool(), which needs
      PATH in the test environment.  Copy it from the original environment.
      
      Fixes: 129763458
      Test: proto_test.go
      Change-Id: I41c1acdceee7c35036148256adafb471871034df
      9c6241f7
    • Jaewoong Jung's avatar
      New AndroidMk authoring system based on entry map. · 9aa3ab1f
      Jaewoong Jung authored
      The new system collects all Android.mk variable assignments using a map
      and writes them to io.Writer. Compared to the previous system, which
      directly writes all entries to buffers, this new system is more robust
      and test-friendly.
      
      Test: Built without prebuilt_etc.go change and diffed the mk output.
      Test: prebuilt_etc_test.go
      Change-Id: Idd28443d129ff70053295015e69328a8fa3eca47
      9aa3ab1f
    • Colin Cross's avatar
    • Dan Willemsen's avatar
      pom2bp: Implement -static-deps to match pom2mk · 52c90d86
      Dan Willemsen authored
      This changes the default behavior of pom2bp to match pom2mk, and not
      require pre-extraction of all of the manifests.
      
      Test: convert an internal pom2mk user to pom2bp
      Change-Id: I08120cce1f923ef28519563ffd772032b2e500ed
      52c90d86
  5. Apr 21, 2019
  6. Apr 20, 2019
  7. Apr 19, 2019
    • Treehugger Robot's avatar
      Merge changes from topics "obsolete_broken_dup_copy_headers", "obsolete_broken_phony_targets" · 49495ee6
      Treehugger Robot authored
      * changes:
        Obsolete BUILD_BROKEN_DUP_COPY_HEADERS
        Obsolete BUILD_BROKEN_PHONY_TARGETS
      49495ee6
    • Yi Kong's avatar
      Merge "Switch to clang-r353983c" · db52ce88
      Yi Kong authored
      db52ce88
    • Dan Willemsen's avatar
      Obsolete BUILD_BROKEN_DUP_COPY_HEADERS · 2fbb7571
      Dan Willemsen authored
      There are no remaining users.
      
      Test: treehugger
      Change-Id: If8719480f73a8fa009d9733479390d2abd4021b1
      2fbb7571
    • Dan Willemsen's avatar
      Obsolete BUILD_BROKEN_PHONY_TARGETS · 60977467
      Dan Willemsen authored
      There are no remaining users.
      
      Also mark BUILD_BROKEN_ANDROIDMK_EXPORTS and BUILD_BROKEN_ENG_DEBUG_TAGS
      as deprecated in scripts/build_broken_logs.go
      
      Test: treehugger
      Change-Id: If7892bef1b9001f12a99565f886b395cf1985e70
      60977467
    • Treehugger Robot's avatar
      9820aa6c
    • Yi Kong's avatar
      Switch to clang-r353983c · 09ecee76
      Yi Kong authored
      Test: TreeHugger
      Bug: 129712936
      Change-Id: I15f1db69de86ad8b9f2a0ae086fa2df87835948a
      09ecee76
    • Jiyong Park's avatar
      Ensure that PathsForModuleSrc works with prebuilts · d4671111
      Jiyong Park authored
      prebuilt_test is amended to ensure
      f2976304 is not broken.
      
      PathsForModuleSrc is called to check if the file is from correct module
      (either from source or prebuilt module)
      
      Bug: 130627486
      Test: m
      
      Change-Id: Ic5f467fbc2837727df92102530687e967cd5529f
      d4671111
    • Jiyong Park's avatar
      Set default target SDK version for APEX · 71b519d6
      Jiyong Park authored
      Target SDK version is used for targeting an APEX to a specific set of
      platform builds. Usually, the targeting is unrestricted (in case the
      APEX can run on all platforms), or based on platform SDK version (e.g.
      28 for P). However, when the platform is under development and SDK is
      not finalized, the targeting should be much more fine-grained; the
      APEX should be targeted to a very specific build that supports the same
      set of APIs that the APEX was built against.
      
      To support that, target sdk version is automatically set by the build
      system. When the platform is released or SDK is finalized, the target sdk
      version set to the SDK version number. If not, it is set to
      <version_code>.<fingerprint> (e.g., Q.123456).
      Note that the target sdk version set by the build system is used only
      when the target sdk version is not explicitly set in
      AndroidManifest.xml.
      
      Bug: 130541924
      Test: UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true \
      UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT=true \
      TARGET_BUILD_APPS=com.android.tzdata m
      build.ninja has --target_sdk_version Q.$$(cat out/soong/api_fingerprint.txt)
      
      Test: aapt dump badging out/dist/com.android.tzdata.apex | grep \
      targetSdkVersion shows:
      targetSdkVersion:'Q.6ee443d9ad5f0cca7a43cfa97b7fc62a'
      
      Change-Id: I086230d787f01075c28fc3f0163550300fa00212
      71b519d6
    • Jiyong Park's avatar
      Fix: PathsForModuleSrc does not work for a replaced dependency · f2976304
      Jiyong Park authored
      PathsForModuleSrc does not work if a source module is replaced with a
      prebuilt module. This is because the function uses GetDirectDepWithTag
      with the name of the original source module. Since the dependency is
      replaced and the prebuilt module has the name "prebuilt_<name>", the
      search always fails.
      
      Fixing this by re-implementing GetDirectDep* functions inside Soong
      using VisitDirectDep.
      
      Bug: 130627486
      Test: m
      Change-Id: I68d52668283c429d5e93c7f2c81f6a8db1f24893
      f2976304
  8. Apr 18, 2019
Loading