chromium/components/gcm_driver/config.gni

# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

declare_args() {
  # Use native GCM driver for all non-Android builds. On Android, the platform
  # includes GMS which provides the GCM client.
  use_gcm_from_platform = is_android
}

# Using the platform GCM is only supported on Android.
assert(!use_gcm_from_platform || is_android)