File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
record_use/test_data/drop_dylib_recording/hook Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ vars = {
137
137
"i18n_rev" : "de1943629469719bf34269bf90fcdbe9334a73f3" ,
138
138
"leak_tracker_rev" : "f5620600a5ce1c44f65ddaa02001e200b096e14c" , # rolled manually
139
139
"material_color_utilities_rev" : "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e" ,
140
- "native_rev" : "75f3408cd72c1e217f162fb5e43f4cdf1d34e71d " , # rolled manually while native assets are experimental
140
+ "native_rev" : "4928765d7681ad8a4211c5977afd2f93f50b3f65 " , # rolled manually while native assets are experimental
141
141
"protobuf_rev" : "1aaa332af75c61ff32739821f7ec52186ff18d4c" ,
142
142
"pub_rev" : "b2c03b448a47fdd52800609b9222cd737be3a934" , # rolled manually
143
143
"shelf_rev" : "082d3ac2d13a98700d8148e8fad8f3e12a6fd0e1" ,
Original file line number Diff line number Diff line change @@ -179,7 +179,10 @@ class BuildCommand extends DartdevCommand {
179
179
return 255 ;
180
180
}
181
181
182
- final allAssets = linkResult.encodedAssets;
182
+ final allAssets = [
183
+ ...buildResult.encodedAssets,
184
+ ...linkResult.encodedAssets
185
+ ];
183
186
184
187
final staticAssets = allAssets
185
188
.where ((e) => e.isCodeAsset)
Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ void main(List<String> arguments) async {
13
13
..onRecord.listen ((record) {
14
14
print ('${record .level .name }: ${record .time }: ${record .message }' );
15
15
});
16
- final linkInPackage =
17
- input.config.linkingEnabled ? input.packageName : null ;
16
+ final routing =
17
+ input.config.linkingEnabled
18
+ ? [ToLinkHook (input.packageName)]
19
+ : const [ToAppBundle ()];
18
20
await CBuilder .library (
19
21
name: 'add' ,
20
22
assetName: 'dylib_add' ,
@@ -26,7 +28,7 @@ void main(List<String> arguments) async {
26
28
input: input,
27
29
output: output,
28
30
logger: logger,
29
- linkInPackage : linkInPackage ,
31
+ routing : routing ,
30
32
);
31
33
32
34
await CBuilder .library (
@@ -40,7 +42,7 @@ void main(List<String> arguments) async {
40
42
input: input,
41
43
output: output,
42
44
logger: logger,
43
- linkInPackage : linkInPackage ,
45
+ routing : routing ,
44
46
);
45
47
});
46
48
}
You can’t perform that action at this time.
0 commit comments