Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c3637a8

Browse files
committed
[rapidjson] Fix import statements
1 parent 10b4540 commit c3637a8

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ deps = {
135135
Var('fuchsia_git') + '/third_party/googletest' + '@' + '2072b0053d3537fa5e8d222e34c759987aae1320',
136136

137137
'src/third_party/rapidjson':
138-
Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '9defbb0209a534ffeb3a2b79d5ee440a77407292',
138+
Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '32d07c55db1bb6c2ae17cba4033491a667647753',
139139

140140
'src/third_party/harfbuzz':
141141
Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + 'd837034f09a957faf2814002e8ebd81da6151d1b',

lib/ui/plugins/callback_cache.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#include "flutter/fml/logging.h"
1010
#include "flutter/fml/paths.h"
1111
#include "flutter/lib/ui/plugins/callback_cache.h"
12-
#include "third_party/rapidjson/rapidjson/document.h"
13-
#include "third_party/rapidjson/rapidjson/stringbuffer.h"
14-
#include "third_party/rapidjson/rapidjson/writer.h"
12+
#include "rapidjson/document.h"
13+
#include "rapidjson/stringbuffer.h"
14+
#include "rapidjson/writer.h"
1515
#include "third_party/tonic/converter/dart_converter.h"
1616

1717
using rapidjson::Document;

lib/ui/text/font_collection.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#include "flutter/lib/ui/text/asset_manager_font_provider.h"
1010
#include "flutter/runtime/test_font_data.h"
11-
#include "third_party/rapidjson/rapidjson/document.h"
12-
#include "third_party/rapidjson/rapidjson/rapidjson.h"
11+
#include "rapidjson/document.h"
12+
#include "rapidjson/rapidjson.h"
1313
#include "third_party/skia/include/core/SkFontMgr.h"
1414
#include "third_party/skia/include/core/SkGraphics.h"
1515
#include "third_party/skia/include/core/SkStream.h"

runtime/BUILD.gn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,14 @@ source_set("runtime") {
9595
"$flutter_root/third_party/txt",
9696
"//third_party/dart/runtime:dart_api",
9797
"//third_party/dart/runtime/bin:dart_io_api",
98-
"//third_party/rapidjson",
9998
"//third_party/skia",
10099
"//third_party/tonic",
101100
]
102101

102+
public_deps = [
103+
"//third_party/rapidjson",
104+
]
105+
103106
public_configs = [ "$flutter_root:config" ]
104107

105108
if (flutter_runtime_mode != "release" &&

runtime/service_protocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "flutter/fml/string_view.h"
1616
#include "flutter/fml/synchronization/thread_annotations.h"
1717
#include "flutter/fml/task_runner.h"
18-
#include "third_party/rapidjson/rapidjson/document.h"
18+
#include "rapidjson/document.h"
1919

2020
namespace blink {
2121

shell/common/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ source_set("common") {
100100
"$flutter_root/runtime",
101101
"$flutter_root/synchronization",
102102
"//third_party/dart/runtime:dart_api",
103-
"//third_party/rapidjson",
104103
"//third_party/skia",
105104
"//third_party/skia:gpu",
106105
]
@@ -109,6 +108,7 @@ source_set("common") {
109108
"$flutter_root/shell/version",
110109
"$flutter_root/third_party/txt",
111110
"//third_party/tonic",
111+
"//third_party/rapidjson",
112112
]
113113

114114
public_configs = [ "$flutter_root:config" ]

shell/common/engine.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "flutter/shell/common/animator.h"
2020
#include "flutter/shell/common/platform_view.h"
2121
#include "flutter/shell/common/shell.h"
22-
#include "third_party/rapidjson/rapidjson/document.h"
22+
#include "rapidjson/document.h"
2323
#include "third_party/skia/include/core/SkCanvas.h"
2424
#include "third_party/skia/include/core/SkPictureRecorder.h"
2525

0 commit comments

Comments
 (0)