0001-Using-native-binaries.patch 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. From 6c3ac20477a4bac643088f24df3c042e627fafa9 Mon Sep 17 00:00:00 2001
  2. From: Guillaume Burel <guillaume.burel@stormshield.eu>
  3. Date: Fri, 3 Jan 2020 11:25:54 +0100
  4. Subject: [PATCH] Using native binaries
  5. Upstream-Status: Inappropriate [embedded specific]
  6. Originally added in:
  7. https://git.openembedded.org/meta-openembedded/commit/?id=1c8e4a679ae382f953b2e5c7a4966a4646314f3e
  8. later extended and renamed in:
  9. https://git.openembedded.org/meta-openembedded/commit/?id=feeb172d1a8bf010490d22b8df9448b20d9d2aed
  10. Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
  11. ---
  12. node.gyp | 1 +
  13. tools/v8_gypfiles/v8.gyp | 5 +++++
  14. 2 files changed, 6 insertions(+)
  15. diff --git a/node.gyp b/node.gyp
  16. index e8e1d9f9..e60ccc10 100644
  17. --- a/node.gyp
  18. +++ b/node.gyp
  19. @@ -320,6 +320,7 @@
  20. 'action_name': 'node_mksnapshot',
  21. 'process_outputs_as_sources': 1,
  22. 'inputs': [
  23. + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
  24. '<(node_mksnapshot_exec)',
  25. '<(node_snapshot_main)',
  26. ],
  27. diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
  28. index 42e26cd9..bc721991 100644
  29. --- a/tools/v8_gypfiles/v8.gyp
  30. +++ b/tools/v8_gypfiles/v8.gyp
  31. @@ -68,6 +68,7 @@
  32. {
  33. 'action_name': 'run_torque_action',
  34. 'inputs': [ # Order matters.
  35. + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
  36. '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
  37. '<@(torque_files)',
  38. ],
  39. @@ -99,6 +100,7 @@
  40. '<@(torque_outputs_inc)',
  41. ],
  42. 'action': [
  43. + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
  44. '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
  45. '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated',
  46. '-v8-root', '<(V8_ROOT)',
  47. @@ -211,6 +213,7 @@
  48. {
  49. 'action_name': 'generate_bytecode_builtins_list_action',
  50. 'inputs': [
  51. + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
  52. '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)',
  53. ],
  54. 'outputs': [
  55. @@ -400,6 +403,7 @@
  56. ],
  57. },
  58. 'inputs': [
  59. + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
  60. '<(mksnapshot_exec)',
  61. ],
  62. 'outputs': [
  63. @@ -1539,6 +1543,7 @@
  64. {
  65. 'action_name': 'run_gen-regexp-special-case_action',
  66. 'inputs': [
  67. + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
  68. '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)',
  69. ],
  70. 'outputs': [
  71. --
  72. 2.34.1