1. 22 May, 2014 3 commits
  2. 20 May, 2014 1 commit
  3. 15 May, 2014 1 commit
  4. 09 May, 2014 1 commit
  5. 30 Apr, 2014 1 commit
  6. 28 Apr, 2014 1 commit
    • Torne (Richard Coles)'s avatar
      Fix PATH setup for arm64. · f24c356a
      Torne (Richard Coles) authored
      On architectures other than "arm", the combination of
      ANDROID_KERNEL_TOOLCHAIN_PATH being empty, and CODE_REVIEWS being empty,
      leads to adding a :: into the user's PATH, which is highly undesirable.
      
      Neither CODE_REVIEWS nor the mips toolchaindir is ever used, so just
      remove them, and make sure we only include the extra colon when setting
      the kernel toolchain path to a non-empty value.
      
      Change-Id: I2dfa7d3a322b56b6abbc47476082dc6ae4dd6a82
      f24c356a
  7. 10 Apr, 2014 1 commit
  8. 05 Apr, 2014 1 commit
    • Narayan Kamath's avatar
      Build with java7 by default. · c84889b8
      Narayan Kamath authored
      All introduce a flag LEGACY_USE_JAVA6 to force java6 builds.
      This is an unsupported configuration, and provided temporarily
      to iron out regressions and compare build output (if required.).
      
      - Increment the version check sequence number.
      - Move a more specific check (OpenJDK vs non OpenJDK) after
        the more general version check.
      - Update the link in the version check error message to the
        "initializing" page instead of the "download" page. The latter
        talks about repo, mainly.
      
      bug: 8992787
      
      Change-Id: I313e17b1911768d4f3bc318c4162c53dec6eaf0d
      
      Conflicts:
      	core/main.mk
      c84889b8
  9. 06 Mar, 2014 1 commit
  10. 03 Mar, 2014 1 commit
    • Andrew Hsieh's avatar
      Use analyzer at new location: prebuilts/misc/{linux-x86,darwin-x86}/analyzer · c4f7fbae
      Andrew Hsieh authored
      Analyzer needed by WITH_STATIC_ANALYZER and WITH_SYNTAX_CHECK is
      moved from prebuilts/clang/{linux-x86,darwin-x86}/host/3.3 to
      prebuilts/misc/{linux-x86,darwin-x86}/analyzer
      
      See https://android-review.googlesource.com/#/c/83852/
      
      BUG=13243591
      
      Usage:
      
      "WITH_SYNTAX_CHECK=1 make ..." instructs build system to invoke "clang -fsyntax-only"
      to utilize clang's better diagnostics before calling LOCAL_CC/LOCAL_CXX for code generation.
      The compilation time is slightly longer, and the generated object file should be the same as
      w/o WITH_SYNTAX_CHECK
      
      "WITH_STATIC_ANALYZER=1 m/mm/mmm/mma/mmma ..." instructs build system to run static
      analyzer via "clang --analyze" on a successful build.  If analyzer finds any issue, instruction
      to open report is displayed. See http://clang-analyzer.llvm.org/scan-build.html for details.
      
      WITH_STATIC_ANALYZER trumps WITH_SYNTAX_CHECK if both exist.  Project use lots of GCC extensions
      (eg. nested function) not supported by clang may opt out by adding LOCAL_NO_STATIC_ANALYZER:=true
      
      Change-Id: Ib3dda3ffb0fd3aaf2eadec867a966d1dd2868fb1
      c4f7fbae
  11. 28 Feb, 2014 1 commit
    • Ben Cheng's avatar
      Make gdbclient smarter for gdb[server] setup. · fba67bf8
      Ben Cheng authored
      It can detect and support 3 different scenarios:
      
      - 32-bit exe / 32-bit OS
      - 64-bit exe / 64-bit OS
      - 32-bit exe / 64-bit OS
      
      Change-Id: I799a91277a5e2331aebf4b2f031e9a79f7ab5bb0
      fba67bf8
  12. 26 Feb, 2014 1 commit
    • Primiano Tucci's avatar
      Add usage comment to explain how to limit modules in mmm. · 6a8069d8
      Primiano Tucci authored
      68895a96 has introduced the possibility to limit the modules being
      built by mmm. In many occasions this can save a lot of developement
      time since it allows to build one target without processing all the
      makefiles in the Android tree. Unfortunatelly this nice feature is
      undocumented. This CL adds the one line documentation.
      
      Change-Id: I6ded32c4774047599e9c44e5ea71c07e65731cda
      6a8069d8
  13. 06 Feb, 2014 1 commit
  14. 30 Jan, 2014 1 commit
  15. 24 Jan, 2014 1 commit
  16. 22 Jan, 2014 1 commit
    • Narayan Kamath's avatar
      Make envsetup.sh set JAVA_HOME correctly for java7. · 9260bba0
      Narayan Kamath authored
      Note that despite the location of this change, this function
      is run only during "lunch" and not during ". build/envsetup.sh"
      
      Also, make it easier to switch back and forth between java6 and 7
      on the same session.
      
      bug: 8992787
      
      Change-Id: I56ec0ba8552b46c04204a8b96b9abc0180f7605f
      9260bba0
  17. 14 Jan, 2014 1 commit
  18. 19 Dec, 2013 1 commit
    • Andrew Boie's avatar
      envsetup.sh: cd to toplevel in get_build_var · 6905e216
      Andrew Boie authored
      
      dumpvar doesn't work right if we're not called from the toplevel;
      due to the way the build system works internally, -C does not
      suffice. This was already done in get_abs_build_var.
      
      Redundant -C calls removed since we're at the toplevel already.
      
      Change-Id: Iaaa48982547d099186922cc3ddc417a82c85e9a5
      Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
      6905e216
  19. 07 Oct, 2013 1 commit
  20. 02 Oct, 2013 1 commit
  21. 13 Sep, 2013 1 commit
  22. 10 Sep, 2013 1 commit
    • Andrew Hsieh's avatar
      Add "WITH_STATIC_ANALYZER=1 m/mm/mmm/mma/mmma ..." · 906cb781
      Andrew Hsieh authored
      The new option WITH_STATIC_ANALYZER=1 instructs build system to
      run static analyzer via "clang --analyze" on a successful build.
      If analyzer finds any issue, instruction to open report is displayed.
      See http://clang-analyzer.llvm.org/scan-build.html for details.
      
      WITH_STATIC_ANALYZER trumps WITH_SYNTAX_CHECK if both exist.
      
      Project use lots of GCC extensions (eg. nested function) not supported
      by clang may opt out by adding LOCAL_NO_STATIC_ANALYZER:=true
      
      Change-Id: I9970560560bd52ce5f0fd7129c3488629627c735
      906cb781
  23. 27 Aug, 2013 1 commit
  24. 26 Aug, 2013 1 commit
  25. 20 Aug, 2013 1 commit
  26. 16 Aug, 2013 1 commit
    • Ying Wang's avatar
      Add phony goal GET-INSTALL-PATH · a7deb085
      Ying Wang authored
      It can be used as a goal of mm/mmm.
      It prints out modules' install paths, which can be used by the runtest
      utility.
      
      Change-Id: If113e4c990b672acbacf723104583c0157d43c3b
      a7deb085
  27. 13 Aug, 2013 1 commit
    • Ben Cheng's avatar
      Prepare upcoming GCC 4.8 release. · aac3f816
      Ben Cheng authored
      o Add -Wno-unused-parameter -Wno-unused-but-set-parameter to suppress
        new warnings.
      o Define GCC_COLORS to enable colorful diagnostic messages.
      
      Change-Id: Icbd62300b0e6f39d4e514edec2431a06b4d72421
      (cherry picked from internal commit ccd8e608)
      aac3f816
  28. 31 Jul, 2013 1 commit
    • Daniel Sandler's avatar
      Add --exact flag to `pid` tool; new `qpid` tool. · 47e0a88d
      Daniel Sandler authored
      The new --exact flag for pid does an exact match on the
      process name, rather than grepping anywhere in the ps
      output, which helps target a specific process if its name is
      a substring of another process name. (Nothing else about
      pid's output, including inclusion of the ps header if it
      matches, is affected.)
      
      qpid ("quick pid" or "quiet pid") lists all processes in the
      following simplified format:
      
      	<pid> <procname>
      
      It also helpfully strips off the header line from ps.
      
      With an argument, qpid will search for processes or pids
      matching the argument. With --exact it matches process names
      exactly (as does pid, above).
      
      Change-Id: I28a201df40281a66cb1a2918b7ee3a0b2d7b6ffd
      47e0a88d
  29. 23 Jul, 2013 1 commit
  30. 07 Jul, 2013 1 commit
    • synergy's avatar
      gettop: fix symlink detection · b112a405
      synergy authored
      Summary: We must use the -P flag for pwd to properly get $PWD from the environment *with* symlinks. Otherwise symlink
      detection is broken and anything we do using $(gettop) at the top of a symlinked path won't work properly. I noticed this
      issue while running on a system that has a SSD RAID symlinked to my android build home directory, which is ~/ssd_storage.
      The top in this instance is a symlink, which means that gettop() returns my home path, or the path above the symlink
      directory (but not the symlinked directory). This is a major issue in case developers choose to use $(gettop),
      $ANDROID_BUILD_TOP, or $T (doesn't really matter either way).
      
      Test Plan: Create a symlink and sync android source into the path. Open up the symlink, run envsetup.sh, and check
      $(gettop) output.
      
      While this isn't the best solution, it fixes an issue without creating new issues.
      
      Change-Id: I65bc345753805e6161098d2af6e0bee0b07d37b1
      b112a405
  31. 05 Jul, 2013 1 commit
  32. 24 Jun, 2013 1 commit
  33. 20 May, 2013 1 commit
    • Christopher Ferris's avatar
      Add missing adbOptions in runhat. · 764b4f80
      Christopher Ferris authored
      One of the adb commands in runhat was not using the adbOptions and would
      fail if specifying a single serial device with multiple connected devices.
      
      Change-Id: I804a6fccc51090cdc78dc2af76bbc0a24d843e3d
      764b4f80
  34. 08 May, 2013 1 commit
  35. 07 May, 2013 1 commit
  36. 17 Apr, 2013 1 commit
  37. 30 Mar, 2013 1 commit
  38. 26 Mar, 2013 1 commit