Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 20 May 2014 12:17:51 -0400
changeset 183913 8da004bc9a6d478fc7e7490861ffd55ee4a594b9
parent 183912 60590620a8dac0139e719fa64c68ba902fc0429d
child 183914 a4655f5da435f4f7188517763e4be4040795f3d2
child 183956 a7b00f51f6a83099642626d94a02600cada78194
push id43713
push userryanvm@gmail.com
push dateTue, 20 May 2014 16:17:57 +0000
treeherdermozilla-inbound@8da004bc9a6d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1001320
milestone32.0a1
backs out8433a3609a541d08e22450839533216af97a676b
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage. CLOSED TREE
config/gcc_hidden_dso_handle.h
config/system-headers
configure.in
dom/system/gonk/android_audio/AudioSystem.h
js/src/configure.in
widget/gonk/GonkPermission.cpp
widget/gonk/nativewindow/GonkNativeWindowClientJB.h
widget/gonk/nativewindow/GonkNativeWindowClientKK.h
widget/gonk/nativewindow/IGonkGraphicBufferConsumer.h
deleted file mode 100644
--- a/config/gcc_hidden_dso_handle.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifdef __cplusplus
-extern "C"
-#endif
-void *__dso_handle;
-
-/* Begin all files as hidden visibility */
-#pragma GCC visibility push(hidden)
--- a/config/system-headers
+++ b/config/system-headers
@@ -402,16 +402,19 @@ dl.h
 docobj.h
 dos/dosextens.h
 dos.h
 Drag.h
 DriverServices.h
 DriverSynchronization.h
 DropInPanel.h
 dvidef.h
+#ifdef ANDROID
+EffectApi.h
+#endif
 elf.h
 endian.h
 Entry.h
 errno.h
 Errors.h
 Events.h
 exdisp.h
 ExDisp.h
@@ -508,18 +511,16 @@ gssapi/gssapi_generic.h
 gssapi/gssapi.h
 gssapi.h
 gtk/gtk.h
 gtk/gtkx.h
 gtk/gtkprinter.h
 gtk/gtkprintjob.h
 gtk/gtkprintunixdialog.h
 #ifdef ANDROID
-gui/BufferQueue.h
-gui/ConsumerBase.h
 gui/GraphicBufferAlloc.h
 gui/IConsumerListener.h
 gui/IGraphicBufferAlloc.h
 gui/IGraphicBufferProducer.h
 gui/ISurfaceComposer.h
 gui/ISurfaceComposerClient.h
 gui/ISurfaceTexture.h
 gui/Surface.h
@@ -536,16 +537,24 @@ hardware_legacy/uevent.h
 hardware_legacy/vibrator.h
 #endif
 HIToolbox/HIToolbox.h
 hlink.h
 #ifdef ANDROID
 HTTPBase.h
 #endif
 ia64/sys/inline.h
+#ifdef ANDROID
+IAudioFlingerClient.h
+IAudioFlinger.h
+IAudioRecord.h
+IAudioTrack.h
+IEffect.h
+IEffectClient.h
+#endif
 Icons.h
 iconv.h
 ieeefp.h
 ifaddrs.h
 image.h
 imagehlp.h
 imm.h
 initguid.h
@@ -897,17 +906,16 @@ rld_interface.h
 rmsdef.h
 Roster.h
 rpc.h
 rpcproxy.h
 rpc/types.h
 sane/sane.h
 sane/sanei.h
 sane/saneopts.h
-sched.h
 Scrap.h
 Screen.h
 Script.h
 ScrollBar.h
 sec.h
 secrng.h
 security.h
 secutil.h
--- a/configure.in
+++ b/configure.in
@@ -2545,29 +2545,27 @@ MOZ_CXX11
 AC_LANG_C
 
 dnl Check for .hidden assembler directive and visibility attribute.
 dnl Borrowed from glibc configure.in
 dnl ===============================================================
 if test "$GNU_CC" -a "$OS_TARGET" != WINNT; then
   AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
   AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
-  case "$OS_TARGET" in
-  Darwin)
+  if test -n "$gonkdir"; then
+    visibility_target=Gonk
+  else
+    visibility_target=$OS_TARGET
+  fi
+  case "$visibility_target" in
+  Darwin|Gonk)
     VISIBILITY_FLAGS='-fvisibility=hidden'
     ;;
   *)
-    case $GCC_VERSION in
-    4.4*)
-      VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden_dso_handle.h'
-      ;;
-    *)
-      VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
-      ;;
-    esac
+    VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
     WRAP_SYSTEM_INCLUDES=1
     ;;
   esac
 fi         # GNU_CC
 
 # visibility hidden flag for Sun Studio on Solaris
 if test "$SOLARIS_SUNPRO_CC"; then
 VISIBILITY_FLAGS='-xldscope=hidden'
--- a/dom/system/gonk/android_audio/AudioSystem.h
+++ b/dom/system/gonk/android_audio/AudioSystem.h
@@ -12,18 +12,16 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 #ifndef ANDROID_AUDIOSYSTEM_H_
 #define ANDROID_AUDIOSYSTEM_H_
 
