Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1865)

Unified Diff: chrome/browser/policy/BUILD.gn

Issue 1133853005: Fix path_parser dependency on policy component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change also corresponding GYP files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/BUILD.gn
diff --git a/chrome/browser/policy/BUILD.gn b/chrome/browser/policy/BUILD.gn
index e3b8e91cd656b260b78a1c56c80ae5cb81f6d33d..14267d3b0f28634acc23db03313a1289055084f0 100644
--- a/chrome/browser/policy/BUILD.gn
+++ b/chrome/browser/policy/BUILD.gn
@@ -2,17 +2,21 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("path_parser") {
- sources = [
- "policy_path_parser.h",
- "policy_path_parser_linux.cc",
- "policy_path_parser_mac.mm",
- "policy_path_parser_win.cc",
- ]
+import("//build/config/features.gni")
- deps = [
- "//base",
- "//chrome/common:constants",
- "//components/policy",
- ]
+if (enable_configuration_policy) {
brettw 2015/12/01 17:49:06 This if statement doesn't do anything. The only wa
Tomasz Moniuszko 2015/12/02 10:23:05 Done.
+ source_set("path_parser") {
+ sources = [
+ "policy_path_parser.h",
+ "policy_path_parser_linux.cc",
+ "policy_path_parser_mac.mm",
+ "policy_path_parser_win.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//chrome/common:constants",
+ "//components/policy",
+ ]
+ }
}
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698