Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level

RESOLVED FIXED in Firefox 47

Status

Firefox Build System
General
RESOLVED FIXED
2 years ago
2 months ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

unspecified
mozilla47
Dependency tree / graph

Firefox Tracking Flags

(firefox47 fixed)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

2 years ago
Created attachment 8717329 [details] [diff] [review]
Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level
Attachment #8717329 - Flags: review?(mshal)
(Assignee)

Updated

2 years ago
Blocks: 1246881
Comment on attachment 8717329 [details] [diff] [review]
Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level

>diff --git a/mobile/android/base/AppConstants.java.in b/mobile/android/base/AppConstants.java.in
>+    public static final String MOZ_APP_BUILDID = "@MOZ_BUILDID@";

Is there any reason not to update the java code to use MOZ_BUILDID instead of MOZ_APP_BUILDID as well? Then it'd be easy to see everywhere MOZ_BUILDID is used.

>diff --git a/mobile/android/base/Makefile.in b/mobile/android/base/Makefile.in
>+MOZ_BUILDID=$(shell cat $(DEPTH)/config/buildid)

Can you switch this to := while you're here?
Attachment #8717329 - Flags: review?(mshal) → review+
(Assignee)

Comment 3

2 years ago
(In reply to Michael Shal [:mshal] from comment #2)
> Comment on attachment 8717329 [details] [diff] [review]
> Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level
> 
> >diff --git a/mobile/android/base/AppConstants.java.in b/mobile/android/base/AppConstants.java.in
> >+    public static final String MOZ_APP_BUILDID = "@MOZ_BUILDID@";
> 
> Is there any reason not to update the java code to use MOZ_BUILDID instead
> of MOZ_APP_BUILDID as well? Then it'd be easy to see everywhere MOZ_BUILDID
> is used.

I didn't want to touch non-build system.

Comment 5

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/d315d56d7d5b
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox47: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47

Updated

2 years ago
Depends on: 1248246

Updated

2 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.