fune/toolkit/library/gtest/rust/lib.rs
Jan-Erik Rediger 4a219f294b Bug 1695197 - Remove MOZ_GLEAN constant, introduce MOZ_GLEAN_ANDROID. r=chutten,emilio
We enable compilation of FOG/Glean on _all_ platforms.
We disable Glean initialization and metric recording on Android (GeckoView) by respecting MOZ_GLEAN_ANDROID.
This way GeckoView just works, consumers don't need to think about it (except in tests, these need to be disabled for Android builds).

Stubbing out the metric implementations will happen in the commits after
this one.

Differential Revision: https://phabricator.services.mozilla.com/D106766
2021-03-04 11:15:12 +00:00

14 lines
506 B
Rust

// 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/.
extern crate bench_collections_gtest;
extern crate fog_gtest;
#[cfg(feature = "libfuzzer")]
extern crate gecko_fuzz_targets;
extern crate gkrust_shared;
extern crate l10nregistry_ffi_gtest;
extern crate moz_task_gtest;
extern crate mp4parse_gtest;
extern crate nsstring_gtest;
extern crate xpcom_gtest;