summaryrefslogtreecommitdiff
path: root/chromium/ppapi/features/BUILD.gn
blob: f2e3b50184377cbad4ca3d42c8a8a6e320e3fbbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2016 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.

import("//build/buildflag_header.gni")
import("//ppapi/features/features.gni")

# This file is in a separate directory so all targets in the build can refer to
# the buildflag header to get the necessary preprocessor defines without
# bringing in all of Pepper.

buildflag_header("features") {
  header = "features.h"
  flags = [
    "ENABLE_CDM_HOST_VERIFICATION=$enable_cdm_host_verification",
    "ENABLE_PEPPER_CDMS=$enable_pepper_cdms",
    "ENABLE_PLUGINS=$enable_plugins",
  ]
}