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

Side by Side Diff: components/policy/BUILD.gn

Issue 2359033002: Fix Windows linker warning in components/policy/generated.lib (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//components/policy/resources/policy_templates.gni") 7 import("//components/policy/resources/policy_templates.gni")
8 import("//third_party/protobuf/proto_library.gni") 8 import("//third_party/protobuf/proto_library.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 160
161 static_library("generated") { 161 static_library("generated") {
162 sources = [ 162 sources = [
163 constants_header_path, 163 constants_header_path,
164 constants_source_path, 164 constants_source_path,
165 protobuf_decoder_path, 165 protobuf_decoder_path,
166 risk_tag_header_path, 166 risk_tag_header_path,
167 ] 167 ]
168 168
169 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ]
169 public_deps = [ 170 public_deps = [
170 ":cloud_policy_code_generate", 171 ":cloud_policy_code_generate",
171 ":cloud_policy_proto_generated_compile", 172 ":cloud_policy_proto_generated_compile",
172 "//base", 173 "//base",
173 "//third_party/protobuf:protobuf_lite", 174 "//third_party/protobuf:protobuf_lite",
174 ] 175 ]
175 } 176 }
176 177
177 if (is_android) { 178 if (is_android) {
178 import("//build/config/android/rules.gni") 179 import("//build/config/android/rules.gni")
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 "--grit_info", 307 "--grit_info",
307 rebase_path(grit_info_script, root_build_dir), 308 rebase_path(grit_info_script, root_build_dir),
308 ] + grit_defines 309 ] + grit_defines
309 deps = [ 310 deps = [
310 ":add_version", 311 ":add_version",
311 ":policy_templates", 312 ":policy_templates",
312 ] 313 ]
313 } 314 }
314 } 315 }
315 } 316 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698