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

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: remove unused --cpp_dataonly flag 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
OLDNEW
(Empty)
1 # Copyright 2014 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",
20 ]
21 }
22
23 mojom("serialization_mojom") {
24 sources = [
25 "serialization.mojom",
26 ]
27
28 # By providing the |dataonly| flag, you can prevent the generated mojom build
29 # target from referencing the mojo system primitives.
30 #
31 # This also means that we can't serialize mojom handle types.
32 dataonly = true
33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698