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

Unified Diff: third_party/mojo/src/mojo/edk/mojo_edk.gni

Issue 1296453004: Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick GL_APIENTRY addition back in Created 5 years, 4 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: third_party/mojo/src/mojo/edk/mojo_edk.gni
diff --git a/third_party/mojo/src/mojo/edk/mojo_edk.gni b/third_party/mojo/src/mojo/edk/mojo_edk.gni
index b90462de81bef8b875075de5bd5dc861eaadb9b0..21ad315a96af5baa5633da398007f87e850b57f9 100644
--- a/third_party/mojo/src/mojo/edk/mojo_edk.gni
+++ b/third_party/mojo/src/mojo/edk/mojo_edk.gni
@@ -95,3 +95,9 @@ template("mojo_edk_source_set") {
}
}
}
+
+# Build EDK things with static thread annotation analysis enabled.
+# TODO(vtl): Should we set this at a higher level?
+if (is_clang) {
+ cflags = [ "-Wthread-safety" ]
+}
« no previous file with comments | « third_party/mojo/src/mojo/edk/js/tests/js_to_cpp_tests.cc ('k') | third_party/mojo/src/mojo/edk/system/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698