diff --git a/media/omx-plugin/Makefile.in b/media/omx-plugin/Makefile.in index e25897cf3f4..c6547207314 100644 --- a/media/omx-plugin/Makefile.in +++ b/media/omx-plugin/Makefile.in @@ -34,7 +34,9 @@ USE_STATIC_LIBS = 1 NO_DIST_INSTALL = 1 NO_INSTALL = 1 -DIRS += lib/ics/libutils +ifneq ($(MOZ_WIDGET_TOOLKIT),gonk) +DIRS += lib/ics/libutils lib/ics/libstagefright lib/ics/libstagefright_omx +endif CPPSRCS = \ OmxPlugin.cpp \ diff --git a/media/omx-plugin/lib/ics/libstagefright/Makefile.in b/media/omx-plugin/lib/ics/libstagefright/Makefile.in index c310a4ff8a5..dcdde2fc893 100644 --- a/media/omx-plugin/lib/ics/libstagefright/Makefile.in +++ b/media/omx-plugin/lib/ics/libstagefright/Makefile.in @@ -33,9 +33,11 @@ USE_STATIC_LIBS = 1 NO_DIST_INSTALL = 1 NO_INSTALL = 1 +ifneq ($(MOZ_WIDGET_TOOLKIT),gonk) CPPSRCS = \ libstagefright.cpp \ $(NULL) +endif include $(topsrcdir)/config/rules.mk diff --git a/media/omx-plugin/lib/ics/libstagefright_omx/Makefile.in b/media/omx-plugin/lib/ics/libstagefright_omx/Makefile.in index d02c9053f4c..f4f17294bfc 100644 --- a/media/omx-plugin/lib/ics/libstagefright_omx/Makefile.in +++ b/media/omx-plugin/lib/ics/libstagefright_omx/Makefile.in @@ -33,9 +33,11 @@ USE_STATIC_LIBS = 1 NO_DIST_INSTALL = 1 NO_INSTALL = 1 +ifneq ($(MOZ_WIDGET_TOOLKIT),gonk) CPPSRCS = \ libstagefright_omx.cpp \ $(NULL) +endif include $(topsrcdir)/config/rules.mk diff --git a/media/omx-plugin/lib/ics/libutils/Makefile.in b/media/omx-plugin/lib/ics/libutils/Makefile.in index 16437e7c915..1e27e8ea552 100644 --- a/media/omx-plugin/lib/ics/libutils/Makefile.in +++ b/media/omx-plugin/lib/ics/libutils/Makefile.in @@ -33,9 +33,11 @@ USE_STATIC_LIBS = 1 NO_DIST_INSTALL = 1 NO_INSTALL = 1 +ifneq ($(MOZ_WIDGET_TOOLKIT),gonk) CPPSRCS = \ libutils.cpp \ $(NULL) +endif include $(topsrcdir)/config/rules.mk