blob: 5d57f607f02944000bed7fb27e758fea1dbb0b35 [file] [log] [blame]
vchigrinae7a0ae2015-01-14 21:39:511# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/toolchain/win/midl.gni")
6
7config("google_update_config") {
8 # Chromium uses include paths like "google_update/google_update_idl.h",
9 # so add root_gen_dir, rather then target_gen_dir to include dirs.
10 include_dirs = [ "$root_gen_dir" ]
11}
12
13midl("google_update_idl") {
14 sources = [
15 "google_update_idl.idl",
16 ]
17}
18
19static_library("google_update") {
20 sources = [
21 "$target_gen_dir/google_update_idl.h",
22 "$target_gen_dir/google_update_idl_i.c",
23 ]
24
25 public_configs = [ ":google_update_config" ]
26
27 deps = [
28 ":google_update_idl",
29 ]
30}