Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(898)

Unified Diff: test/codegen_test.dart

Issue 1174643003: expose strong checker API, for use by analyzer_cli (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/checker/self_host_test.dart ('k') | test/dependency_graph_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_test.dart
diff --git a/test/codegen_test.dart b/test/codegen_test.dart
index 54c8852fc41a402667e4f548a237380932797773..e8dc5eb91a73cbbb1ee7159f132a7c1df3dc2505 100644
--- a/test/codegen_test.dart
+++ b/test/codegen_test.dart
@@ -62,13 +62,16 @@ main(arguments) {
// they're more self-contained.
var runtimeDir = path.join(path.dirname(testDirectory), 'lib', 'runtime');
var options = new CompilerOptions(
- outputDir: subDir == null ? actualDir : path.join(actualDir, subDir),
+ sourceOptions: new SourceResolverOptions(
+ entryPointFile: entryPoint, dartSdkPath: sdkPath),
+ codegenOptions: new CodegenOptions(
+ outputDir: subDir == null
+ ? actualDir
+ : path.join(actualDir, subDir),
+ emitSourceMaps: sourceMaps,
+ forceCompile: checkSdk),
useColors: false,
- emitSourceMaps: sourceMaps,
- forceCompile: checkSdk,
checkSdk: checkSdk,
- entryPointFile: entryPoint,
- dartSdkPath: sdkPath,
runtimeDir: runtimeDir,
serverMode: serverMode,
enableHashing: serverMode);
« no previous file with comments | « test/checker/self_host_test.dart ('k') | test/dependency_graph_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698