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

Side by Side Diff: editor/analyzer.gyp

Issue 12335133: Create "binaries" for calling the new analyzer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/bin/analyzer » ('j') | sdk/bin/analyzer » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 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 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 { 5 {
6 'variables': { 6 'variables': {
7 'analyzer_name': 'new_analyzer', 7 'analyzer_name': 'new_analyzer',
8 # When changing the jar files that we depend on please change the list 8 # When changing the jar files that we depend on please change the list
9 # below. 9 # below.
10 'dependent_jar_files': [ 10 'dependent_jar_files': [
(...skipping 15 matching lines...) Expand all
26 # The file where we write the class path to be used in the manifest. 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', 27 'class_path_file': '<(PRODUCT_DIR)/<(analyzer_name)/classpath_file',
28 }, 28 },
29 'actions': [ 29 'actions': [
30 { 30 {
31 'action_name': 'create_analyzer', 31 'action_name': 'create_analyzer',
32 'inputs': [ 32 'inputs': [
33 '<@(java_source_files)', 33 '<@(java_source_files)',
34 '<@(dependent_jar_files)', 34 '<@(dependent_jar_files)',
35 'tools/compile_analyzer.py', 35 'tools/compile_analyzer.py',
36 '../sdk/bin/analyzer',
37 '../sdk/bin/analyzer.bat'
ahe 2013/03/12 15:47:04 I'm not sure you need these as dependencies anymor
ricow1 2013/03/12 18:08:40 removed
36 ], 38 ],
37 'outputs': [ 39 'outputs': [
38 '<(PRODUCT_DIR)/<(analyzer_name)/<(analyzer_name).jar', 40 '<(PRODUCT_DIR)/<(analyzer_name)/<(analyzer_name).jar',
39 ], 41 ],
40 'action': [ 42 'action': [
41 'python', 43 'python',
42 'tools/compile_analyzer.py', 44 'tools/compile_analyzer.py',
43 '--output_dir', '<(PRODUCT_DIR)/<(analyzer_name)/', 45 '--output_dir', '<(PRODUCT_DIR)/<(analyzer_name)/',
44 '--jar_file_name', '<(analyzer_name).jar', 46 '--jar_file_name', '<(analyzer_name).jar',
45 '--jar_entry_directory', 'com', 47 '--jar_entry_directory', 'com',
46 '--dependent_jar_files', '"<@(dependent_jar_files)"', 48 '--dependent_jar_files', '"<@(dependent_jar_files)"',
47 '--entry_point', 'com.google.dart.command.analyze.AnalyzerMain', 49 '--entry_point', 'com.google.dart.command.analyze.AnalyzerMain',
48 '--class_path_file', 'classpath_file', 50 '--class_path_file', 'classpath_file',
49 '<@(java_source_files)', 51 '<@(java_source_files)',
50 ], 52 ],
51 'message': 'Creating <(_outputs).', 53 'message': 'Creating <(_outputs).',
52 }, 54 },
53 ], 55 ],
54 }, 56 },
55 ] 57 ]
56 } 58 }
57 59
58 60
OLDNEW
« no previous file with comments | « no previous file | sdk/bin/analyzer » ('j') | sdk/bin/analyzer » ('J')

Powered by Google App Engine
This is Rietveld 408576698