Index: components/policy/proto/BUILD.gn |
diff --git a/components/policy/proto/BUILD.gn b/components/policy/proto/BUILD.gn |
index 3b6a7b26fa57d155e52f40eac65b23482cb82c0b..fdd4ad5aeba3b264839ccd7fef78762b0218d7fa 100644 |
--- a/components/policy/proto/BUILD.gn |
+++ b/components/policy/proto/BUILD.gn |
@@ -2,6 +2,7 @@ |
# 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") |
import("//third_party/protobuf/proto_library.gni") |
# The proto files need to be a component to avoid duplicate symbols the way the |
@@ -23,7 +24,7 @@ proto_library("proto_internal") { |
if (!is_android && !is_ios) { |
sources += [ "chrome_extension_policy.proto" ] |
} |
- if (is_chromeos) { |
+ if (use_cros_fe) { |
sources += [ "device_management_local.proto" ] |
} |