OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'analyzer_name': 'new_analyzer', |
| 8 # When changing the jar files that we depend on please change the list |
| 9 # below. |
| 10 'dependent_jar_files': [ |
| 11 '../third_party/commons-lang/3.1/commons-lang3-3.1.jar', |
| 12 '../third_party/json/r2_20080312/json.jar', |
| 13 '../third_party/guava/r13/guava-13.0.1.jar', |
| 14 '../third_party/args4j/2.0.12/args4j-2.0.12.jar' |
| 15 ], |
| 16 }, |
| 17 'targets': [ |
| 18 { |
| 19 'target_name': 'analyzer', |
| 20 'type': 'none', |
| 21 'variables': { |
| 22 'java_source_files': [ |
| 23 '<!@(["python", "../tools/list_files.py", "\\.java$", "tools/plugins/c
om.google.dart.command.analyze"])', |
| 24 '<!@(["python", "../tools/list_files.py", "\\.java$", "tools/plugins/c
om.google.dart.engine"])', |
| 25 ], |
| 26 # The file where we write the class path to be used in the manifest. |
| 27 'class_path_file': '<(PRODUCT_DIR)/<(analyzer_name)/classpath_file', |
| 28 }, |
| 29 'actions': [ |
| 30 { |
| 31 'action_name': 'create_analyzer', |
| 32 'inputs': [ |
| 33 '<@(java_source_files)', |
| 34 '<@(dependent_jar_files)', |
| 35 'tools/compile_analyzer.py', |
| 36 ], |
| 37 'outputs': [ |
| 38 '<(PRODUCT_DIR)/<(analyzer_name)/<(analyzer_name).jar', |
| 39 ], |
| 40 'action': [ |
| 41 'python', |
| 42 'tools/compile_analyzer.py', |
| 43 '--output_dir', '<(PRODUCT_DIR)/<(analyzer_name)/', |
| 44 '--jar_file_name', '<(analyzer_name).jar', |
| 45 '--jar_entry_directory', 'com', |
| 46 '--dependent_jar_files', '"<@(dependent_jar_files)"', |
| 47 '--entry_point', 'com.google.dart.command.analyze.AnalyzerMain', |
| 48 '--class_path_file', 'classpath_file', |
| 49 '<@(java_source_files)', |
| 50 ], |
| 51 'message': 'Creating <(_outputs).', |
| 52 }, |
| 53 ], |
| 54 }, |
| 55 ] |
| 56 } |
| 57 |
| 58 |
OLD | NEW |