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

Side by Side 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: address comments from previous patch 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 unified diff | Download patch
« no previous file with comments | « examples/BUILD.gn ('k') | examples/serialization/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be found
3 # in the LICENSE file.
4
5 import("//mojo/public/tools/bindings/mojom.gni")
6
7 group("serialization") {
8 deps = [
9 ":serialization_example",
10 ]
11 }
12
13 executable("serialization_example") {
14 sources = [
15 "main.cc",
16 ]
17
18 deps = [
19 ":serialization_mojom_data_only",
20
21 # This is needed for ASAN builds.
22 "//build/config/sanitizers:deps",
23
24 # This provides an |Environment| implementation needed for the
25 # |:serialization_mojom_data_only| dep above.
26 "//mojo/public/cpp/environment:logging_only",
27 ]
28 }
29
30 # This template generates a |serialization_mojom_data_only| target which
31 # provides C++ serialization bindings for this mojom without bringing in the
32 # mojo system.
33 mojom("serialization_mojom") {
34 sources = [
35 "serialization.mojom",
36 ]
37 }
OLDNEW
« no previous file with comments | « examples/BUILD.gn ('k') | examples/serialization/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698