Closed Bug 1272714 Opened 8 years ago Closed 8 years ago

Move MOZ_ANDROID_HISTORY to Python configure

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: chmanchester, Assigned: chmanchester)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

      No description provided.
Attachment #8752366 - Flags: review?(mh+mozilla) → review+
Comment on attachment 8752366 [details]
MozReview Request: Bug 1272714 - Move MOZ_ANDROID_HISTORY to Python configure. r=glandium

https://reviewboard.mozilla.org/r/52561/#review49884

::: toolkit/moz.configure:421
(Diff revision 1)
> +@depends('MOZ_PLACES', 'MOZ_ANDROID_HISTORY')
> +def check_places_and_android_history(places, android_history):
> +    if places and android_history:
> +        die('Cannot use MOZ_ANDROID_HISTORY alongside MOZ_PLACES.')

It /might/ be nice to add a util function like the following for this:

@template
def conflict(a, b):
    @depends(a, b)
    def conflict_check(value_a, value_b):
        if value_a and value_b:
            die('Cannot use %s alongside %s', a, b)
https://hg.mozilla.org/mozilla-central/rev/0852b1d540bf
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: