Chromium Code Reviews| Index: site_scons/site_tools/naclsdk.py |
| diff --git a/site_scons/site_tools/naclsdk.py b/site_scons/site_tools/naclsdk.py |
| index 4279b95d97e6fff1a86b310e7a95d1f95abed230..8871705664c67b88b517f443f259adb18e7b16e9 100755 |
| --- a/site_scons/site_tools/naclsdk.py |
| +++ b/site_scons/site_tools/naclsdk.py |
| @@ -678,6 +678,9 @@ def generate(env): |
| version = int(SCons.Script.ARGUMENTS['toolchain_feature_version']) |
| else: |
| version_file = os.path.join(root, 'FEATURE_VERSION') |
| + if not os.path.exists(version_file): |
|
jvoung (off chromium)
2014/06/18 18:54:11
Leave a comment about why you check the fallback?
|
| + version_file = os.path.join(os.path.dirname(root), 'pnacl_translator', |
| + 'FEATURE_VERSION') |
| if os.path.exists(version_file): |
| with open(version_file, 'r') as fh: |
| version = int(fh.read()) |