Skip to content
  1. Nov 06, 2017
  2. Nov 04, 2017
    • Colin Cross's avatar
      Remove no_default_compiler_flags property · 87dd963a
      Colin Cross authored
      no_default_compiler_flags is only used by the crt* modules,
      is unnecessary, and causes problems when necessary flags like
      -no-canonical-prefixes are not passed.  Remove the property.
      
      Use useVndk() instead of noDefaultCompilerFlags() to determine
      if adding libc as a dependency is necessary and won't cause a
      circular dependency.
      
      Bug: 68719465
      Test: m checkbuild
      Change-Id: Iea1a082dc701dfeab211049a22f7066257347b80
      87dd963a
    • Colin Cross's avatar
      Move -fomit-frame-pointer to armCflags · 0f1f679f
      Colin Cross authored
      -fomit-frame-pointer was specified twice, once for arm and once for
      thumb.  Move it to the shared cflags.
      
      Bug: 68855788
      Test: m checkbuild
      Change-Id: Iab1299c247808f1a2542b468084600b7c32996e8
      0f1f679f
    • Colin Cross's avatar
      Consolidate ldflags that are used on all devices · 324a4574
      Colin Cross authored
      Move ldflags that are specified for all devices into
      deviceGlobalLdflags, and add them to linker.go:
      -Wl,-z,noexecstack
      -Wl,-z,relro
      -Wl,-z,now
      -Wl,--build-id=md5
      -Wl,--warn-shared-textrel
      -Wl,--fatal-warnings
      -Wl,--no-undefined-version
      
      Bug: 68855788
      Test: m checkbuild
      Change-Id: I82561b4189287d7638006f9e298c5151f9930c5e
      324a4574
    • Treehugger Robot's avatar
      8eaca18c
    • Jeff Gaston's avatar
      Use flag.Parse in sbox · 93f0f374
      Jeff Gaston authored
      Also removeTempDir -> !keepOutDir
      Also shorten the help comment
      
      Bug: 68336760
      Test: rm out -rf && m -j
      Test: sbox -c # and observe that the output does not have a stacktrace
      
      Change-Id: I6fbb385132128ab1273c8398ff2425191049751e
      93f0f374
  3. Nov 03, 2017
    • Nan Zhang's avatar
      Add default jar wrapper when wrapper property is not specified · 3c807db0
      Nan Zhang authored
      Bug: b/68779881
      Test: manually copied the jar-wrapper.sh to out/soong/host/linux-x86/framework
      Change-Id: Idee1e7e64c6e3c89c89a8cd9c107a38533356b6c
      3c807db0
    • Dan Albert's avatar
      Stop building MIPS ABIs for the NDK. · f45c6934
      Dan Albert authored
      Test: build/soong/scripts/build-ndk-prebuilts.sh
      Bug: https://github.com/android-ndk/ndk/issues/272
      Change-Id: Ia8d48b1ecef5e1a3b239e2817eeed5dbe43e52ef
      f45c6934
    • Colin Cross's avatar
      Remove -Wl,--gc-sections from target flags · 0e37bc78
      Colin Cross authored
      -Wl,--gc-sections is already added by library.go and binary.go for
      anything that uses bionic.
      
      Bug: 68855788
      Test: m checkbuild
      Change-Id: I229199045ef8595d69c07fcf1aa6bbdc0b753fe3
      0e37bc78
    • Colin Cross's avatar
      Consolidate cflags that are set on all devices · 133dbe7b
      Colin Cross authored
      Move cflags that are set on all devices to deviceGlobalCflags:
      -fno-canonical-system-headers
      -ffunction-sections
      -funwind-tables
      -fstack-protector-strong
      -Wa,--noexecstack
      -D_FORTIFY_SOURCE=2
      -Wstrict-aliasing=2
      -Werror=format-security
      
      Bug: 68855788
      Test: m checkbuild
      Change-Id: Iefec689fdd2749013d0cc003b3abec674a85fb74
      133dbe7b
    • Colin Cross's avatar
      Consolidate global cflags · 7278afc5
      Colin Cross authored
      Move all the flags that are used everywhere (or should be used
      everywhere) into cc/config/global.go:
      -no-canonical-prefixes
      -fno-exceptions
      -Wno-multichar
      -O2
      -g
      -fno-strict-aliasing
      
      Also remove flags that are already in noOverrideGlobalCflags:
      -Werror=pointer-to-int-cast
      -Werror=int-to-pointer-cast
      
      x86 and x86_64 were specifying -fstrict-aliasing, but that was
      being overriden later by -fno-strict-aliasing, so remove it.
      ARM devices still override -fno-strict-aliasing to -fstrict-aliasing
      when using ARM (vs. Thumb) instruction set.
      
      Bug: 68855788
      Test: m checkbuild
      Change-Id: Ia2b5891bdefb60f974ad92b4b84a8548c2dcc7dc
      7278afc5
    • Pirama Arumuga Nainar's avatar
      Remove CFI-related WARs that seem no longer necessary · bdb17f06
      Pirama Arumuga Nainar authored
      Bug: http://b/33678192
      
      Clang has been updated past the revisions mentioned in the work arounds.
      So these seem no longer necessary.
      
      Test: Build
      
      Change-Id: I08fee0db7c5785836a1ad0104688245435865cb7
      bdb17f06
    • Steven Moreland's avatar
      Export test/benchmark factory symbols. · 87c9d7bb
      Steven Moreland authored
      Bug: 35570956
      Test: manual
      Change-Id: I3dc2d7fd8876a0a222d1fc3e0f6ba27ecc2f50e8
      87c9d7bb
    • Steven Moreland's avatar
      Export cc library factories. · f9e62160
      Steven Moreland authored
      Previously not useful, they are required to use CreateModule
      to create additional libraries.
      
      Bug: 35570956
      Test: manual :)
      
      Change-Id: Ibb6b1c0d365512fce8969e1e6237ebbed0bc9cdc
      f9e62160
  4. Nov 02, 2017
  5. Nov 01, 2017
  6. Oct 31, 2017
  7. Oct 30, 2017
Loading