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

Unified Diff: examples/serialization/BUILD.gn

Issue 1412733002: C++ bindings: separate out serialization source set, have "mojom" targets optionally use serializat… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: link sanitizer to examples/serialization (to fix the ASAN build failure) Created 5 years, 2 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: examples/serialization/BUILD.gn
diff --git a/examples/serialization/BUILD.gn b/examples/serialization/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..4072759635dc3d00df41dd47c7e20d3bec65fe8e
--- /dev/null
+++ b/examples/serialization/BUILD.gn
@@ -0,0 +1,29 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
viettrungluu 2015/10/20 23:54:36 2015
vardhan 2015/10/21 19:29:38 Done.
+# 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")
+
+group("serialization") {
+ deps = [
+ ":serialization_example",
+ ]
+}
+
+executable("serialization_example") {
+ sources = [
+ "main.cc",
+ ]
+
+ deps = [
+ ":serialization_mojom_dataonly",
+ "//build/config/sanitizers:deps",
+ "//mojo/public/cpp/environment:logging_only",
+ ]
+}
+
+mojom("serialization_mojom") {
+ sources = [
+ "serialization.mojom",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698