-#pragma GCC visibility push(default)
-
 #include <utils/RefBase.h>
 #include <utils/threads.h>
 #include "IAudioFlinger.h"
 
 #ifndef VANILLA_ANDROID
 /* request to open a direct output with get_output() (by opposition to
  * sharing an output with other AudioTracks)
  */
@@ -958,11 +956,9 @@ public:
 
 private:
     String8 mKeyValuePairs;
     KeyedVector <String8, String8> mParameters;
 };
 
 };  // namespace android
 
-#pragma GCC visibility pop
-
 #endif  /*ANDROID_AUDIOSYSTEM_H_*/
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2078,29 +2078,27 @@ AC_LANG_CPLUSPLUS
 MOZ_CXX11
 
 dnl Check for .hidden assembler directive and visibility attribute.
 dnl Borrowed from glibc configure.in
 dnl ===============================================================
 if test "$GNU_CC" -a "$OS_TARGET" != WINNT; then
   AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
   AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
-  case "$OS_TARGET" in
-  Darwin)
+  if test -n "$gonkdir"; then
+    visibility_target=Gonk
+  else
+    visibility_target=$OS_TARGET
+  fi
+  case "$visibility_target" in
+  Darwin|Gonk)
     VISIBILITY_FLAGS='-fvisibility=hidden'
     ;;
   *)
-    case $GCC_VERSION in
-    4.4*)
-      VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden_dso_handle.h'
-      ;;
-    *)
-      VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
-      ;;
-    esac
+    VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
     WRAP_SYSTEM_INCLUDES=1
     ;;
   esac
 fi         # GNU_CC
 
 # visibility hidden flag for Sun Studio on Solaris
 if test "$SOLARIS_SUNPRO_CC"; then
 VISIBILITY_FLAGS='-xldscope=hidden'
--- a/widget/gonk/GonkPermission.cpp
+++ b/widget/gonk/GonkPermission.cpp
@@ -9,17 +9,16 @@
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
-#include <utils/Unicode.h>
 #include <binder/IPCThreadState.h>
 #include <binder/ProcessState.h>
 #include <binder/IServiceManager.h>
 #include <binder/IPermissionController.h>
 #include <private/android_filesystem_config.h>
 #include "GonkPermission.h"
 
 #include "mozilla/dom/ContentParent.h"
--- a/widget/gonk/nativewindow/GonkNativeWindowClientJB.h
+++ b/widget/gonk/nativewindow/GonkNativeWindowClientJB.h
@@ -26,20 +26,19 @@
 
 #include <ui/ANativeObjectBase.h>
 #include <ui/Region.h>
 
 #include <utils/RefBase.h>
 #include <utils/threads.h>
 #include <utils/KeyedVector.h>
 
-#include "mozilla/Types.h"
 #include "GonkBufferQueue.h"
 
-struct MOZ_EXPORT ANativeWindow_Buffer;
+struct ANativeWindow_Buffer;
 
 namespace android {
 
 /*
  * An implementation of ANativeWindow that feeds graphics buffers into a
  * BufferQueue.
  *
  * This is typically used by programs that want to render frames through
--- a/widget/gonk/nativewindow/GonkNativeWindowClientKK.h
+++ b/widget/gonk/nativewindow/GonkNativeWindowClientKK.h
@@ -22,20 +22,19 @@
 
 #include <ui/ANativeObjectBase.h>
 #include <ui/Region.h>
 
 #include <utils/RefBase.h>
 #include <utils/threads.h>
 #include <utils/KeyedVector.h>
 
-#include "mozilla/Types.h"
 #include "GonkBufferQueue.h"
 
-struct MOZ_EXPORT ANativeWindow_Buffer;
+struct ANativeWindow_Buffer;
 
 namespace android {
 
 /*
  * An implementation of ANativeWindow that feeds graphics buffers into a
  * BufferQueue.
  *
  * This is typically used by programs that want to render frames through
--- a/widget/gonk/nativewindow/IGonkGraphicBufferConsumer.h
+++ b/widget/gonk/nativewindow/IGonkGraphicBufferConsumer.h
@@ -22,32 +22,31 @@
 
 #include <utils/Errors.h>
 #include <utils/RefBase.h>
 #include <utils/Timers.h>
 
 #include <binder/IInterface.h>
 #include <ui/Rect.h>
 
-#include "mozilla/Types.h"
 #include "mozilla/layers/LayersSurfaces.h"
 
 namespace mozilla {
 
 namespace layers {
 class TextureClient;
 }
 }
 
 namespace android {
 // ----------------------------------------------------------------------------
 
-class MOZ_EXPORT IConsumerListener;
-class MOZ_EXPORT GraphicBuffer;
-class MOZ_EXPORT Fence;
+class IConsumerListener;
+class GraphicBuffer;
+class Fence;
 
 class IGonkGraphicBufferConsumer : public IInterface {
     typedef mozilla::layers::TextureClient TextureClient;
 public:
 
     // public facing structure for BufferSlot
     class BufferItem : public Flattenable<BufferItem> {
         friend class Flattenable<BufferItem>;