Index: mojo/public/c/test_support/BUILD.gn |
diff --git a/mojo/public/c/test_support/BUILD.gn b/mojo/public/c/test_support/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..42db434a8f4bbfcf1680675a4742082cf1843e13 |
--- /dev/null |
+++ b/mojo/public/c/test_support/BUILD.gn |
@@ -0,0 +1,24 @@ |
+# 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. |
+ |
+# GYP version: mojo/mojo_public_tests.gypi:mojo_test_support |
+shared_library("test_support") { |
+ output_name = "mojo_test_support" |
+ |
+ defines = [ "MOJO_TEST_SUPPORT_IMPLEMENTATION" ] |
+ |
+ sources = [ |
+ "test_support.h", |
+ "test_support_export.h", |
+ # TODO(vtl): Convert this to thunks http://crbug.com/386799 |
+ "../../tests/test_support_private.cc", |
+ "../../tests/test_support_private.h", |
+ ] |
+ |
+ if (is_mac) { |
+# TODO(GYP) |
+# # Make it a run-path dependent library. |
+# 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
+ } |
+} |