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

Unified Diff: tools/gn/secondary/third_party/jsoncpp/BUILD.gn

Issue 322373002: GN: Add BUILD.gn file to third_party/jsoncpp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/third_party/jsoncpp/BUILD.gn
diff --git a/tools/gn/secondary/third_party/jsoncpp/BUILD.gn b/tools/gn/secondary/third_party/jsoncpp/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..86ff2b8b0e24647f410dfa42391b551ed694fa34
--- /dev/null
+++ b/tools/gn/secondary/third_party/jsoncpp/BUILD.gn
@@ -0,0 +1,40 @@
+# 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.
+
+config("jsoncpp_config") {
+ include_dirs = [
+ "overrides/include",
+ "source/include",
+ ]
+}
+
+static_library("jsoncpp") {
tfarina 2014/06/11 16:28:41 is there a reason for using static_library? if not
kjellander_chromium 2014/06/11 16:49:56 No reason, just that it was static_library in the
+ configs += [ ":jsoncpp_config" ]
+ direct_dependent_configs = [ ":jsoncpp_config" ]
+
+ defines = [
tfarina 2014/06/11 16:28:41 please, refert to http://code.google.com/p/chromiu
kjellander_chromium 2014/06/11 16:49:56 Sorry about that, I'm new here ;)
+ "JSON_USE_EXCEPTION=0",
+ ]
+
+ include_dirs = [
+ "source/src/lib_json",
+ ]
+
+ sources = [
tfarina 2014/06/11 16:28:41 sources come before everything, move this at the t
kjellander_chromium 2014/06/11 16:49:56 Done.
+ "source/include/json/assertions.h",
+ "source/include/json/autolink.h",
+ "source/include/json/config.h",
+ "source/include/json/features.h",
+ "source/include/json/forwards.h",
+ "source/include/json/json.h",
+ "source/include/json/reader.h",
+ "overrides/include/json/value.h",
tfarina 2014/06/11 16:28:41 could you sort this list.
kjellander_chromium 2014/06/11 16:49:56 Done.
+ "source/include/json/writer.h",
+ "source/src/lib_json/json_batchallocator.h",
+ "overrides/src/lib_json/json_reader.cpp",
+ "source/src/lib_json/json_tool.h",
+ "overrides/src/lib_json/json_value.cpp",
+ "source/src/lib_json/json_writer.cpp",
+ ]
+}
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698