Index: ppapi/lib/gl/gles2/BUILD.gn |
diff --git a/ppapi/lib/gl/gles2/BUILD.gn b/ppapi/lib/gl/gles2/BUILD.gn |
index 368defa7aef0e3e2be50afb3d0d492acf5a81f6f..81bdde4b389bdf05197031c4411a4d8d1d3a610e 100644 |
--- a/ppapi/lib/gl/gles2/BUILD.gn |
+++ b/ppapi/lib/gl/gles2/BUILD.gn |
@@ -1,6 +1,10 @@ |
# Copyright 2015 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. |
+# found in the LICENSE file. |
+ |
+config("gles2_config") { |
+ include_dirs = [ "//ppapi/lib/gl/include" ] |
+} |
source_set("gles2") { |
sources = [ |
@@ -9,9 +13,9 @@ source_set("gles2") { |
"gles2.c", |
] |
- include_dirs = [ "lib/gl/include" ] |
+ public_configs = [ ":gles2_config" ] |
- deps = [ |
+ public_deps = [ |
"//ppapi/c", |
] |
} |