summaryrefslogtreecommitdiffstats
path: root/google_update
diff options
context:
space:
mode:
authorvchigrin <vchigrin@yandex-team.ru>2015-01-14 13:39:51 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-14 21:40:33 +0000
commitae7a0aef128043e8d51810e5dabc43c1b167bada (patch)
treec9123eed87a672f3b4028701fab78b33d7a12d50 /google_update
parent4b5c28e2f3e3400b5e91129704368845688d40fe (diff)
downloadchromium_src-ae7a0aef128043e8d51810e5dabc43c1b167bada.zip
chromium_src-ae7a0aef128043e8d51810e5dabc43c1b167bada.tar.gz
chromium_src-ae7a0aef128043e8d51810e5dabc43c1b167bada.tar.bz2
Add GN files for google_update target.
Review URL: https://codereview.chromium.org/853643004 Cr-Commit-Position: refs/heads/master@{#311547}
Diffstat (limited to 'google_update')
-rw-r--r--google_update/BUILD.gn30
1 files changed, 30 insertions, 0 deletions
diff --git a/google_update/BUILD.gn b/google_update/BUILD.gn
new file mode 100644
index 0000000..5d57f60
--- /dev/null
+++ b/google_update/BUILD.gn
@@ -0,0 +1,30 @@
+# 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") {
+ # Chromium uses include paths like "google_update/google_update_idl.h",
+ # so add root_gen_dir, rather then target_gen_dir to include dirs.
+ include_dirs = [ "$root_gen_dir" ]
+}
+
+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",
+ ]
+}