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

Unified Diff: third_party/mojo/mojo_public.gyp

Issue 1380043002: Implement a simple ThreadChecker for Mojo and add to |internal::SharedData| and |internal::Router|. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add underspecified deps. Created 5 years, 3 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/mojo_public.gyp
diff --git a/third_party/mojo/mojo_public.gyp b/third_party/mojo/mojo_public.gyp
index 833776d0b8bf340f4fce7341f5d91a829f3eb07a..d7519df8a71ec20b1e92854da1f0f4bd81e181e4 100644
--- a/third_party/mojo/mojo_public.gyp
+++ b/third_party/mojo/mojo_public.gyp
@@ -150,6 +150,9 @@
'src/mojo/public/cpp/bindings/lib/shared_ptr.h',
'src/mojo/public/cpp/bindings/lib/string_serialization.h',
'src/mojo/public/cpp/bindings/lib/string_serialization.cc',
+ 'src/mojo/public/cpp/bindings/lib/thread_checker.h',
+ 'src/mojo/public/cpp/bindings/lib/thread_checker_posix.cc',
+ 'src/mojo/public/cpp/bindings/lib/thread_checker_posix.h',
'src/mojo/public/cpp/bindings/lib/validate_params.h',
'src/mojo/public/cpp/bindings/lib/validation_errors.cc',
'src/mojo/public/cpp/bindings/lib/validation_errors.h',
@@ -159,6 +162,14 @@
# This comes from the mojo_interface_bindings_cpp_sources dependency.
'>@(mojom_generated_sources)',
],
+ 'conditions': [
+ ['OS=="win"', {
+ 'sources!': [
yzshen1 2015/10/01 16:48:09 I thought files with platform suffix are filtered
Anand Mistry (off Chromium) 2015/10/01 23:16:52 Oops. Didn't realise that.
+ 'src/mojo/public/cpp/bindings/lib/thread_checker_posix.cc',
+ 'src/mojo/public/cpp/bindings/lib/thread_checker_posix.h',
+ ],
+ }],
+ ],
'dependencies': [
'mojo_interface_bindings_cpp_sources',
],

Powered by Google App Engine
This is Rietveld 408576698