File tree Expand file tree Collapse file tree 6 files changed +13
-9
lines changed Expand file tree Collapse file tree 6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ For both there are 2 suits: One for (legacy) DDC and one for DDC with kernel (DD
7
7
8
8
Running the tests likely requires the compilation of the correct targets. DDK currently also
9
9
requires ` ddc_sdk.dill ` inside
10
- ` {sdkroot}/{out,xcodebuild}/ReleaseX64/gen/utils/dartdevc/kernel/ ddc_sdk.dill ` .
10
+ ` {sdkroot}/{out,xcodebuild}/ReleaseX64/ddc_sdk.dill ` .
11
11
12
12
Except for that, running them should simply be a matter of executing the ` *_suite.dart ` files.
13
13
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class DevCompilerRunner implements CompilerRunner {
56
56
File sdkJsFile = findInOutDir ("gen/utils/dartdevc/js/es6/dart_sdk.js" );
57
57
var jsSdkPath = sdkJsFile.uri;
58
58
59
- File ddcSdkSummary = findInOutDir ("gen/utils/dartdevc/kernel/ ddc_sdk.dill" );
59
+ File ddcSdkSummary = findInOutDir ("ddc_sdk.dill" );
60
60
61
61
List <String > args = < String > [
62
62
"--packages=${sdkRoot .uri .resolve (".packages" ).toFilePath ()}" ,
Original file line number Diff line number Diff line change 51
51
fi
52
52
fi
53
53
54
- GEN_DIR=" $OUT_DIR " /" $DART_CONFIGURATION " /gen/utils/dartdevc
54
+ ROOT_OUT_DIR=" $OUT_DIR " /" $DART_CONFIGURATION "
55
+ GEN_DIR=" $ROOT_OUT_DIR " /gen/utils/dartdevc
55
56
56
57
KERNEL=false
57
58
if [ " $1 " = " -k" ]; then
@@ -64,7 +65,7 @@ LIBROOT=$(cd $( dirname "${1%.*}") && pwd)
64
65
65
66
if [ " $KERNEL " = true ]; then
66
67
67
- if [ ! -e $GEN_DIR /kernel /ddc_sdk.dill ]; then
68
+ if [ ! -e $ROOT_OUT_DIR /ddc_sdk.dill ]; then
68
69
echo " DDC SDK must be built first, please run:"
69
70
echo " pushd $SDKDIR "
70
71
echo " ./tools/build.py -m release dartdevc_kernel_sdk"
@@ -74,7 +75,7 @@ if [ "$KERNEL" = true ]; then
74
75
NODE_PATH=$GEN_DIR /kernel/common:$LIBROOT :$NODE_PATH
75
76
76
77
$SDK_DIR /sdk/bin/dartdevc --kernel --modules=node \
77
- --dart-sdk-summary=$GEN_DIR /ddc_sdk.sum \
78
+ --dart-sdk-summary=$ROOT_OUT_DIR /ddc_sdk.dill \
78
79
-o $LIBROOT /$BASENAME .js $*
79
80
else
80
81
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ copy("copy_dev_compiler_summary") {
697
697
sources = [
698
698
# TODO(vsm ): Remove post CFE.
699
699
" $gen_dir /ddc_sdk.sum" ,
700
- " $gen_dir /kernel /ddc_sdk.dill" ,
700
+ " $root_out_dir /ddc_sdk.dill" ,
701
701
]
702
702
outputs = [
703
703
" $root_out_dir /dart-sdk/lib/_internal/{{source_file_part}}" ,
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ copy("copy_dev_compiler_summary") {
697
697
sources = [
698
698
# TODO(vsm ): Remove post CFE.
699
699
" $gen_dir /ddc_sdk.sum" ,
700
- " $gen_dir /kernel /ddc_sdk.dill" ,
700
+ " $root_out_dir /ddc_sdk.dill" ,
701
701
]
702
702
outputs = [
703
703
" $root_out_dir /dart-sdk/lib/_internal/{{source_file_part}}" ,
Original file line number Diff line number Diff line change @@ -10,8 +10,11 @@ import("../create_timestamp.gni")
10
10
11
11
patched_sdk_dir = " $target_gen_dir /patched_sdk"
12
12
sdk_summary = " $target_gen_dir /ddc_sdk.sum"
13
- sdk_outline_dill = " $target_gen_dir /kernel/ddc_sdk.dill"
14
- sdk_full_dill = " $target_gen_dir /kernel/ddc_sdk_full.dill"
13
+
14
+ # TODO(sigmund ): rename to ddc_outline.dill to be consistent with the naming
15
+ # convention from other tools.
16
+ sdk_outline_dill = " $root_out_dir /ddc_sdk.dill"
17
+ sdk_full_dill = " $root_out_dir /ddc_platform.dill"
15
18
16
19
if (use_nnbd ) {
17
20
libraries_specification_path = " sdk_nnbd/lib/libraries.json"
You can’t perform that action at this time.
0 commit comments