| OLD | NEW |
| 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/compiled_action.gni") | 5 import("../../build/compiled_action.gni") |
| 6 import("../application_snapshot.gni") | 6 import("../application_snapshot.gni") |
| 7 | 7 |
| 8 group("dartanalyzer") { | 8 group("dartanalyzer") { |
| 9 deps = [ | 9 deps = [ |
| 10 ":generate_dartanalyzer_snapshot", | 10 ":generate_dartanalyzer_snapshot", |
| 11 ":generate_summary_spec", | 11 ":generate_summary_spec", |
| 12 ":generate_summary_strong", | 12 ":generate_summary_strong", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 43 inputs = sdk_lib_files + analyzer_files | 43 inputs = sdk_lib_files + analyzer_files |
| 44 | 44 |
| 45 output = "$root_gen_dir/$type.sum" | 45 output = "$root_gen_dir/$type.sum" |
| 46 outputs = [ | 46 outputs = [ |
| 47 output, | 47 output, |
| 48 ] | 48 ] |
| 49 | 49 |
| 50 dot_packages = rebase_path("../../.packages") | 50 dot_packages = rebase_path("../../.packages") |
| 51 build_sdk_summaries = | 51 build_sdk_summaries = |
| 52 rebase_path("../../pkg/analyzer/tool/summary/build_sdk_summaries.dart") | 52 rebase_path("../../pkg/analyzer/tool/summary/build_sdk_summaries.dart") |
| 53 abs_output = rebase_path(output) | |
| 54 | 53 |
| 55 args = [ | 54 args = [ |
| 56 "--packages=$dot_packages", | 55 "--packages=$dot_packages", |
| 57 build_sdk_summaries, | 56 build_sdk_summaries, |
| 58 "build-$type", | 57 "build-$type", |
| 59 abs_output, | 58 rebase_path(output), |
| 60 rebase_path("../../sdk"), | 59 rebase_path("../../sdk"), |
| 61 ] | 60 ] |
| 62 } | 61 } |
| 63 } | 62 } |
| 64 | 63 |
| 65 generate_summary("generate_summary_spec") { | 64 generate_summary("generate_summary_spec") { |
| 66 type = "spec" | 65 type = "spec" |
| 67 } | 66 } |
| 68 | 67 |
| 69 generate_summary("generate_summary_strong") { | 68 generate_summary("generate_summary_strong") { |
| 70 type = "strong" | 69 type = "strong" |
| 71 } | 70 } |
| OLD | NEW |