Skip to content

Commit

Permalink
Bug 1841178 - Remove xpcom-config.h. r=xpcom-reviewers,mccr8
Browse files Browse the repository at this point in the history
The only thing left it in is TARGET_XPCOM_ABI, which is defined in
mozilla-config.h anyways.

Differential Revision: https://phabricator.services.mozilla.com/D182520
  • Loading branch information
glandium committed Jun 29, 2023
1 parent 0006002 commit ecb7723
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 30 deletions.
1 change: 0 additions & 1 deletion dom/commandhandler/nsCommandParams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* 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/. */

#include "xpcom-config.h"
#include <new>
#include "nscore.h"
#include "nsCRT.h"
Expand Down
8 changes: 0 additions & 8 deletions xpcom/base/nscore.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
#ifndef nscore_h___
#define nscore_h___

/**
* Make sure that we have the proper platform specific
* c++ definitions needed by nscore.h
*/
#ifndef _XPCOM_CONFIG_H_
# include "xpcom-config.h" // IWYU pragma: export
#endif

/* Definitions of functions and operators that allocate memory. */
#if !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC)
# include "mozilla/mozalloc.h"
Expand Down
8 changes: 0 additions & 8 deletions xpcom/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ TEST_DIRS += [
# 'reflect/xptcall/tests,
# ]

CONFIGURE_DEFINE_FILES += [
"xpcom-config.h",
]

EXPORTS += [
"!xpcom-config.h",
]

SPHINX_TREES["/xpcom"] = "docs"

with Files("docs/**"):
Expand Down
13 changes: 0 additions & 13 deletions xpcom/xpcom-config.h.in

This file was deleted.

0 comments on commit ecb7723

Please sign in to comment.