OLD | NEW |
---|---|
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 'script_suffix%': '', | 7 'script_suffix%': '', |
8 }, | 8 }, |
9 'conditions' : [ | 9 'conditions' : [ |
10 ['OS=="win"', { | 10 ['OS=="win"', { |
(...skipping 28 matching lines...) Expand all Loading... | |
39 '../../sdk/bin/dart2js.bat', | 39 '../../sdk/bin/dart2js.bat', |
40 ], | 40 ], |
41 'outputs': [ | 41 'outputs': [ |
42 '<(PRODUCT_DIR)/api_docs/index.html', | 42 '<(PRODUCT_DIR)/api_docs/index.html', |
43 '<(PRODUCT_DIR)/api_docs/client-static.js', | 43 '<(PRODUCT_DIR)/api_docs/client-static.js', |
44 ], | 44 ], |
45 'action': [ | 45 'action': [ |
46 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 46 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
47 'apidoc.dart', | 47 'apidoc.dart', |
48 '--out=<(PRODUCT_DIR)/api_docs', | 48 '--out=<(PRODUCT_DIR)/api_docs', |
49 '--version=<!@(["python", "../../tools/list_version.py"])', | |
ahe
2013/02/09 11:54:20
The value is captured when you run GYP, not when y
Jacob
2013/02/11 01:44:11
I think it should be fine for print_version.py to
ahe
2013/02/11 07:27:56
Correct. This is why we shouldn't list list_versio
| |
49 '--pkg=<(PRODUCT_DIR)/packages/', | 50 '--pkg=<(PRODUCT_DIR)/packages/', |
ahe
2013/02/09 11:54:20
I think I spotted a problem here. We are not listi
Jacob
2013/02/11 01:44:11
Interesting but unrelated to this cl. I'll follow
| |
50 '--mode=static', | 51 '--mode=static', |
51 '--exclude-lib=dartdoc', | 52 '--exclude-lib=dartdoc', |
52 '--exclude-lib=http', | 53 '--exclude-lib=http', |
53 '--exclude-lib=oauth2', | 54 '--exclude-lib=oauth2', |
54 '--exclude-lib=path', | 55 '--exclude-lib=path', |
55 '--exclude-lib=webdriver', | 56 '--exclude-lib=webdriver', |
56 '--exclude-lib=yaml', | 57 '--exclude-lib=yaml', |
57 '--include-lib=matcher', | 58 '--include-lib=matcher', |
58 '--include-lib=mock', | 59 '--include-lib=mock', |
59 ], | 60 ], |
60 'message': 'Running apidoc: <(_action)', | 61 'message': 'Running apidoc: <(_action)', |
61 }, | 62 }, |
62 ], | 63 ], |
63 } | 64 } |
64 ], | 65 ], |
65 } | 66 } |
OLD | NEW |