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

Side by Side Diff: ui/gfx/image/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/geometry/mojo/BUILD.gn ('k') | ui/gfx/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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("interfaces") { 7 mojom("interfaces") {
8 sources = [ 8 sources = [
9 "image.mojom", 9 "image.mojom",
10 ] 10 ]
(...skipping 15 matching lines...) Expand all
26 # Using a test service because the traits need to pass handles around. Revisit 26 # Using a test service because the traits need to pass handles around. Revisit
27 # this after Deserialize(Serialize()) API works with handles. 27 # this after Deserialize(Serialize()) API works with handles.
28 mojom("test_interfaces") { 28 mojom("test_interfaces") {
29 sources = [ 29 sources = [
30 "image_traits_test_service.mojom", 30 "image_traits_test_service.mojom",
31 ] 31 ]
32 32
33 public_deps = [ 33 public_deps = [
34 ":interfaces", 34 ":interfaces",
35 ] 35 ]
36
37 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
38 use_once_callback = false
36 } 39 }
37 40
38 source_set("unit_test") { 41 source_set("unit_test") {
39 testonly = true 42 testonly = true
40 43
41 sources = [ 44 sources = [
42 "image_traits_unittest.cc", 45 "image_traits_unittest.cc",
43 ] 46 ]
44 47
45 deps = [ 48 deps = [
46 ":struct_traits", 49 ":struct_traits",
47 ":test_interfaces", 50 ":test_interfaces",
48 "//base", 51 "//base",
49 "//mojo/public/cpp/bindings", 52 "//mojo/public/cpp/bindings",
50 "//testing/gtest", 53 "//testing/gtest",
51 "//ui/gfx:test_support", 54 "//ui/gfx:test_support",
52 ] 55 ]
53 } 56 }
OLDNEW
« no previous file with comments | « ui/gfx/geometry/mojo/BUILD.gn ('k') | ui/gfx/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698