Index: components/metrics/public/cpp/BUILD.gn |
diff --git a/components/metrics/public/cpp/BUILD.gn b/components/metrics/public/cpp/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4764dce123a94b7de7d1be058d0e91b466c67e74 |
--- /dev/null |
+++ b/components/metrics/public/cpp/BUILD.gn |
@@ -0,0 +1,25 @@ |
+# Copyright 2016 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. |
+ |
+import("//mojo/public/tools/bindings/mojom.gni") |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "call_stack_profile_struct_traits_unittest.cc", |
+ ] |
+ |
+ # iOS is not supported by the profiler and the ios-simulator bot chokes on |
+ # this test. |
+ if (is_ios) { |
+ sources -= [ "call_stack_profile_struct_traits_unittest.cc" ] |
+ } |
+ |
+ deps = [ |
+ "//base", |
+ "//components/metrics/public/interfaces:mojo_test_bindings", |
+ "//mojo/public/cpp/bindings", |
+ "//testing/gtest", |
+ ] |
+} |