зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1735397 - Add mozilla/BaseAndGeckoProfilerDetail.h header for shared profiler-only things - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D135852
This commit is contained in:
Родитель
ed1c30cfbf
Коммит
3ea972bdd8
|
@ -0,0 +1,13 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* 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/. */
|
||||
|
||||
#include "mozilla/BaseAndGeckoProfilerDetail.h"
|
||||
|
||||
namespace mozilla::profiler::detail {
|
||||
|
||||
; // TODO Add code here.
|
||||
|
||||
} // namespace mozilla::profiler::detail
|
|
@ -80,6 +80,7 @@ EXPORTS += [
|
|||
]
|
||||
|
||||
EXPORTS.mozilla += [
|
||||
"public/BaseAndGeckoProfilerDetail.h",
|
||||
"public/BaseProfileJSONWriter.h",
|
||||
"public/BaseProfilerCounts.h",
|
||||
"public/BaseProfilerDetail.h",
|
||||
|
@ -108,6 +109,7 @@ EXPORTS.mozilla += [
|
|||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"core/BaseAndGeckoProfilerDetail.cpp",
|
||||
"core/ProfilerUtils.cpp",
|
||||
]
|
||||
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* 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/. */
|
||||
|
||||
// Internal Base and Gecko Profiler utilities.
|
||||
// It should declare or define things that are used in both profilers, but not
|
||||
// needed outside of the profilers.
|
||||
// In particular, it is *not* included in popular headers like BaseProfiler.h
|
||||
// and GeckoProfiler.h, to avoid rebuilding the world when this is modified.
|
||||
|
||||
#ifndef BaseAndGeckoProfilerDetail_h
|
||||
#define BaseAndGeckoProfilerDetail_h
|
||||
|
||||
namespace mozilla::profiler::detail {
|
||||
|
||||
; // TODO Add APIs here.
|
||||
|
||||
} // namespace mozilla::profiler::detail
|
||||
|
||||
#endif // BaseAndGeckoProfilerDetail_h
|
Загрузка…
Ссылка в новой задаче