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
77
88Running the tests likely requires the compilation of the correct targets. DDK currently also
99requires ` ddc_sdk.dill ` inside
10- ` {sdkroot}/{out,xcodebuild}/ReleaseX64/gen/utils/dartdevc/kernel/ ddc_sdk.dill ` .
10+ ` {sdkroot}/{out,xcodebuild}/ReleaseX64/ddc_sdk.dill ` .
1111
1212Except for that, running them should simply be a matter of executing the ` *_suite.dart ` files.
1313
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class DevCompilerRunner implements CompilerRunner {
5656 File sdkJsFile = findInOutDir ("gen/utils/dartdevc/js/es6/dart_sdk.js" );
5757 var jsSdkPath = sdkJsFile.uri;
5858
59- File ddcSdkSummary = findInOutDir ("gen/utils/dartdevc/kernel/ ddc_sdk.dill" );
59+ File ddcSdkSummary = findInOutDir ("ddc_sdk.dill" );
6060
6161 List <String > args = < String > [
6262 "--packages=${sdkRoot .uri .resolve (".packages" ).toFilePath ()}" ,
Original file line number Diff line number Diff line change 5151 fi
5252fi
5353
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
5556
5657KERNEL=false
5758if [ " $1 " = " -k" ]; then
@@ -64,7 +65,7 @@ LIBROOT=$(cd $( dirname "${1%.*}") && pwd)
6465
6566if [ " $KERNEL " = true ]; then
6667
67- if [ ! -e $GEN_DIR /kernel /ddc_sdk.dill ]; then
68+ if [ ! -e $ROOT_OUT_DIR /ddc_sdk.dill ]; then
6869 echo " DDC SDK must be built first, please run:"
6970 echo " pushd $SDKDIR "
7071 echo " ./tools/build.py -m release dartdevc_kernel_sdk"
@@ -74,7 +75,7 @@ if [ "$KERNEL" = true ]; then
7475 NODE_PATH=$GEN_DIR /kernel/common:$LIBROOT :$NODE_PATH
7576
7677 $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 \
7879 -o $LIBROOT /$BASENAME .js $*
7980else
8081
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ copy("copy_dev_compiler_summary") {
697697 sources = [
698698 # TODO(vsm ): Remove post CFE.
699699 " $gen_dir /ddc_sdk.sum" ,
700- " $gen_dir /kernel /ddc_sdk.dill" ,
700+ " $root_out_dir /ddc_sdk.dill" ,
701701 ]
702702 outputs = [
703703 " $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") {
697697 sources = [
698698 # TODO(vsm ): Remove post CFE.
699699 " $gen_dir /ddc_sdk.sum" ,
700- " $gen_dir /kernel /ddc_sdk.dill" ,
700+ " $root_out_dir /ddc_sdk.dill" ,
701701 ]
702702 outputs = [
703703 " $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")
1010
1111patched_sdk_dir = " $target_gen_dir /patched_sdk"
1212sdk_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"
1518
1619if (use_nnbd ) {
1720 libraries_specification_path = " sdk_nnbd/lib/libraries.json"
You can’t perform that action at this time.
0 commit comments