Skip to content
  1. Jul 18, 2016
  2. Jul 15, 2016
  3. Jul 14, 2016
    • Colin Cross's avatar
      Move no_crt property to apply to libraries and binaries · a89d2e18
      Colin Cross authored
      Change-Id: I8a770ad422dac0fd67b43ca464e0942f504e1c30
      a89d2e18
    • Colin Cross's avatar
      Fix duplicate library dependencies · 15a0d462
      Colin Cross authored
      Change-Id: I029725373fde30f58067e704c010cd0f638301ae
      15a0d462
    • Colin Cross's avatar
      Fix rpath for host benchmarks · aa3bf376
      Colin Cross authored
      Host benchmarks are installed in
      out/host/*/nativetest/<module>/<benchmark> now, so the rpath needs to
      include ../../lib.  Make benchmarkLinker extend testBinaryLinker in
      order to pick up the correct rpath.
      
      Change-Id: I3c34aee8d3c21a08b75258c1d5caf6c9fb6feab3
      aa3bf376
    • Dan Willemsen's avatar
      Allow libdl on Darwin · 72ad1751
      Dan Willemsen authored
      Fixes the build, since this is available.
      
      Change-Id: Ia4f50af234ee0f4ae5c7beb54724f590f2835db5
      72ad1751
    • Treehugger Robot's avatar
      feba062c
    • Colin Cross's avatar
      Put shared library ldflags first · f87b261c
      Colin Cross authored
      Some obscure modules (like libtest_with_dependency_loop_b_tmp in
      bionic/tests/libs/Android.bp) need to override shared library flags like
      -Wl,-soname.  Put the defaults first so that the module specific ones
      can override them.
      
      Change-Id: Icde9ca2cf76c4f3e3218b6b22033bc81a6755b57
      f87b261c
    • Dan Willemsen's avatar
      Export the default LOCAL_STRIP_MODULE value · f2c27d73
      Dan Willemsen authored
      In make, BUILD_PREBUILT and BUILD_SHARED_LIBRARY/BUILD_EXECUTABLE use
      different defaults for LOCAL_STRIP_MODULE. Explicitly use the
      BUILD_SHARED_LIBRARY/BUILD_EXECUTABLE default so that we'll strip
      binaries the same way when converting from Make to Soong.
      
      BUILD_SHARED_LIBRARY/BUILD_EXECUTABLE uses the default set in
      dynamic_binary.mk: mini-debug-info.
      
      BUILD_PREBUILT (SHARED_LIBRARIES) uses no_debuglink
      BUILD_PREBUILT (EXECUTABLES) doesn't strip by default
      
      None of the above support stripping host modules.
      
      Change-Id: I73a6f7bd7d2ed2033936579c78ae4980386dd4a2
      f2c27d73
  4. Jul 13, 2016
    • Dan Willemsen's avatar
      Fix LOCAL_EXPORT_C_INCLUDE_DIRS processing · e6c7f183
      Dan Willemsen authored
      In order to strip the -I from the beginning of each flag, the androidmk
      functionality expected every flag to be distinct. The existing
      functionality was combining them with spaces if a module exported more
      than one include directory at a time.
      
      Change-Id: Ief5e22061c58f3d987557e938bae880509ffb121
      e6c7f183
  5. Jul 12, 2016
    • Dan Willemsen's avatar
      Make static_executable an arch_variant · 75ab8088
      Dan Willemsen authored
      So that target executables can be static executables, and the same
      module can make a host executable that isn't static.
      
      Change-Id: Ibe0de001a8d1e7d59e617c244978098355718527
      75ab8088
    • Dan Willemsen's avatar
      Add product variables: cpusets schedboost · a6f7d156
      Dan Willemsen authored
      These are used by libcutils, and are equivalent to the ENABLE_CPUSETS
      and ENABLE_SCHEDBOOST make variables.
      
      Change-Id: I65d0eed49b5bcb4d6415e9e64a0159209a43b922
      a6f7d156
    • Colin Cross's avatar
      Add system/extras/* to the root Android.bp file · f791826f
      Colin Cross authored
      Change-Id: I15c729914392dd97e114852d43156bff1c03ed56
      f791826f
    • Colin Cross's avatar
      Add support for test libraries · c7a38dc0
      Colin Cross authored
      Add cc_test_library, which is a combination of a cc_test and a static
      library.  Requires adding a libraryInterface to identify libraries that
      are embedded in other types.
      
      Change-Id: I2f0dcccb2f7243409210547562d2b41c3fbce44e
      c7a38dc0
    • Colin Cross's avatar
      Make Stl *bool · 7924885e
      Colin Cross authored
      When collapsing properties for applying defaults, string is
      appended, *string is replaced, which is the behavior we want here.
      
      Change-Id: I22a8c23e1cb8ec1960cd5d92d80f6c1ddfab1913
      7924885e
    • Colin Cross's avatar
      Make Host/Device_supported *bool · a4190c10
      Colin Cross authored
      When collapsing properties for applying defaults, bool is ORed, *bool is
      replaced, which is the behavior we want here.
      
      Change-Id: I40ac5035bedcd4b1bbf50e054f8527523f9f6f79
      a4190c10
    • Colin Cross's avatar
      Fix install path of benchmarks · 624b8ed0
      Colin Cross authored
      Benchmarks should go in /data/nativetest/<module> like tests.
      
      Change-Id: Ib72ee699334da6a6d27813822e1f86f2863227b3
      624b8ed0
  6. Jul 11, 2016
    • Colin Cross's avatar
      Add system shared library dependencies to Android.mk · b5bc4b41
      Colin Cross authored
      We were missing dependencies from the prebuilts to the system shared
      libraries, which could cause libc to not be installed if only soong
      modules were built.
      
      Change-Id: Ie5c237d7be23c6170e8b586b013f6456a8462230
      b5bc4b41
    • Colin Cross's avatar
      Update cc_benchmark to use libgoogle-benchmark · 26832743
      Colin Cross authored
      Updates soong to match I1565cf680298a1765e88162d8b0e59dedba29bd7
      
      Change-Id: I787675562e3f1dceb9a56f2bcb533a551cae550a
      26832743
    • Dan Willemsen's avatar
      Support no configured device architectures · 3f32f030
      Dan Willemsen authored
      There are some builds where we only want to build host tools, and we may
      not have a valid device configuration. Support 0 device architectures
      and modules that don't have any configured way to build.
      
      Change-Id: I732251e1cd3cdbfafbc6ef6a550e33e653876f7c
      3f32f030
  7. Jul 09, 2016
    • Dan Willemsen's avatar
      Apply export_include_dirs to assembly files · 76f0827c
      Dan Willemsen authored
      Instead of putting these in CFlags, use GlobalFlags instead. This
      matches the Make behavior.
      
      The exportFlagProducer could be generic, but for now only has include
      directories, so it should be safe for all file types.
      
      Change-Id: I2862f08e7ad473ebacaa88ad2c4510248cad316f
      76f0827c
    • Dan Willemsen's avatar
      Stop exporting NDK prebuilt modules to Make · 72d3993c
      Dan Willemsen authored
      Make isn't going to use any of these anytime soon. So hide them from
      make for now, and be sure to save the AndroidMk shared library
      dependencies before we convert them to NDK dependencies.
      
      And $(ACP) is no longer used by $(copy-file-to-target)
      
      Change-Id: I8f8f7d0177d31ba4206c0bc1f2ff952dce53b6b4
      72d3993c
  8. Jul 08, 2016
  9. Jul 07, 2016
  10. Jul 06, 2016
    • Evgenii Stepanov's avatar
      Target sanitize properties can disable the global sanitizer. · bb028864
      Evgenii Stepanov authored
      With this change, sanitize: { address: false } disables
      SANITIZE_TARGET=address for one target.
      
      Also rename SafeStack to Safestack, because the former can not be
      used as a target property.
      
      Bug: 27729263
      Change-Id: I20f55c0e62b2fdd191ba66c0f661a039109bd78f
      bb028864
    • Colin Cross's avatar
      Return copies of global sanitizer slices · cc85e683
      Colin Cross authored
      sanitize.begin() modifies the slice returned by Config.SanitizeHost()
      and Config.SanitizeDevice(), return a copy so the global slice doesn't
      get corrupted.
      
      Bug: 29188876
      Change-Id: I4c7a59b7e96529166519b23a1ebda39b8e060c58
      cc85e683
Loading