summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/policy/BUILD.gn
blob: ebc82e75d49417f456d621052d601be9fcdab395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2014 The Chromium Authors. All rights reserved.
# 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")

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:generated",
  ]

  if (is_win) {
    deps += [ "//chrome/install_static:install_static_util" ]

    libs = [ "wtsapi32.lib" ]
  }

  if (is_mac) {
    deps += [ "//build:branding_buildflags" ]
  }
}