Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: third_party/iaccessible2/BUILD.gn

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/http_server/http_server.cc ('k') | third_party/iaccessible2/IAccessible2Proxy.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/iaccessible2/BUILD.gn
diff --git a/third_party/iaccessible2/BUILD.gn b/third_party/iaccessible2/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..56aba375d7a901fca16c992a1631cc57ac624519
--- /dev/null
+++ b/third_party/iaccessible2/BUILD.gn
@@ -0,0 +1,28 @@
+# 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.
+
+assert(is_win)
+
+import("//build/toolchain/win/midl.gni")
+
+midl("iaccessible2") {
+ sources = [
+ "ia2_api_all.idl",
+ ]
+}
+
+# Generate a proxy DLL from the generated code.
+shared_library("IAccessible2Proxy") {
+ sources = [
+ "IAccessible2Proxy.def",
+ "$target_gen_dir/ia2_api_all.dlldata.c",
+ "$target_gen_dir/ia2_api_all_p.c",
+ ]
+
+ defines = [ "REGISTER_PROXY_DLL" ]
+
+ libs = [ "rpcrt4.lib" ]
+
+ deps = [ ":iaccessible2" ]
+}
« no previous file with comments | « services/http_server/http_server.cc ('k') | third_party/iaccessible2/IAccessible2Proxy.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698