| Index: components/policy/BUILD.gn
|
| diff --git a/components/policy/BUILD.gn b/components/policy/BUILD.gn
|
| index 31dc83ee4bd687dc70021bfd6058134450c02d24..e70110a53a4793bbe36e35c39f96c7f772427629 100644
|
| --- a/components/policy/BUILD.gn
|
| +++ b/components/policy/BUILD.gn
|
| @@ -117,6 +117,35 @@ if (enable_configuration_policy) {
|
| ]
|
| }
|
|
|
| + grit("policy_templates") {
|
| + import("resources/policy_templates.gni")
|
| + source = "resources/policy_templates.grd"
|
| + use_qualified_include = true
|
| + depend_on_stamp = true
|
| + output_dir = "$root_gen_dir/chrome"
|
| + outputs = policy_templates_doc_outputs
|
| + if (is_android) {
|
| + outputs += policy_templates_android_outputs
|
| + }
|
| + if (is_linux) {
|
| + outputs += policy_templates_linux_outputs
|
| + }
|
| + if (is_mac) {
|
| + outputs += policy_templates_mac_outputs
|
| +
|
| + # TODO(knn) : Move this out once more targets use this.
|
| + if (is_chrome_branded) {
|
| + mac_bundle_id = "com.google.Chrome"
|
| + } else {
|
| + mac_bundle_id = "org.chromium.Chromium"
|
| + }
|
| + defines = [ "mac_bundle_id=$mac_bundle_id" ]
|
| + }
|
| + if (is_win) {
|
| + outputs += policy_templates_windows_outputs
|
| + }
|
| + }
|
| +
|
| proto_library("cloud_policy_proto_generated_compile") {
|
| sources = [
|
| cloud_policy_proto_path,
|
| @@ -220,4 +249,4 @@ if (enable_configuration_policy) {
|
| ]
|
| }
|
| }
|
| -#TODO(GYP) policy templates, chrome_manifest_bundle
|
| +#TODO(GYP) chrome_manifest_bundle
|
|
|