Open Bug 1255883 Opened 8 years ago Updated 2 years ago

Provide helper functions for shared library & program names

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: mshal, Unassigned)

Details

From https://bugzilla.mozilla.org/show_bug.cgi?id=1253775#c5
===
> +        ])
> +    TEST_HARNESS_FILES.xpcshell.modules.libmar.tests.unit += sorted(
> +        ['!/dist/bin/%s%s%s' % (
> +            CONFIG['DLL_PREFIX'],
> +            name,
> +            CONFIG['DLL_SUFFIX'],

This happens just often enough that I wonder if we shouldn't ought to expose a helper function in moz.build like `shared_lib_name(name)`.
===

We could probably also use a similar function for program_name which appends BIN_SUFFIX.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.