diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn index 0a62567d96..cbf84fe6e4 100644 --- a/webrtc/base/BUILD.gn +++ b/webrtc/base/BUILD.gn @@ -214,7 +214,6 @@ static_library("rtc_base") { "autodetectproxy.h", "base64.cc", "base64.h", - "basicdefs.h", "common.cc", "common.h", "crc32.cc", diff --git a/webrtc/base/base.gyp b/webrtc/base/base.gyp index 37421f7bae..6855df8c7e 100644 --- a/webrtc/base/base.gyp +++ b/webrtc/base/base.gyp @@ -181,7 +181,6 @@ 'bandwidthsmoother.h', 'base64.cc', 'base64.h', - 'basicdefs.h', 'bind.h', 'callback.h', 'common.cc', diff --git a/webrtc/base/basicdefs.h b/webrtc/base/basicdefs.h deleted file mode 100644 index 1dee2ae658..0000000000 --- a/webrtc/base/basicdefs.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 2004 The WebRTC Project Authors. All rights reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef WEBRTC_BASE_BASICDEFS_H_ -#define WEBRTC_BASE_BASICDEFS_H_ - -#if HAVE_CONFIG_H -#include "config.h" // NOLINT -#endif - -#define ARRAY_SIZE(x) (static_cast(sizeof(x) / sizeof(x[0]))) - -#endif // WEBRTC_BASE_BASICDEFS_H_