| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |