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

Unified Diff: mojo/public/cpp/bindings/BUILD.gn

Issue 2358133002: Turn //mojo/public/cpp/bindings and //mojo/public/cpp/system into components (Closed)
Patch Set: Windows build, warning free Created 4 years, 3 months 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
Index: mojo/public/cpp/bindings/BUILD.gn
diff --git a/mojo/public/cpp/bindings/BUILD.gn b/mojo/public/cpp/bindings/BUILD.gn
index 9b9135003603a960fd35eff596cd0a632e74cd91..66a3729c96205b01c766d7c44cc7cb905d20703f 100644
--- a/mojo/public/cpp/bindings/BUILD.gn
+++ b/mojo/public/cpp/bindings/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("bindings") {
+component("bindings") {
sources = [
"array.h",
"array_data_view.h",
@@ -19,6 +19,7 @@ static_library("bindings") {
"associated_interface_request.h",
"binding.h",
"binding_set.h",
+ "bindings_export.h",
"connection_error_callback.h",
"connector.h",
"enum_traits.h",
@@ -140,6 +141,8 @@ static_library("bindings") {
"//base",
"//mojo/public/interfaces/bindings:bindings_cpp_sources",
]
+
+ defines = [ "MOJO_CPP_BINDINGS_IMPLEMENTATION" ]
dcheng 2016/09/21 23:21:03 Originally, I only componentized bindings, but it
}
source_set("struct_traits") {
« no previous file with comments | « no previous file | mojo/public/cpp/bindings/associated_group.h » ('j') | mojo/public/interfaces/bindings/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698