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

Side by Side Diff: ui/gfx/geometry/mojo/BUILD.gn

Issue 2843353004: Enable use_once_callback on mojom GN rule by default (Closed)
Patch Set: rebase Created 3 years, 7 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 | « ui/events/mojo/BUILD.gn ('k') | ui/gfx/image/mojo/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 # This target does NOT depend on skia. One can depend on this target to avoid 7 # This target does NOT depend on skia. One can depend on this target to avoid
8 # picking up a dependency on skia. 8 # picking up a dependency on skia.
9 mojom("mojo") { 9 mojom("mojo") {
10 sources = [ 10 sources = [
11 "geometry.mojom", 11 "geometry.mojom",
12 ] 12 ]
13 } 13 }
14 14
15 mojom("test_interfaces") { 15 mojom("test_interfaces") {
16 sources = [ 16 sources = [
17 "geometry_traits_test_service.mojom", 17 "geometry_traits_test_service.mojom",
18 ] 18 ]
19 19
20 public_deps = [ 20 public_deps = [
21 ":mojo", 21 ":mojo",
22 ] 22 ]
23
24 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
25 use_once_callback = false
23 } 26 }
24 27
25 source_set("unit_test") { 28 source_set("unit_test") {
26 testonly = true 29 testonly = true
27 30
28 sources = [ 31 sources = [
29 "geometry_struct_traits_unittest.cc", 32 "geometry_struct_traits_unittest.cc",
30 ] 33 ]
31 34
32 deps = [ 35 deps = [
33 ":test_interfaces", 36 ":test_interfaces",
34 "//base", 37 "//base",
35 "//mojo/public/cpp/bindings", 38 "//mojo/public/cpp/bindings",
36 "//testing/gtest", 39 "//testing/gtest",
37 "//ui/gfx/geometry", 40 "//ui/gfx/geometry",
38 ] 41 ]
39 } 42 }
40 43
41 source_set("struct_traits") { 44 source_set("struct_traits") {
42 sources = [ 45 sources = [
43 "geometry_struct_traits.h", 46 "geometry_struct_traits.h",
44 ] 47 ]
45 public_deps = [ 48 public_deps = [
46 ":mojo_shared_cpp_sources", 49 ":mojo_shared_cpp_sources",
47 "//ui/gfx/geometry", 50 "//ui/gfx/geometry",
48 ] 51 ]
49 } 52 }
OLDNEW
« no previous file with comments | « ui/events/mojo/BUILD.gn ('k') | ui/gfx/image/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698