1. 04 Dec, 2014 1 commit
  2. 21 Nov, 2014 12 commits
    • MrApocalypse's avatar
      Screw it up! · 1932b7a6
      MrApocalypse authored
      1932b7a6
    • bryan2894's avatar
      build: update prebuilt chromium script · 513f7930
      bryan2894 authored
      
      Prebuilt chromium: update for lollipop
      
      Change-Id: I4e34feb26c1b4bec10fb751a10dbc52579d7cd07
      
      Prebuilt chromium: Run a check for target device directory
      
      this should fix the issue that arises if device fails and device is built again,
      chromium will error out because it thinks the prebuilt files exist (which they are
      not, directories are just created).
      Signed-off-by: default avatarAyysir <ayysir@aospal.com>
      Change-Id: I595cab268e66c738ccae9900150b36d7f9626a6e
      513f7930
    • Jiangyi's avatar
      build: Add chromium prebuilt support to envsetup.sh && The core Makefile · 56d96ae8
      Jiangyi authored
      This adds a chromium_prebuilt function to envsetup.sh that is invoked by lunch to check
      whether the chromium prebuilts are up-to-date or not. If not, it will be built from source
      and then the new source built version will be pulled during brunch/mka bacon to become the
      new prebuilts for future builds.
      
      This is all opt-in through the USE_PREBUILT_CHROMIUM flag. Without it being set to 1,
      none of this would be ran, and regular operations will go on.
      
      PS13:
      -use export TARGET_DEVICE
      -replace git -C with params compatible to old git versions
      
      (vendor repository for script)
      
      Change-Id: I40f8c8dbd2a8a84a5c1b9f47ee04180a71ef4e07
      
      Conflicts:
      	core/Makefile
      56d96ae8
    • ayysir's avatar
      Finish bring up · 6b46932f
      ayysir authored
      - Build CellBroadcastReceiver
      - Replace Launcher2 w/ Launcher3 & remove QuickSearchBox
      - add PRODUCT_BUILD_PROP_OVERRIDES
      - Remove deprecated Music package
      - Remove optional "Home Sample" Launcher
      
      and more...
      
      Change-Id: Ic8f707e7c2f492812648a4a5c3cc0b22af5fbb08
      6b46932f
    • Brint E. Kriebel's avatar
      product_config: Set PA_BUILD priority above TARGET_BUILD_APPS · 65444dcf
      Brint E. Kriebel authored
      Even if we are doing TARGET_BUILD_APPS, we may want to use a pa
      target for building.
      
      Change-Id: Ic8053bc679fa8b726be90e611aeaacdf1850cabc
      
      Conflicts:
      	core/product_config.mk
      65444dcf
    • Ricardo Cerqueira's avatar
      Add a unique build number to every build · d9b86170
      Ricardo Cerqueira authored
      SDK-readable via android.os.Build.INCREMENTAL
      
      Change-Id: If9885adebe12a56b2b2e353285721be695bc411b
      
      Fix exporting the unique build identifier
      
      Change-Id: Ie58e981b7e83a4351d137dfd8995dce7d365d950
      
      Fix incremental build number on Darwin
      
      Darwin does not include sha1sum, but it should have openssl.
      
      Change-Id: If2b685c1478f9486bed21dfba0c655d9e02db72b
      
      Use openssl instead of sha1sum
      
      Change-Id: Iab8a74d4af6646104cb23312853f811a38bdec0d
      
      Conflicts:
      	envsetup.sh
      d9b86170
    • Chirayu Desai's avatar
      envsetup: add a helper to fix "out/target/common" not being really common · 602aadc1
      Chirayu Desai authored
      * out/target/common isn't really common, and if you do
        back to back builds for multiple devices, that is noticable.
      * Use out/target/common-$device instead, and link the appropriate
        dir to out/target/common every time lunch() is run, if
        CM_FIXUP_COMMON_OUT is set.
      * Refer https://groups.google.com/forum/#!topic/android-building/ispbOgzoyg8
        for more info.
      
      Change-Id: I11e7df0e68e2a60ce32576f06397d60fc9465b60
      602aadc1
    • cybojenix's avatar
      lets make the lunch list look a little neater · 58eff5cf
      cybojenix authored
      It's very simple, but with more and more devices coming in, a long list won't cut it
      There are probably better ways of doing this, feel free to comment
      
      Change-Id: I9bd1fef920f985a133c882df9987b6be29dbc7b8
      58eff5cf
    • nebkat's avatar
      cout: move to $out · 75da302b
      nebkat authored
      Change-Id: I3b5bf8a5f62dcdf267662bb97a2073150152cfa6
      75da302b
    • Chirayu Desai's avatar
      envsetup: include bash completion script from vendor/pa · e0edd852
      Chirayu Desai authored
      Change-Id: Id90d84748df41d6626dfd46befabe0054c6d14e7
      e0edd852
    • Steve Kondik's avatar
      envsetup: Don't tread on my $PROMPT_COMMAND · a0d8090f
      Steve Kondik authored
       * I want my own PROMPT_COMMAND to coexist with Android's, so stash it
         in the environment and add it to the new command.
      
      Change-Id: I200902f135d0c5c620a8eb3ce9cefdba318cf9d3
      
      envsetup: Fix $PROMPT_COMMAND
      
      Change I200902f135d0c5c620a8eb3ce9cefdba318cf9d3 broke the android
      PROMPT_COMMAND on scenarios where the existing prompt already had
      a hardstatus adjustment, since appending it to Android's just clobbered
      Android's in favor of the original.
      
      So instead of appending them, inject android's at the beggining of the
      existing one (and create a default if none exists)
      
      Change-Id: I1fbcbfdb6220d886dda3662da498d1759a4c195b
      
      envsetup: Really fix PROMPT_COMMAND handling
      
       * Add ANDROID_NO_PROMPT_COMMAND to not change it at all.
       * Export ANDROID_PROMPT_PREFIX so it can be used elsewhere.
      
      Change-Id: Ib2a487404d3b8a367a21582e8a0ce69c2d212a9a
      
      envsetup: More PROMPT_COMMAND
      
      * Get rid of ANDROID_NO_PROMPT_COMMAND, the pre-existing STAY_OFF_MY_LAWN
      does the same thing
      * Remove any pre-existing android prefixes to avoid accumulation
      scenarios in consecutive builds (i.e., multiple build identification
      strings in hardstatus)
      
      Change-Id: I86661e066e18ea6ad0c742fa1dc6555780fa5441
      
      envsetup: add quotes around PROMPT_COMMAND
      
      Better compatibility for zsh.
      
      Change-Id: Ie010c30580e67e3b5357e3cc869114a525762677
      a0d8090f
    • houst0nn's avatar
      build: Preliminary support for PA product builds · c3e981c5
      houst0nn authored
      If building a pa_* product, skip crawling the filesystem for
      AndroidProduct makefiles (and, of course, parsing their contents)
      and aim directly for the device/pa/<product> device configuration
      
      Change-Id: I2a5e70dda973a6fcdbba0d5e26b35b99d3f1aea2
      
      Change how we search for PA makefiles.
      
      build: Fix fastpath code for PA_BUILD
      
       * We need to adjust to the new validations
      
      Change-Id: I9066d4f437beb9597027ee6bbb52504b5e7e84c5
      
      build: Fix pa builds
      
      the setup variable wasn't exported, and was being missed by part
      of the scripts
      c3e981c5
  3. 19 Nov, 2014 4 commits
    • ayysir's avatar
      Initial Roomservice.py · ce669b56
      ayysir authored
      
      History
      ===
      
      [*]roomservice: Auto-remove duplicated projects
      
      roomservice has improved in the sense that once a duplicate path is
      found, a <remove-project> tag will be added into roomservice.xml
      
      Change-Id: If3e1dc672d25996a0cd19628ece24c010e213adf
      
      [*]roomservice: Include forked repositories in device search
      
      The github api defaults to not including forked repos in search results.
      This causes roomservice to fail to find a device repo if it is a fork (I.E. maguro).
      This commit adds the necessary argument to include forked repositories in the results
      and fixes maguro syncing.
      
      Change-Id: I50ec96316c3208e977d659a1dd90205a2b3d85b3
      Signed-off-by: default avatarEvan Anderson <evan1124@gmail.com>
      
      [*]roomservice: Fix device syncing
      
      Change-Id: Id4a59d74531a4ea1744f845fbe65b43debf950dd
      Signed-off-by: default avatarEvan Anderson <evan1124@gmail.com>
      
      [*]Switch to OmniRom's roomservice
      
      All credit goes to Omni for this.
      
      PS2: Update defaults to use with PA
      PS3: Give proper authorship
      PS4: Update dependency file name
      PS5: Set default_team_rem to github
      PS6: Revert PS5. Depends on manifest change
      
      Change-Id: I77fe0e958a3da5a3d65d0bf8c929fed2b13115bd
      Signed-off-by: default avatarEvan Anderson <evan1124@gmail.com>
      
      [*]roomservice: fix missing revision line
      
      Change-Id: I727f3a6ab1345b32b61b1c1bda31f03008082c96
      Signed-off-by: default avatarEvan Anderson <evan1124@gmail.com>
      
      [*]roomservice: Fix adding to manifest
      
      Python is indent-sensitive, so needed to indent some lines.
      
      Change-Id: Iaa360754038e4966fb76eb264e7c3195209735a1
      Signed-off-by: default avatarEvan Anderson <evan1124@gmail.com>
      
      Contributers:
      @Ryuinferno
      @Cybojenix
      
      Change-Id: I91ee64727edf80cbe2cce7934de0adcf813b55a6
      ce669b56
    • Emilio López's avatar
      envsetup: Mark zsh as compatible · 50570f82
      Emilio López authored
      Basic functionality has been tested on zsh 5.0.2 and has been found to
      work correctly.
      
      Change-Id: I02e5e3bedf56b43104c280d9737ae7b334357643
      50570f82
    • Emilio López's avatar
      envsetup: do not print an error if complete fails · c947de99
      Emilio López authored
      complete is a bashism; so it will fail on other shells. Avoid printing
      an error if that is the case.
      
      Change-Id: Id6d6311792f409cc3a697c7a2bb003863f1afe60
      c947de99
    • Ayysir's avatar
      envsetup: mka & reposync functions · 6ceef7f8
      Ayysir authored
      Change-Id: Idc30394631a5cf20038784ffb381f419966505b7
      
      Conflicts:
      	envsetup.sh
      6ceef7f8
  4. 05 Oct, 2014 1 commit
    • Christopher Ferris's avatar
      Call art-on only when debugging ART processes. · 855d27f6
      Christopher Ferris authored
      If you are debugging a native process, SIGSEGV gets ignored by default.
      Make it so that the special ART gdb macro is only called when debugging
      app_processXX.
      
      Bug: 17815162
      Change-Id: Idba86860dfd94e7483f2668beeb76b3e6032fb34
      855d27f6
  5. 16 Sep, 2014 1 commit
    • David 'Digit' Turner's avatar
      envsetup.sh: Fix handling of emulator prebuilts path. · 50d5ccc1
      David 'Digit' Turner authored
      Due to a bad previous merge, everytime 'lunch' is called, a new
      instance of prebuilts/android-emulator/<system>/ will be added
      to your PATH.
      
      This patch fixes the issue by removing the duplicate code that
      should have been removed during the merge. Note that android-emulator
      is still being added once to the PATH by code that appears before
      in the script.
      
      BUG=17524154
      
      Change-Id: Iaa03159b0c81b15ef4c7c420e2f76e0a48aba789
      50d5ccc1
  6. 12 Sep, 2014 1 commit
  7. 11 Sep, 2014 1 commit
  8. 25 Aug, 2014 1 commit
  9. 05 Aug, 2014 1 commit
    • Duane Sand's avatar
      [MIPS] Unite mipsel and mips64el 4.9 gcc toolchains · 3c4fcd84
      Duane Sand authored
      Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
      Tell ld when 32-bit links are required.
      Override 4.9's changed defaults for mips floating point
      register use, to get same assembler rules as 4.8 and earlier.
      
      Also: drop unused  soft-fp build targets, cleanout redundant
      compiler options, and remove extraneous Android.mk file.
      
      (cherry picked from commit 6670e24a)
      
      Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
      3c4fcd84
  10. 26 Jul, 2014 1 commit
  11. 18 Jul, 2014 2 commits
    • Ed Heyl's avatar
      back port cc6be0a3: wrap make. do not merge · 6190a0c3
      Ed Heyl authored
      Bug: 16368823 | Lunch sets $out with extra text
      Change-Id: I2a1d422865a073cd30e86f1e20b4d99a3747cc0b
      6190a0c3
    • Nick Kralevich's avatar
      runhat: use /data/local/tmp · 9948b1e9
      Nick Kralevich authored
      Use /data/local/tmp for runhat reports, instead of the sdcard.
      system_server isn't allowed to handle sdcard file descriptors, since
      the sdcard could be ejected at any time, causing the kernel to kill the
      system process.
      
      This addresses the following SELinux denial:
      
        W/main    ( 9906): type=1400 audit(0.0:16): avc: denied { read write } for path="/mnt/shell/emulated/0/hprof-600" dev="fuse" ino=3077890536 scontext=u:r:system_server:s0 tcontext=u:object_r:fuse:s0 tclass=file
      
      Bug: 16375996
      Change-Id: I4c2053c327526c2f8e6812f4ed911a712ae9a9b8
      9948b1e9
  12. 09 Jul, 2014 1 commit
  13. 01 Jul, 2014 1 commit
  14. 30 Jun, 2014 1 commit
  15. 27 Jun, 2014 2 commits
  16. 24 Jun, 2014 1 commit
  17. 23 Jun, 2014 1 commit
  18. 20 Jun, 2014 1 commit
    • Brigid Smith's avatar
      Updated gdbclient path support. · 7a569a62
      Brigid Smith authored
      Now gdbclient accepts a fully qualified pathname for EXEs, which it will
      not modify, or a relative pathname, to which it will prefix
      "/system/bin".  As an example, each of the following now works.
      
      Fully qualified:
      adb shell gdbserver :5039 /system/bin/ping
      bg
      gdbclient /system/bin/ping :5039 /system/bin/ping
      
      Relative:
      adb shell gdbserver :5039 /system/bin/ping
      bg
      gdbclient ping :5039 /system/bin/ping
      
      Change-Id: I1e4c9fca64c4fbc52c255271cc7f83f35c258509
      7a569a62
  19. 17 Jun, 2014 1 commit
    • Brigid Smith's avatar
      Removed /system/bin prefix from gdbclient. · 0a2712d3
      Brigid Smith authored
      Now a program run through gdbclient will not automatically have
      /system/bin added to its path, so programs not in /system/bin will no
      longer need to be prefixed with ../../.
      
      The following now works as an example:
       adb shell gdbserver :5039 /system/xbin/crasher
       bg
       gdbclient /system/xbin/crasher :5039 /system/xbin/crasher
      
      And the following now no longer works:
       adb shell gdbserver :5039 /system/xbin/crasher
       bg
       gdbclient ../../system/xbin/crasher :5039 /system/xbin/crasher
      
      Change-Id: I299b66d03915aeb1dc300e43a81c9a51f0bd7dec
      0a2712d3
  20. 11 Jun, 2014 1 commit
  21. 29 May, 2014 1 commit
  22. 28 May, 2014 2 commits
  23. 22 May, 2014 1 commit