1. 02 Nov, 2021 1 commit
  2. 07 Sep, 2021 1 commit
  3. 30 Aug, 2021 2 commits
  4. 16 Aug, 2021 2 commits
  5. 26 Jul, 2021 1 commit
  6. 16 Jun, 2021 1 commit
  7. 07 Jun, 2021 1 commit
  8. 02 Jun, 2021 4 commits
  9. 05 May, 2021 1 commit
    • Daniel Dromboski's avatar
      [tools] More Python 3 compatibility fixes · 8807f0ad
      Daniel Dromboski authored
      These should all be forward/backward compatible with Python 2/Python 3.
      
      [tools] Tweak statusfile.py for Python 3
      
      .iteritems() does not exist in Python 3, only .items().
      
      (While .iteritems() was meant to be an optimization over .items()
      in Python 2, .items() should work fine, and it is forward/backward
      compatible.)
      
      
      [tools] Fix another Python 3 issue in mb.py
      
      sys.platform used to return e.g. 'linux2', which is 'linux' plus
      whatever the first digit of `uname -r` was when Python was built.
      As of Python 3.3, it always returns just 'linux' for Linux OSes.
      Use `sys.platform.startswith('linux')` for forward/backward
      compatibility.
      
      
      [tools] Make base_runner.py Python 3 compatible
      
      dict.keys() returns a dict_keys in Python 3, whereas it
      used to return a simple array. list() is forward/backward
      compatible with identical results on Python 2/3 (returns array).
      
      (Tested on Linux x64, trying to recreate NodeJS's CI workflow.)
      
      
      [tools] Make tools/dev/v8gen.py work with Python 3
      
      dict.keys() returns a dict_keys in Python 3, whereas it
      used to return a simple array. list() is forward/backward
      compatible with identical results on Python 2/3 (returns array).
      
      Comparing a None-type value numerically used to result in the
      None-type value always being considered "less than" the thing
      it is compared to. As of Python 3, numerically comparing against
      None or None-typed values results in an error. Check if a value
      is truthy before numerically comparing it, for forward/backward
      compatibility.
      
      print() used to transparently decode byte strings in Python 2.
      In Python 3, they must be explicitly decoded first.
      
      (Tested on Linux 64-bit, trying to recreate NodeJS's CI workflow.)
      
      Bug: v8:9871
      Change-Id: I059bf98577a67649bbe7ec49848989d468da96b0
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2867270Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#74369}
      8807f0ad
  10. 19 Apr, 2021 1 commit
  11. 24 Mar, 2021 1 commit
  12. 12 Mar, 2021 1 commit
  13. 10 Mar, 2021 1 commit
  14. 04 Mar, 2021 1 commit
    • Jakob Kummerow's avatar
      [gm.py] Fix goma detection · 76a302f9
      Jakob Kummerow authored
      Now that Goma is part of depot_tools (and any stale standalone
      checkouts in ~/goma are dysfunctional), update gm.py's detection
      logic.
      Note: this only affects new args.gn files created by gm.py. On
      machines where the build is already set up, this has no effect.
      
      Fixed: v8:11160
      No-Try: true
      Change-Id: I19f475a51d4345d803d49d3ad2720a0f4f6f84bd
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2735637Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#73194}
      76a302f9
  15. 11 Feb, 2021 1 commit
  16. 09 Feb, 2021 1 commit
  17. 28 Jan, 2021 1 commit
  18. 28 Jul, 2020 1 commit
  19. 24 Jul, 2020 1 commit
  20. 22 Jun, 2020 1 commit
  21. 18 Jun, 2020 1 commit
  22. 11 Mar, 2020 1 commit
  23. 10 Mar, 2020 1 commit
  24. 09 Jan, 2020 1 commit
  25. 20 Nov, 2019 1 commit
  26. 08 Nov, 2019 1 commit
  27. 16 Sep, 2019 1 commit
  28. 28 May, 2019 1 commit
  29. 05 Mar, 2019 1 commit
  30. 25 Feb, 2019 1 commit
  31. 19 Feb, 2019 1 commit
  32. 18 Feb, 2019 1 commit
  33. 11 Jan, 2019 1 commit
  34. 18 Dec, 2018 1 commit
  35. 07 Nov, 2018 1 commit
    • Igor Sheludko's avatar
      [gm.py] Allow arbitrary mode suffixes · f17b0d26
      Igor Sheludko authored
      which will allow gm to work for more directories than just [<arch>].[<mode>]:
        gm.py ia32.release-nosnap.check
        gm.py x64.optdebug-ptr-compr cctest unittests
      
      Basically the new usage is:
        gm.py [<arch>].[<mode>[-<suffix>]].[<target>] [testname...]
      
      Once default gn configuration is created based on <arch> and <mode> the script user
      may change it and then use gm as usual.
      
      Bug: v8:8238
      Change-Id: I9659b87073e815e0e4754f0a2f1056f3403c149c
      Reviewed-on: https://chromium-review.googlesource.com/c/1323734Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#57328}
      f17b0d26