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

Unified Diff: mojo/public/c/gles2/BUILD.gn

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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: mojo/public/c/gles2/BUILD.gn
diff --git a/mojo/public/c/gles2/BUILD.gn b/mojo/public/c/gles2/BUILD.gn
index df0007b8b8098c0b2bb49dcaabb1e4a3a3dd2cf5..0a4d15156ba883d017660d4ca12d58acd9520544 100644
--- a/mojo/public/c/gles2/BUILD.gn
+++ b/mojo/public/c/gles2/BUILD.gn
@@ -2,11 +2,23 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("../../mojo_sdk.gni")
+
config("gles2_config") {
defines = [ "GLES2_USE_MOJO" ]
}
-source_set("gles2") {
+group("gles2") {
+ public_configs = [ "//third_party/khronos:khronos_headers" ]
+ public_deps = [
+ ":headers",
+ ]
+ deps = [
+ "../../platform/native:gles2_thunks",
+ ]
+}
+
+mojo_sdk_source_set("headers") {
sources = [
"gles2.h",
"gles2_export.h",
@@ -14,8 +26,8 @@ source_set("gles2") {
public_configs = [ ":gles2_config" ]
- public_deps = [
- "//mojo/public/c/environment",
- "//mojo/public/c/system",
+ mojo_sdk_public_deps = [
+ "mojo/public/c/environment",
+ "mojo/public/c/system",
]
}

Powered by Google App Engine
This is Rietveld 408576698