Index: ppapi/features/BUILD.gn |
diff --git a/ppapi/features/BUILD.gn b/ppapi/features/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3917d1ee992a9d5ab7686d9a99d23e67de9b26b2 |
--- /dev/null |
+++ b/ppapi/features/BUILD.gn |
@@ -0,0 +1,15 @@ |
+# 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_PEPPER_CDMS=$enable_pepper_cdms" ] |
+} |