Chromium Code Reviews| Index: google_update/BUILD.gn |
| diff --git a/google_update/BUILD.gn b/google_update/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2d5339841a2b201c30c091b8aef41f8e95779125 |
| --- /dev/null |
| +++ b/google_update/BUILD.gn |
| @@ -0,0 +1,28 @@ |
| +# Copyright 2015 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/toolchain/win/midl.gni") |
| + |
| +config("google_update_config") { |
| + include_dirs = [ "$root_gen_dir" ] |
|
Slava Chigrin
2015/01/14 19:08:17
Used root_gen_dir instead of target_gen_dir becaus
robertshield
2015/01/14 19:30:06
I don't really know how GN works, but if this is w
Slava Chigrin
2015/01/14 20:14:29
Done.
|
| +} |
| + |
| +midl("google_update_idl") { |
| + sources = [ |
| + "google_update_idl.idl", |
| + ] |
| +} |
| + |
| +static_library("google_update") { |
| + sources = [ |
| + "$target_gen_dir/google_update_idl.h", |
| + "$target_gen_dir/google_update_idl_i.c", |
| + ] |
| + |
| + public_configs = [ ":google_update_config" ] |
| + |
| + deps = [ |
| + ":google_update_idl", |
| + ] |
| +} |