Closed Bug 1345762 Opened 7 years ago Closed 7 years ago

Rename OSPreferences_unix.cpp to OSPreferences_android.cpp

Categories

(Core :: Internationalization, enhancement)

Unspecified
Android
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

OSPreferences_unix.cpp is used on Android only, so we should rename OSPreferences_unix.cpp to *_android.cpp
And we move nsAndroidCharset.cpp into intl/locale/android too.
Comment on attachment 8845288 [details]
Bug 1345762 - Rename OSPreferences_unix.cpp to OSPreferences_android.cpp.

So, this looks good to me, but if I understand correctly it means that we will fail to compile on anything but android/win/mac/gtk. I'm not sure if there are any other toolkit targets in any tier, like freebsd, or things like that, but we won't have the "dummy" (which used to be unix) anymore.

I hope it's ok.
Attachment #8845288 - Flags: review?(gandalf) → review+
(In reply to Zibi Braniecki [:gandalf][:zibi] from comment #3)
> Comment on attachment 8845288 [details]
> Bug 1345762 - Rename OSPreferences_unix.cpp to OSPreferences_android.cpp.
> 
> So, this looks good to me, but if I understand correctly it means that we
> will fail to compile on anything but android/win/mac/gtk. I'm not sure if
> there are any other toolkit targets in any tier, like freebsd, or things
> like that, but we won't have the "dummy" (which used to be unix) anymore.
> 
> I hope it's ok.

Firefox on *BSD uses GTK widget, and current code uses OSPreferences_gtk on all *NIX except to macOS.
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4015525fbebc
Rename OSPreferences_unix.cpp to OSPreferences_android.cpp. r=gandalf
https://hg.mozilla.org/mozilla-central/rev/4015525fbebc
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: