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

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

Issue 1030383003: Enable depend on stamp by default for all GN based grit targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « build/secondary/tools/grit/grit_rule.gni ('k') | 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/features.gni") 5 import("//build/config/features.gni")
6 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 if (is_component_build) { 9 if (is_component_build) {
10 component("policy_component") { 10 component("policy_component") {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 target_os, 102 target_os,
103 chromeos_flag, 103 chromeos_flag,
104 rebase_path("resources/policy_templates.json", root_build_dir), 104 rebase_path("resources/policy_templates.json", root_build_dir),
105 ] 105 ]
106 } 106 }
107 107
108 grit("policy_templates") { 108 grit("policy_templates") {
109 import("resources/policy_templates.gni") 109 import("resources/policy_templates.gni")
110 source = "resources/policy_templates.grd" 110 source = "resources/policy_templates.grd"
111 use_qualified_include = true 111 use_qualified_include = true
112 depend_on_stamp = true
113 output_dir = "$root_gen_dir/chrome" 112 output_dir = "$root_gen_dir/chrome"
114 outputs = policy_templates_doc_outputs 113 outputs = policy_templates_doc_outputs
115 if (is_android) { 114 if (is_android) {
116 outputs += policy_templates_android_outputs 115 outputs += policy_templates_android_outputs
117 } 116 }
118 if (is_linux) { 117 if (is_linux) {
119 outputs += policy_templates_linux_outputs 118 outputs += policy_templates_linux_outputs
120 } 119 }
121 if (is_mac) { 120 if (is_mac) {
122 outputs += policy_templates_mac_outputs 121 outputs += policy_templates_mac_outputs
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 deps = [ 230 deps = [
232 ":policy_component", 231 ":policy_component",
233 ":test_support", 232 ":test_support",
234 "//components/policy/proto", 233 "//components/policy/proto",
235 "//testing/gmock", 234 "//testing/gmock",
236 "//testing/gtest", 235 "//testing/gtest",
237 ] 236 ]
238 } 237 }
239 } 238 }
240 #TODO(GYP) chrome_manifest_bundle 239 #TODO(GYP) chrome_manifest_bundle
OLDNEW
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698