Commit d198a145 authored by Alex Catarineu's avatar Alex Catarineu Committed by Matthew Finkel
Browse files

Bug 28369: Stop shipping pingsender executable

parent 734eb836
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
#if defined(MOZ_CRASHREPORTER)
/minidump-analyzer
#endif
/pingsender
/pk12util
/ssltunnel
/xpcshell
+0 −4
Original line number Diff line number Diff line
@@ -444,10 +444,6 @@ bin/libfreebl_64int_3.so
@BINPATH@/minidump-analyzer@BIN_SUFFIX@
#endif

; [ Ping Sender ]
;
@BINPATH@/pingsender@BIN_SUFFIX@

; Shutdown Terminator
@RESPATH@/components/terminator.manifest

+0 −1
Original line number Diff line number Diff line
@@ -1472,7 +1472,6 @@ ${EndIf}
  Push "crashreporter.exe"
  Push "default-browser-agent.exe"
  Push "minidump-analyzer.exe"
  Push "pingsender.exe"
  Push "updater.exe"
  Push "updateagent.exe"
  Push "${FileMainEXE}"
+0 −2
Original line number Diff line number Diff line
@@ -420,7 +420,6 @@ class LinuxArtifactJob(ArtifactJob):
        '{product}/{product}',
        '{product}/{product}-bin',
        '{product}/minidump-analyzer',
        '{product}/pingsender',
        '{product}/plugin-container',
        '{product}/updater',
        '{product}/**/*.so',
@@ -482,7 +481,6 @@ class MacArtifactJob(ArtifactJob):
        'libosclientcerts.dylib',
        'libsoftokn3.dylib',
        'minidump-analyzer',
        'pingsender',
        'plugin-container.app/Contents/MacOS/plugin-container',
        'updater.app/Contents/MacOS/org.mozilla.updater',
        # 'xpcshell',
+1 −18
Original line number Diff line number Diff line
@@ -1578,23 +1578,6 @@ var TelemetrySendImpl = {
  },

  runPingSender(pings, observer) {
    if (AppConstants.platform === "android") {
    throw Components.Exception("", Cr.NS_ERROR_NOT_IMPLEMENTED);
    }

    const exeName =
      AppConstants.platform === "win" ? "pingsender.exe" : "pingsender";

    let exe = Services.dirsvc.get("GreBinD", Ci.nsIFile);
    exe.append(exeName);

    let params = pings.flatMap(ping => [ping.url, ping.path]);
    let process = Cc["@mozilla.org/process/util;1"].createInstance(
      Ci.nsIProcess
    );
    process.init(exe);
    process.startHidden = true;
    process.noShell = true;
    process.runAsync(params, params.length, observer);
  },
};
Loading