diff --git a/tools/profiler/moz.build b/tools/profiler/moz.build index 4961d72e26e..3cd031c319c 100644 --- a/tools/profiler/moz.build +++ b/tools/profiler/moz.build @@ -101,7 +101,7 @@ if CONFIG['MOZ_ENABLE_PROFILER_SPS']: if CONFIG['ENABLE_TESTS']: DIRS += ['tests/gtest'] - if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['ANDROID_VERSION'] <= '17': + if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and (CONFIG['ANDROID_VERSION'] <= '17' or CONFIG['ANDROID_VERSION'] >= '21'): DEFINES['ELFSIZE'] = 32 FINAL_LIBRARY = 'xul'