Skip to content

Commit 5c5f432

Browse files
author
liuhuahang
committed
fix blade build for jsoncpp
N/A Change-Id: I381538a02cea1d556f58c63c78d016ab8e9ef1a4 Signed-off-by: liuhuahang <[email protected]>
1 parent cc1f661 commit 5c5f432

File tree

10 files changed

+19
-7
lines changed

10 files changed

+19
-7
lines changed

BUILD

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
# generated by genlibbuild
2-
31
cc_library(
4-
name = 'jsoncpp',
5-
srcs = [
6-
'jsoncpp.cpp',
7-
]
2+
name = 'jsoncpp',
3+
export_incs = './include',
4+
extra_cppflags = [
5+
'-Wno-float-equal',
6+
],
7+
srcs = [
8+
'src/lib_json/json_reader.cpp',
9+
'src/lib_json/json_value.cpp',
10+
'src/lib_json/json_writer.cpp',
11+
]
812
)
9-

include/jsoncpp/assertions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/assertions.h"

include/jsoncpp/autolink.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/autolink.h"

include/jsoncpp/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/config.h"

include/jsoncpp/features.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/features.h"

include/jsoncpp/forwards.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/forwards.h"

include/jsoncpp/json.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/json.h"

include/jsoncpp/reader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/reader.h"

include/jsoncpp/value.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/value.h"

include/jsoncpp/writer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "jsoncpp/include/json/writer.h"

0 commit comments

Comments
 (0)