Files
servo/python/servo
Mukilan Thiyagarajan e127129a99 mach: Normalize the --profile argument to build commands (#40753)
The current logic treats the explict version of release and dev build
specification i.e the `--profile release` and `--profile dev` options as
custom profiles. This breaks other logic that explictly check for
release and dev profile types, like the android build.

Normalize the `--profile` argument so that the strings `release` and
`dev` are treated correctly as `BuildType.Kind.RELEASE` and
`BuildType.Kind.DEV` respectively.

Fixes: #40752

Testing: Tested manually that building android with `--profile release`
creates the correct directory structure.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-11-20 07:01:14 +00:00
..
2025-11-13 08:48:01 +00:00
2025-11-13 08:48:01 +00:00