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

Side by Side Diff: components/nacl/common/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
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/features.gni") 5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 if (enable_nacl) { 8 if (enable_nacl) {
9 # This is separate so it can be used by ../broker:nacl64. 9 # This is separate so it can be used by ../broker:nacl64.
10 static_library("minimal") { 10 static_library("minimal") {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 source_set("nacl_error_code") { 108 source_set("nacl_error_code") {
109 sources = [ 109 sources = [
110 "//native_client/src/trusted/service_runtime/nacl_error_code.h", 110 "//native_client/src/trusted/service_runtime/nacl_error_code.h",
111 ] 111 ]
112 } 112 }
113 113
114 mojom("mojo_bindings") { 114 mojom("mojo_bindings") {
115 sources = [ 115 sources = [
116 "nacl.mojom", 116 "nacl.mojom",
117 ] 117 ]
118
119 use_once_callback = true
120 } 118 }
121 } 119 }
122 120
123 # Depending on this allows targets to unconditionally include 121 # Depending on this allows targets to unconditionally include
124 # nacl_process_type.h without testing whether nacl is enabled. 122 # nacl_process_type.h without testing whether nacl is enabled.
125 source_set("process_type") { 123 source_set("process_type") {
126 public = [ 124 public = [
127 "nacl_process_type.h", 125 "nacl_process_type.h",
128 ] 126 ]
129 127
130 deps = [ 128 deps = [
131 "//content/public/common", 129 "//content/public/common",
132 ] 130 ]
133 } 131 }
134 132
135 static_library("switches") { 133 static_library("switches") {
136 sources = [ 134 sources = [
137 "nacl_switches.cc", 135 "nacl_switches.cc",
138 "nacl_switches.h", 136 "nacl_switches.h",
139 ] 137 ]
140 } 138 }
OLDNEW
« no previous file with comments | « components/metrics/public/interfaces/BUILD.gn ('k') | components/password_manager/content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698