26 Commits

Author SHA1 Message Date
Ole André Vadla Ravnås a814a4aa9b Revert "meson: Switch Python resolution strategy (#270)"
Turns out this breaks our CI. We should probably make this an option
instead.

This reverts commit 60a4a032d6.
2026-03-08 20:07:43 +01:00
James 60a4a032d6 meson: Switch Python resolution strategy (#270)
Use the `system` strategy, as .pc metadata is often wrong.
2026-03-07 14:49:23 +01:00
Ole André Vadla Ravnås 9706e4be99 Move _frida package inside the frida package
So we only have one top-level package, to avoid confusing IDEs.

Also add missing files to the Meson build system.
2024-04-24 12:41:52 +02:00
Ole André Vadla Ravnås 61fbf134c5 setup: Add support for building from source
This means we can finally drop support for building from a devkit, which
was quite fragile and error-prone.
2024-04-23 16:02:23 +02:00
Ole André Vadla Ravnås d42d945be5 meson: Specify Meson version required 2024-04-23 14:09:08 +02:00
Ole André Vadla Ravnås cda2280dfc meson: Compute version and pass it to frida-core 2024-04-23 14:08:09 +02:00
Ole André Vadla Ravnås 241a2854c6 meson: Set project version to 0.0.0
To make it clear this project doesn't have its own release cycle.
2024-04-17 23:35:51 +02:00
Ole André Vadla Ravnås 88330bfbb9 meson: Simplify the build system
- Make full use of Meson's Python module.
- Drop python_incdir option. It's now possible to use a .pc file to
  specify the include path.
- Drop config.h, as we only needed it for HAVE_MACOS, which we can
  easily check for in the single location that we need it.
2024-03-21 21:53:50 +01:00
Ole André Vadla Ravnås bd3e280cbf meson: Remove the python option
We can instead rely solely on Meson's Python module, as Meson supports
specifying the `python` binary to use.
2024-03-20 23:23:16 +01:00
Ole André Vadla Ravnås 8685505b3e meson: Improve Python installation detection 2024-03-14 15:53:36 +01:00
Ole André Vadla Ravnås 59467c03c7 meson: Wire up test-suite 2024-03-14 15:42:49 +01:00
Ole André Vadla Ravnås 833bf3a333 meson: Add missing dependency on gio-unix
We were piggybacking on frida-core depending on this, but we really
shouldn't have.
2022-10-18 20:00:46 +02:00
Ole André Vadla Ravnås de8b4c5b99 meson: Remove some forgotten Python 2.x remnants 2022-10-06 22:50:50 +02:00
Yotam Nachum c4785c3f7c Use f-strings
f-strings is a new, shorter alternative to `.format` method that was
introduced in Python 3.6.
2022-09-12 20:59:52 +03:00
Ole André Vadla Ravnås 3f635bc84b meson: Move to the new run_command() API 2022-01-20 01:01:47 +01:00
Ole André Vadla Ravnås 4778401121 Move to the proper Meson system name for Android 2020-11-11 21:16:24 +01:00
Ole André Vadla Ravnås 6b5a4e8028 Use Meson's b_ndebug option to decide on checks 2020-04-23 19:39:40 +00:00
Ole André Vadla Ravnås c463dd1dfe Fix check deciding on assertions and checks
Instead of relying on “buildtype”, consider “optimization” and “debug”.

Thanks @nirbheek!
2020-04-04 07:05:37 +02:00
Ole André Vadla Ravnås 9a42453594 Remove trailing whitespace 2019-08-08 20:58:38 +02:00
Muhammed Ziad 271d8ff926 Add option to compile the native extension from Python header files (#155) 2019-07-31 01:27:11 +02:00
Ole André Vadla Ravnås 7dc061ca07 Canonicalize the Meson option name and declaration 2019-05-09 21:05:38 +02:00
Ole André Vadla Ravnås 6f914eb268 Disable assertions and checks in production builds 2018-08-21 20:12:49 +02:00
Ole André Vadla Ravnås 72899a4315 Drop convenience APIs and split out tools (#142)
Most use-cases will need to use some JS API that we're not bridging, so
it's better to keep our bindings simple.

It has also become clear that our CLI tools should be split out so Frida-based
tools don't have to depend on colorama, prompt_toolkit, and pygments.
2018-07-10 20:08:56 +02:00
Ole André Vadla Ravnås 096a11593f Fix assumption about host_machine.system()
It is only meant to be the system family.
2017-05-21 19:34:39 +02:00
Ole André Vadla Ravnås 604d027b52 Remove the autotools build system 2017-05-20 03:43:39 +02:00
Ole André Vadla Ravnås 1316e28db5 Port to Meson (#110) 2017-05-20 03:19:58 +02:00