1 # 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.
5 import("//build/toolchain/win/midl.gni")
7 config("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" ]
13 midl("google_update_idl") {
15 "google_update_idl.idl",
19 static_library("google_update") {
21 "$target_gen_dir/google_update_idl.h",
22 "$target_gen_dir/google_update_idl_i.c",
25 public_configs = [ ":google_update_config" ]