On Fri, Apr 18, 2014 at 11:21 AM, ISHIKAWA, Chiaki <ishik...@yk.rim.or.jp>wrote:
> (2014/04/18 2:00), Ehsan Akhgari wrote: > >> On 2014-04-17, 10:00 AM, Neil wrote: >> >>> Henri Sivonen wrote: >>> >>> I am not done preparing the removal patches yet, but with my current >>>> patch queue I can already get 149 KB off of Android ARMv7 optimized >>>> apk size and 138 KB off of Android ARMv7 optimized libxul size. >>>> >>>> What would be your opinion on the interim use of ifdef (or moz.build >>> equivalent) to prevent some or all of those files from being built on >>> browser builds? >>> >> >> I think this is the right thing to do. >> >> Cheers, >> Ehsan >> >> > What would be the compile-time MACRO to distinguish > Thunderbird > Firefox > Seamonky > ? > You can check CONFIG['MOZ_BUILD_APP'] against what you pass to --enable-application in mozconfig files. So that would be 'mailnews' (or 'mail'?) and 'suite' for Thunderbird and Seamonkey respectively. Cheers, -- Ehsan <http://ehsanakhgari.org/> _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform