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

Side by Side Diff: components/web_restrictions/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 | « components/translate/content/common/BUILD.gn ('k') | content/common/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 2015 The Chromium Authors. All rights reserved. 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 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("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 android_library("web_restrictions_java") { 10 android_library("web_restrictions_java") {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "//content/public/browser", 56 "//content/public/browser",
57 "//mojo/public/cpp/bindings:bindings", 57 "//mojo/public/cpp/bindings:bindings",
58 "//net:net", 58 "//net:net",
59 ] 59 ]
60 } 60 }
61 61
62 mojom("interfaces") { 62 mojom("interfaces") {
63 sources = [ 63 sources = [
64 "interfaces/web_restrictions.mojom", 64 "interfaces/web_restrictions.mojom",
65 ] 65 ]
66
67 use_once_callback = true
68 } 66 }
69 67
70 generate_jni("test_support_jni_headers") { 68 generate_jni("test_support_jni_headers") {
71 sources = [ 69 sources = [
72 "browser/javatest/src/org/chromium/components/webrestrictions/browser/Mock WebRestrictionsClient.java", 70 "browser/javatest/src/org/chromium/components/webrestrictions/browser/Mock WebRestrictionsClient.java",
73 ] 71 ]
74 jni_package = "web_restrictions" 72 jni_package = "web_restrictions"
75 deps = [ 73 deps = [
76 ":web_restrictions_java", 74 ":web_restrictions_java",
77 ] 75 ]
(...skipping 29 matching lines...) Expand all
107 ":test_support", 105 ":test_support",
108 "//base", 106 "//base",
109 "//base/test:test_support", 107 "//base/test:test_support",
110 "//content/test:test_support", 108 "//content/test:test_support",
111 "//net", 109 "//net",
112 "//testing/gtest", 110 "//testing/gtest",
113 "//url", 111 "//url",
114 ] 112 ]
115 } 113 }
116 } 114 }
OLDNEW
« no previous file with comments | « components/translate/content/common/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698