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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 action("cloud_policy_code_generate") { | 55 action("cloud_policy_code_generate") { |
56 script = "tools/generate_policy_source.py" | 56 script = "tools/generate_policy_source.py" |
57 | 57 |
58 if (is_chromeos) { | 58 if (is_chromeos) { |
59 chromeos_flag = "1" | 59 chromeos_flag = "1" |
60 } else { | 60 } else { |
61 chromeos_flag = "0" | 61 chromeos_flag = "0" |
62 } | 62 } |
63 | 63 |
64 source_prereqs = [ | 64 inputs = [ |
65 "resources/policy_templates.json", | 65 "resources/policy_templates.json", |
66 ] | 66 ] |
67 outputs = [ | 67 outputs = [ |
68 constants_header_path, | 68 constants_header_path, |
69 constants_source_path, | 69 constants_source_path, |
70 protobuf_decoder_path, | 70 protobuf_decoder_path, |
71 chrome_settings_proto_path, | 71 chrome_settings_proto_path, |
72 cloud_policy_proto_path, | 72 cloud_policy_proto_path, |
73 ] | 73 ] |
74 | 74 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 ":policy_component", | 178 ":policy_component", |
179 ":test_support", | 179 ":test_support", |
180 "//components/policy/proto", | 180 "//components/policy/proto", |
181 "//testing/gmock", | 181 "//testing/gmock", |
182 "//testing/gtest", | 182 "//testing/gtest", |
183 ] | 183 ] |
184 } | 184 } |
185 } | 185 } |
186 | 186 |
187 #TODO(GYP) policy templates, chrome_manifest_bundle | 187 #TODO(GYP) policy templates, chrome_manifest_bundle |
OLD | NEW |