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

Unified Diff: components/policy/BUILD.gn

Issue 957283003: Add policy_templates target for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/policy/resources/policy_templates.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/BUILD.gn
diff --git a/components/policy/BUILD.gn b/components/policy/BUILD.gn
index c8266dea07a3f8582ad32ff99ac22f2b8ca198a4..0f258308a4aae17fc2372a60fb68f44964ea79e1 100644
--- a/components/policy/BUILD.gn
+++ b/components/policy/BUILD.gn
@@ -117,6 +117,26 @@ if (enable_configuration_policy) {
]
}
+ grit("policy_templates") {
+ import("resources/policy_templates.gni")
+ source = "resources/policy_templates.grd"
+ use_qualified_include = true
+ output_dir = "$root_gen_dir/chrome"
pneubeck (no reviews) 2015/03/03 17:32:03 if you set this, shouldn't all outputs be relative
knn 2015/03/03 19:22:41 The output_dir variable is used only for relative
+ outputs = doc_outputs
+ if (is_android) {
+ outputs += android_outputs
+ }
+ if (is_linux) {
+ outputs += linux_outputs
+ }
+ if (is_mac) {
+ outputs += mac_outputs
+ }
+ if (is_win) {
+ outputs += windows_outputs
+ }
+ }
+
proto_library("cloud_policy_proto_generated_compile") {
sources = [
cloud_policy_proto_path,
@@ -218,4 +238,4 @@ if (enable_configuration_policy) {
]
}
}
-#TODO(GYP) policy templates, chrome_manifest_bundle
+#TODO(GYP) chrome_manifest_bundle
« no previous file with comments | « no previous file | components/policy/resources/policy_templates.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698