1. 26 Aug, 2016 1 commit
    • rockot's avatar
      Enable loading native libraries with RTLD_DEEPBIND · 596a0dd7
      rockot authored
      Using RTLD_DEEPBIND by default is problematic (see comments
      in native_library_posix.cc), but in the case of Mojo services
      where the host binary is lightweight but otherwise may export some
      conflicting symbols (e.g. tcmalloc), it is desirable.
      This CL adds a NativeLibraryOptions structure and a new
      LoadNativeLibraryWithOptions() call. The only supported
      option (|prefer_own_symbols|) only affects behavior on
      non-OSX, non-Android, POSIX systems.
      The default behavior of LoadNativeLibrary is unchanged.
      Also adds a unit test for general native library loading since
      there wasn't one before.
      Review-Url: https://codereview.chromium.org/2277863002
      Cr-Commit-Position: refs/heads/master@{#414605}
  2. 14 Jun, 2016 1 commit
  3. 10 Jun, 2016 1 commit
  4. 10 Nov, 2015 1 commit
  5. 01 Apr, 2015 1 commit
    • jfroy's avatar
      Fix missing symbols for pre-linking of the Cast sender library for iOS. · 32be1d41
      jfroy authored
      When pre-linking the Cast sender library for the iOS simulator, a number
      of symbols are reported as undefined, even though the functions using
      them are dead code and the whole chain should disappear under dead code
      elimination. The same problem does not occur when targetting iOS
      hardware, which suggests a bug in the Intel linker.
      This patch either defines those missing symbols or prevents their use.
      Specifically, the patch adds dummy definitions for native_library and
      process_metrics under iOS which do nothing, and disables the assembly
      code path in yuv_convert when compiling for iOS (gyp is unable to build
      the simd code properly for target_subarch=both). Otherwise yuv_convert
      is functional via its normal CPU code path and is added to the
      media_for_ios_cast target to support VideoFrame methods.
      Review URL: https://codereview.chromium.org/1030253002
      Cr-Commit-Position: refs/heads/master@{#323267}