DEPS 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. vars = {
  2. 'chromium_version':
  3. '63.0.3239.150',
  4. 'libchromiumcontent_revision':
  5. '1c542968990da951df27c8a0371a4ab5494a5a6c',
  6. 'node_version':
  7. 'v9.7.0-33-g538a5023af',
  8. 'native_mate_revision':
  9. '4cd7d113915de0cc08e9a218be35bff9c7361906',
  10. 'chromium_git':
  11. 'https://chromium.googlesource.com',
  12. 'electron_git':
  13. 'https://github.com/electron',
  14. }
  15. deps = {
  16. 'src':
  17. (Var("chromium_git")) + '/chromium/src.git@' + (Var("chromium_version")),
  18. 'src/libchromiumcontent':
  19. (Var("electron_git")) + '/libchromiumcontent.git@' + (Var("libchromiumcontent_revision")),
  20. 'src/third_party/electron_node':
  21. (Var("electron_git")) + '/node.git@' + (Var("node_version")),
  22. 'src/third_party/native_mate':
  23. (Var("electron_git")) + '/native-mate.git@' + (Var("native_mate_revision")),
  24. }
  25. hooks = [
  26. {
  27. 'action': [
  28. 'src/libchromiumcontent/script/apply-patches'
  29. ],
  30. 'pattern':
  31. 'src/libchromiumcontent',
  32. 'name':
  33. 'patch_chromium'
  34. },
  35. {
  36. 'action': [
  37. 'src/electron/script/update-external-binaries.py'
  38. ],
  39. 'pattern':
  40. 'src/electron/script/update-external-binaries.py',
  41. 'name':
  42. 'electron_external_binaries'
  43. },
  44. {
  45. 'action': [
  46. 'bash',
  47. '-c',
  48. # NOTE(nornagon): this ridiculous {{}} stuff is because these strings get
  49. # variable-substituted twice by gclient.
  50. 'echo -e "#\\n{{{{\'variables\':{{{{}}}}}}}}" > src/third_party/electron_node/config.gypi',
  51. ],
  52. 'pattern': 'src/third_party/electron_node',
  53. 'name': 'touch_node_config_gypi'
  54. },
  55. {
  56. 'action': [
  57. 'bash',
  58. '-c',
  59. 'cd src/electron; npm install',
  60. ],
  61. 'pattern': 'src/electron/package.json',
  62. 'name': 'electron_npm_deps'
  63. },
  64. ]
  65. recursedeps = [
  66. 'src',
  67. 'src/libchromiumcontent',
  68. ]