summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-components_policy_BUILD.gn
blob: c80acdcd7f760bcc3e355fd27402cc59adfebbf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- components/policy/BUILD.gn.orig	2017-06-05 19:03:06 UTC
+++ components/policy/BUILD.gn
@@ -16,6 +16,7 @@ assert(!is_ios, "Policy should not be referenced on iO
 gen_policy_templates_common = true
 gen_policy_templates_win = is_win
 gen_policy_templates_linux = is_linux
+gen_policy_templates_bsd = is_bsd
 gen_policy_templates_android = is_android
 gen_policy_templates_mac = is_mac
 
@@ -169,7 +170,7 @@ grit("grit_policy_templates") {
     outputs += policy_templates_android_outputs
     defines += [ "gen_policy_templates_android" ]
   }
-  if (gen_policy_templates_linux) {
+  if (gen_policy_templates_linux || gen_policy_templates_bsd) {
     outputs += policy_templates_linux_outputs
     defines += [ "gen_policy_templates_linux" ]
   }
OpenPOWER on IntegriCloud