chromium/ppapi/buildflags/BUILD.gn

# Copyright 2016 The Chromium Authors
# 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/buildflags/buildflags.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("buildflags") {
  header = "buildflags.h"
  flags = [
    "ENABLE_PLUGINS=$enable_plugins",
    "ENABLE_PPAPI=$enable_ppapi",
  ]
}