Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: ppapi/lib/gl/gles2/BUILD.gn

Issue 921993002: Implement the rest of the PPAPI examples in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ppapi_examples
Patch Set: Fix GYP Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
]
}

Powered by Google App Engine
This is Rietveld 408576698