Closed Bug 660497 Opened 13 years ago Closed 13 years ago

AC_SUBST(ANDROID) since people keep pretending that it is, and not looking at the fact that their Makefile ifndef isn't doing what they want

Categories

(Firefox Build System :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: philor, Assigned: philor)

References

Details

Attachments

(1 file, 3 obsolete files)

Attached patch fix, actually applied (obsolete) — Splinter Review
hg qpop -a && hg qdiff turns out not to be as effective as it could be.
Attachment #535886 - Attachment is obsolete: true
Attachment #535886 - Flags: review?(khuey)
Attachment #535887 - Flags: review?(khuey)
Comment on attachment 535887 [details] [diff] [review]
fix, actually applied

Actually, this won't do what you want.  It's only substituting if we're on android, so on non-android ifdef ANDROID will be true since ANDROID = @ANDROID@.
Attachment #535887 - Flags: review+ → review-
Attached patch fix?, v2 (obsolete) — Splinter Review
http://dev.philringnalda.com/tbpl/?tree=Try&rev=c64d30a7baf8, maybe, with a little luck.
Attachment #535887 - Attachment is obsolete: true
Attachment #535888 - Flags: review?(khuey)
Comment on attachment 535888 [details] [diff] [review]
fix?, v2

Sigh.
Attachment #535888 - Flags: review?(khuey)
Attached patch probable fix, v3Splinter Review
Boy, this is going to be a bug to list front and center on the old resume, isn't it?
Attachment #535888 - Attachment is obsolete: true
Attachment #535890 - Flags: review?(khuey)
Comment on attachment 535890 [details] [diff] [review]
probable fix, v3

I *think* this does it.
Attachment #535890 - Flags: review?(khuey) → review+
Blocks: 651538
Depends on: 660504
Pushed http://hg.mozilla.org/mozilla-central/rev/8d752162e810 as a bustage fix, to make disabling the failing tests actually work, so I'll have to revert that once I can push this.
I really don't want this. I have railed against this in the past. We already have OS_TARGET = Android, that's what people should be using. If people are not testing their build changes, then that's a problem we cannot fix with patches.
Per comment 8.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
I think we should alternately add this to autoconf.mk.in:

ANDROID = $(error You are using the ANDROID variable in a makefile incorrectly. You should be using OS_TARGET)
Will that work if the only way people use it is "ifdef ANDROID"?
Crap, it doesn't :-(
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: