Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'includes': [ | 6 'includes': [ |
| 7 'tools/gyp/runtime-configurations.gypi', | 7 'tools/gyp/runtime-configurations.gypi', |
| 8 'vm/vm.gypi', | 8 'vm/vm.gypi', |
| 9 'bin/bin.gypi', | 9 'bin/bin.gypi', |
| 10 'third_party/double-conversion/src/double-conversion.gypi', | 10 'third_party/double-conversion/src/double-conversion.gypi', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 ], | 43 ], |
| 44 'direct_dependent_settings': { | 44 'direct_dependent_settings': { |
| 45 'include_dirs': [ | 45 'include_dirs': [ |
| 46 'include', | 46 'include', |
| 47 ], | 47 ], |
| 48 }, | 48 }, |
| 49 }, | 49 }, |
| 50 { | 50 { |
| 51 'target_name': 'generate_version_cc_file', | 51 'target_name': 'generate_version_cc_file', |
| 52 'type': 'none', | 52 'type': 'none', |
| 53 # The dependencies here are the union of the dependencies of libdart and | 53 'dependencies': [ |
| 54 # libdart_withcore. The produced libraries need to be listed individually | 54 'libdart_dependency_helper', |
| 55 # as inputs, otherwise the action will not be run when one of the | 55 ], |
| 56 # libraries is rebuilt. | 56 'actions': [ |
| 57 #'dependencies': [ | |
| 58 # 'libdart_lib_withcore', | |
| 59 # 'libdart_lib', | |
| 60 # 'libdart_vm', | |
| 61 # 'libjscre', | |
| 62 # 'libdouble_conversion', | |
| 63 #], | |
| 64 'actions': [ | |
| 65 { | 57 { |
| 66 'action_name': 'generate_version_cc', | 58 'action_name': 'generate_version_cc', |
| 67 'inputs': [ | 59 'inputs': [ |
| 68 'tools/make_version.py', | 60 'tools/make_version.py', |
| 69 '../tools/VERSION', | 61 '../tools/VERSION', |
| 70 '<(version_in_cc_file)', | 62 '<(version_in_cc_file)', |
| 71 #'<(LIB_DIR)/<(STATIC_LIB_PREFIX)dart_lib_withcore<(STATIC_LIB_SUFFI X)', | 63 # We need to list the libdart_dependency_helper executable here othe rwise |
|
ahe
2012/12/04 15:33:58
Long line.
kustermann
2012/12/05 09:08:53
Done.
| |
| 72 #'<(LIB_DIR)/<(STATIC_LIB_PREFIX)dart_lib<(STATIC_LIB_SUFFIX)', | 64 # the action doesn't get executed if any of libdart/libdart_withcore |
|
ahe
2012/12/04 15:33:58
It is not only libdart/libdart_withcore.
Also, th
kustermann
2012/12/05 09:08:53
Done.
| |
| 73 #'<(LIB_DIR)/<(STATIC_LIB_PREFIX)dart_vm<(STATIC_LIB_SUFFIX)', | 65 # changes |
| 74 #'<(LIB_DIR)/<(STATIC_LIB_PREFIX)jscre<(STATIC_LIB_SUFFIX)', | 66 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper<(EXECU TABLE_SUFFIX)', |
| 75 #'<(LIB_DIR)/<(STATIC_LIB_PREFIX)double_conversion<(STATIC_LIB_SUFFI X)', | |
| 76 ], | 67 ], |
| 77 'outputs': [ | 68 'outputs': [ |
| 78 '<(version_cc_file)', | 69 '<(version_cc_file)', |
| 79 ], | 70 ], |
| 80 'action': [ | 71 'action': [ |
| 81 'python', | 72 'python', |
| 82 '-u', # Make standard I/O unbuffered. | 73 '-u', # Make standard I/O unbuffered. |
| 83 'tools/make_version.py', | 74 'tools/make_version.py', |
| 84 '--output', '<(version_cc_file)', | 75 '--output', '<(version_cc_file)', |
| 85 '--input', '<(version_in_cc_file)', | 76 '--input', '<(version_in_cc_file)', |
| 86 '--version', '../tools/VERSION', | 77 '--version', '../tools/VERSION', |
| 87 ], | 78 ], |
| 88 }, | 79 }, |
| 89 ], | 80 ], |
| 90 }, | 81 }, |
| 91 { | 82 { |
| 83 'target_name': 'libdart_dependency_helper', | |
| 84 'type': 'executable', | |
| 85 # The dependencies here are the union of the dependencies of libdart and | |
| 86 # libdart_withcore. | |
| 87 'dependencies': [ | |
| 88 'libdart_lib_withcore', | |
| 89 'libdart_lib', | |
| 90 'libdart_vm', | |
| 91 'libjscre', | |
| 92 'libdouble_conversion', | |
| 93 ], | |
| 94 'sources': [ | |
| 95 'vm/libdart_dependency_helper.cc', | |
| 96 ], | |
| 97 }, | |
| 98 { | |
| 92 'target_name': 'runtime_packages', | 99 'target_name': 'runtime_packages', |
| 93 'type': 'none', | 100 'type': 'none', |
| 94 'dependencies': [ | 101 'dependencies': [ |
| 95 '../pkg/pkg.gyp:pkg_packages', | 102 '../pkg/pkg.gyp:pkg_packages', |
| 96 ], | 103 ], |
| 97 }, | 104 }, |
| 98 ], | 105 ], |
| 99 } | 106 } |
| OLD | NEW |