blob: 4093dac5b375f6434f12e984edea9596138a789c [file] [log] [blame]
# 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" ]
if (is_chromeos || is_linux) {
sources += [ "policy_path_parser_linux.cc" ]
} else if (is_mac) {
sources += [ "policy_path_parser_mac.mm" ]
} else if (is_win) {
sources += [ "policy_path_parser_win.cc" ]
}
deps = [
"//base",
"//chrome/common:constants",
"//components/policy:generated",
]
if (is_mac) {
deps += [ "//build:branding_buildflags" ]
} else if (is_win) {
deps += [ "//chrome/install_static:install_static_util" ]
}
if (is_win) {
libs = [ "wtsapi32.lib" ]
}
}