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

Side by Side Diff: ui/gfx/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/gfx/image/mojo/BUILD.gn ('k') | ui/gfx/range/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 mojom("mojo") { 7 mojom("mojo") {
8 sources = [ 8 sources = [
9 "accelerated_widget.mojom", 9 "accelerated_widget.mojom",
10 "buffer_types.mojom", 10 "buffer_types.mojom",
11 "color_space.mojom", 11 "color_space.mojom",
12 "icc_profile.mojom", 12 "icc_profile.mojom",
13 "selection_bound.mojom", 13 "selection_bound.mojom",
14 "transform.mojom", 14 "transform.mojom",
15 ] 15 ]
16 16
17 public_deps = [ 17 public_deps = [
18 "//ui/gfx/geometry/mojo", 18 "//ui/gfx/geometry/mojo",
19 ] 19 ]
20 } 20 }
21 21
22 mojom("test_interfaces") { 22 mojom("test_interfaces") {
23 sources = [ 23 sources = [
24 "traits_test_service.mojom", 24 "traits_test_service.mojom",
25 ] 25 ]
26 26
27 public_deps = [ 27 public_deps = [
28 ":mojo", 28 ":mojo",
29 ] 29 ]
30
31 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
32 use_once_callback = false
30 } 33 }
31 34
32 source_set("struct_traits") { 35 source_set("struct_traits") {
33 sources = [ 36 sources = [
34 "selection_bound_struct_traits.h", 37 "selection_bound_struct_traits.h",
35 "transform_struct_traits.h", 38 "transform_struct_traits.h",
36 ] 39 ]
37 public_deps = [ 40 public_deps = [
38 ":mojo_shared_cpp_sources", 41 ":mojo_shared_cpp_sources",
39 "//mojo/public/cpp/bindings", 42 "//mojo/public/cpp/bindings",
40 "//ui/gfx", 43 "//ui/gfx",
41 ] 44 ]
42 } 45 }
OLDNEW
« no previous file with comments | « ui/gfx/image/mojo/BUILD.gn ('k') | ui/gfx/range/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698