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

Unified Diff: third_party/mesa/BUILD.gn

Issue 1423563007: third_party: Add wayland_drm_protocol target to third_party/mesa. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@libffi-arm
Patch Set: fix copy-n-paste mistake Created 5 years, 1 month 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
« no previous file with comments | « DEPS ('k') | third_party/mesa/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/BUILD.gn
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn
index 5ea0f305de7b4d2ae9cb585789fe3ffe0d3a4eac..73be8e665038686ab14cc3a31b43834cec4023ab 100644
--- a/third_party/mesa/BUILD.gn
+++ b/third_party/mesa/BUILD.gn
@@ -717,8 +717,8 @@ if (!is_android) { # TODO(GYP) enable for Android.
}
deps = [
- ":mesa_headers",
":mesa",
+ ":mesa_headers",
":mesa_libglslcommon",
"//build/config/sanitizers:deps",
]
@@ -736,4 +736,28 @@ if (!is_android) { # TODO(GYP) enable for Android.
group("osmesa") {
}
} # !is_android
+
# TODO(GYP) Android osmesa_in_lib_dir target.
+
+if (is_linux) {
+ config("wayland_drm_protocol_config") {
+ include_dirs = [ "$generated_src_dir/egl/wayland/wayland-drm" ]
+ }
+
+ source_set("wayland_drm_protocol") {
+ sources = [
+ "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-client-protocol.h",
+ "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-protocol.c",
+ "$generated_src_dir/egl/wayland/wayland-drm/wayland-drm-server-protocol.h",
+ ]
+
+ deps = [
+ "//third_party/wayland:wayland_util",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ public_configs = [ ":wayland_drm_protocol_config" ]
+ }
+}
« no previous file with comments | « DEPS ('k') | third_party/mesa/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698