diff options
author | tmoniuszko <tmoniuszko@opera.com> | 2015-02-26 08:22:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-26 16:23:25 +0000 |
commit | fe85385d68ca39e48ee37dd7fe952c17b2440b6f (patch) | |
tree | 0484e35df92732743f9553b6eead92e1cdd449a5 /components/ownership | |
parent | 81a235afe26e84419592a922b81102f5eb4751a4 (diff) | |
download | chromium_src-fe85385d68ca39e48ee37dd7fe952c17b2440b6f.zip chromium_src-fe85385d68ca39e48ee37dd7fe952c17b2440b6f.tar.gz chromium_src-fe85385d68ca39e48ee37dd7fe952c17b2440b6f.tar.bz2 |
Fix dependencies on //components/policy in gn files
BUG=
Review URL: https://codereview.chromium.org/952163002
Cr-Commit-Position: refs/heads/master@{#318246}
Diffstat (limited to 'components/ownership')
-rw-r--r-- | components/ownership/BUILD.gn | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/components/ownership/BUILD.gn b/components/ownership/BUILD.gn index 5acce97..1bca927 100644 --- a/components/ownership/BUILD.gn +++ b/components/ownership/BUILD.gn @@ -2,6 +2,8 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("//build/config/features.gni") + component("ownership") { sources = [ "mock_owner_key_util.cc", @@ -19,11 +21,14 @@ component("ownership") { deps = [ "//base", "//components/keyed_service/core", - "//components/policy", "//components/policy/proto", "//components/policy:policy_component_common", "//crypto", ] + + if (enable_configuration_policy) { + deps += [ "//components/policy" ] + } } source_set("unit_tests") { |