summaryrefslogtreecommitdiff
path: root/chromium/components/gcm_driver/config.gni
blob: a6515908422b9ba706c7137cc3564345c77a0e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright 2017 The Chromium Authors. All rights reserved.
# 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)