Skip to content
  1. May 24, 2019
  2. May 23, 2019
  3. May 22, 2019
  4. May 21, 2019
  5. May 20, 2019
    • Pete Gillin's avatar
      Avoid targeting Java 9 for targets with SDK version up to 29. · 9c640141
      Pete Gillin authored
      Targets with sdk_version values up to and including 29 should not use
      Java language level 9, even if EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true
      is set.
      
      This change fixes a downstream issue.
      
      Bug: 131678633
      Test: EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true make droid tests docs cts java
      Test: (same test in downstream branch)
      Change-Id: Ic58e8df2e06d6e07bc42255314521831dc41b239
      9c640141
  6. May 18, 2019
  7. May 17, 2019
    • Colin Cross's avatar
      Limit calls to strip.sh on darwin · ee3ea31a
      Colin Cross authored
      strip.sh can use a file descriptor per .o file when run on .a files,
      which can hit the system file descriptor limit on darwin.  This
      causes failures when manay variants of libgcc_stripped are built
      simultaneously.  Put all strip rules on darwin into a pool that
      limits them to 10 concurrent processes, which will limit the file
      descriptor usage to ~7500.
      
      Fixes: 132822437
      Test: no mention of darwinStripPool in out/soong/build.ninja on linux
      Test: m libgcc_stripped on darwin
      Change-Id: I3d4fbbd8d44d2e9059a79df113ab95336ec2c658
      ee3ea31a
    • Treehugger Robot's avatar
    • Treehugger Robot's avatar
    • Peter Collingbourne's avatar
      Teach soong not to duplicate the HWASAN runtime into each APEX. · 3478bb2a
      Peter Collingbourne authored
      When HWASAN is enabled, the runtime is conceptually part of Bionic (and
      mutually depends on it), so it needs to be treated in the same way as the
      Bionic libs.
      
      Now there are only two copies of the runtime: the one in
      /system/lib64/bootstrap (which won't be used by ordinary processes) and the
      one in the runtime APEX.
      
      This reduces the size of the HWASAN system image and fixes an issue where
      multiple copies of the HWASAN runtime were being loaded into 64-bit binaries in
      APEXes because the linker namespace for the binary is different from the one
      for its dependent libraries outside of APEXes. HWASAN only supports loading
      one copy of the runtime per process, so this was causing such binaries to
      crash on startup.
      
      Change-Id: I228896e193a035e6dfba9f6e28d0b2e12fc163ea
      3478bb2a
    • Colin Cross's avatar
      Add bpf_test.go to build and fix tests · 815daf95
      Colin Cross authored
      bpf_test.go was not listed in testSrcs, which meant it was not run
      during the build, but ran and failed with go test android/soong/...
      
      Don't redeclare the cc module types and mutators, use exported
      functions from cc/testing.go instead, which contain a new
      dependency needed by cc modules.
      
      This reapplies I4542640e8ff08e71565ed50617dbe67d86b29b69 after
      fixes for mac tests.
      
      Test: m
      Test: go test android/soong/...
      Change-Id: I3dc3fdedbd7063df4a2e0cadf2a4e0711b1823ad
      815daf95
    • Colin Cross's avatar
      Don't create a second host arch for tests on darwin · 0d99f7cd
      Colin Cross authored
      Only x86_64 darwin is supported, not x86.  Don't create an x86
      host arch when running tests on darwin.
      
      Test: all soong tests
      Change-Id: Ic12763298345e32a1340f8fbef338d2ab4d62b2e
      0d99f7cd
    • Colin Cross's avatar
      Move CreateTestContext to cc/testing.go · 9a94287f
      Colin Cross authored
      Allow CreateTestContext to be called by tests in other packages
      that need cc modules.
      
      Test: all soong tests
      Change-Id: I6be04dec50632baa8cb51e55ba14d0ddc0df60b8
      9a94287f
    • Colin Cross's avatar
      Support using cc_prebuilt_library_shared with cc_library · 33b2fb73
      Colin Cross authored
      Allow a cc_prebuilt_library_shared to share the same name as a
      cc_library by always creating static and shared variants of
      prebuilts so that the variants of the source module are always
      a superset of the variants of the target module.
      
      Bug: 131709055
      Test: TestPrebuilts
      Change-Id: I4afd6d37e6a986d08ad25aee69eca6d994febc6b
      33b2fb73
  8. May 16, 2019
  9. May 15, 2019
Loading