From c1cd566cc6254802c9554ee006b0b809ff77aa55 Mon Sep 17 00:00:00 2001 From: tfarina Date: Fri, 18 Dec 2015 07:33:02 -0800 Subject: [PATCH] delete basictypes.h header We have updated the uses of ARRAY_SIZE to arraysize in past patches: https://chromium.googlesource.com/external/webrtc/+/5237aaf243d29732f59557361b7a993c0a18cf0e https://chromium.googlesource.com/external/webrtc/+/fa5d0dbd1e4de062d105b065fc2e40da47ef827a BUG=None R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1537943002 Cr-Commit-Position: refs/heads/master@{#11085} --- webrtc/base/BUILD.gn | 1 - webrtc/base/base.gyp | 1 - webrtc/base/basicdefs.h | 20 -------------------- 3 files changed, 22 deletions(-) delete mode 100644 webrtc/base/basicdefs.h 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_