Index: mojo/public/cpp/utility/BUILD.gn |
diff --git a/mojo/public/cpp/utility/BUILD.gn b/mojo/public/cpp/utility/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3d50b6342c0147928da83d602ea97f340718bd3 |
--- /dev/null |
+++ b/mojo/public/cpp/utility/BUILD.gn |
@@ -0,0 +1,28 @@ |
+# Copyright 2014 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. |
+ |
+source_set("utility") { |
+ sources = [ |
+ "mutex.h", |
+ "run_loop.h", |
+ "run_loop_handler.h", |
+ "thread.h", |
+ "lib/mutex.cc", |
+ "lib/run_loop.cc", |
+ "lib/thread.cc", |
+ "lib/thread_local.h", |
+ "lib/thread_local_posix.cc", |
+ "lib/thread_local_win.cc", |
+ ] |
+ |
+ if (is_win) { |
+ # See crbug.com/342893: |
+ sources -= [ |
+ "mutex.h", |
+ "thread.h", |
+ "lib/mutex.cc", |
+ "lib/thread.cc", |
+ ] |
+ } |
+} |