Chromium Code Reviews| Index: common/battor/battor/battor_wrapper.py |
| diff --git a/common/battor/battor/battor_wrapper.py b/common/battor/battor/battor_wrapper.py |
| index be2359706a4b096fab12aee93c829008e23ceda0..b6ba4131acd373bb5c1a0a92eb489f49cabe70cd 100644 |
| --- a/common/battor/battor/battor_wrapper.py |
| +++ b/common/battor/battor/battor_wrapper.py |
| @@ -119,8 +119,7 @@ class BattOrWrapper(object): |
| self._dm = dependency_manager.DependencyManager( |
| [dependency_manager.BaseConfig(config)]) |
| self._battor_agent_binary = self._dm.FetchPath( |
| - 'battor_agent_binary', '%s_%s' % (sys.platform, platform.machine())) |
| - |
| + 'battor_agent_binary', '%s_%s' % (target_platform, platform.machine())) |
|
nednguyen
2017/01/05 21:15:15
As said offline, this is a problem. We are using t
|
| self._autoflash = autoflash |
| self._serial_log_bucket = serial_log_bucket |
| self._tracing = False |
| @@ -381,7 +380,7 @@ class BattOrWrapper(object): |
| return False |
| avrdude_binary = self._dm.FetchPath( |
| - 'avrdude_binary', '%s_%s' % (sys.platform, platform.machine())) |
| + 'avrdude_binary', '%s_%s' % (self._target_platform, platform.machine())) |
| avr_cmd = [ |
| avrdude_binary, |
| '-e', # Specify to erase data on chip. |