| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 131 } |
| 132 | 132 |
| 133 group("test_support") { | 133 group("test_support") { |
| 134 deps = [ | 134 deps = [ |
| 135 ":chrome_settings_proto_generated_compile", | 135 ":chrome_settings_proto_generated_compile", |
| 136 ":policy", | 136 ":policy", |
| 137 ] | 137 ] |
| 138 } | 138 } |
| 139 | 139 |
| 140 static_library("policy_component_test_support") { | 140 static_library("policy_component_test_support") { |
| 141 testonly = true |
| 141 sources = [ | 142 sources = [ |
| 142 "core/browser/configuration_policy_pref_store_test.cc", | 143 "core/browser/configuration_policy_pref_store_test.cc", |
| 143 "core/browser/configuration_policy_pref_store_test.h", | 144 "core/browser/configuration_policy_pref_store_test.h", |
| 144 "core/common/cloud/mock_cloud_external_data_manager.cc", | 145 "core/common/cloud/mock_cloud_external_data_manager.cc", |
| 145 "core/common/cloud/mock_cloud_external_data_manager.h", | 146 "core/common/cloud/mock_cloud_external_data_manager.h", |
| 146 "core/common/cloud/mock_cloud_policy_client.cc", | 147 "core/common/cloud/mock_cloud_policy_client.cc", |
| 147 "core/common/cloud/mock_cloud_policy_client.h", | 148 "core/common/cloud/mock_cloud_policy_client.h", |
| 148 "core/common/cloud/mock_cloud_policy_store.cc", | 149 "core/common/cloud/mock_cloud_policy_store.cc", |
| 149 "core/common/cloud/mock_cloud_policy_store.h", | 150 "core/common/cloud/mock_cloud_policy_store.h", |
| 150 "core/common/cloud/mock_device_management_service.cc", | 151 "core/common/cloud/mock_device_management_service.cc", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 176 ":policy_component", | 177 ":policy_component", |
| 177 ":test_support", | 178 ":test_support", |
| 178 "//components/policy/proto", | 179 "//components/policy/proto", |
| 179 "//testing/gmock", | 180 "//testing/gmock", |
| 180 "//testing/gtest", | 181 "//testing/gtest", |
| 181 ] | 182 ] |
| 182 } | 183 } |
| 183 } | 184 } |
| 184 | 185 |
| 185 #TODO(GYP) policy templates, chrome_manifest_bundle | 186 #TODO(GYP) policy templates, chrome_manifest_bundle |
| OLD | NEW |