Chromium Code Reviews| Index: app/app.gyp |
| =================================================================== |
| --- app/app.gyp (revision 24686) |
| +++ app/app.gyp (working copy) |
| @@ -297,6 +297,51 @@ |
| 'dependencies': ['../build/win/system.gyp:cygwin'], |
| }], |
| ], |
| - }, |
| + }, |
| + { |
| + 'target_name': 'app_id', |
| + 'type': 'none', |
| + 'msvs_guid': '83100055-172B-49EA-B422-B1A92B627D37', |
| + 'conditions': [ |
| + ['OS=="win"', |
| + { |
| + 'actions': [ |
| + { |
| + 'action_name': 'appid', |
| + 'variables': { |
| + 'appid_py': '../chrome/tools/build/appid.py', |
| + }, |
| + 'conditions': [ |
| + [ 'branding=="Chrome"', { |
| + 'variables': { |
| + 'appid_value': '<(google_update_appid)', |
| + }, |
| + }, { # else |
| + 'variables': { |
| + 'appid_value': '', |
| + }, |
| + }], |
| + ], |
| + 'inputs': [ |
| + '<(appid_py)', |
| + ], |
| + 'outputs': [ |
| + '<(SHARED_INTERMEDIATE_DIR)/chrome/appid.h', |
| + 'tools/build/_always_run_appid_py.marker', |
|
sgk
2009/09/03 00:25:23
There's a problem here.
You're using a .marker fi
|
| + ], |
| + 'action': [ |
| + 'python', |
| + '<(appid_py)', |
| + '-a', '<(appid_value)', |
| + '-o', '<(SHARED_INTERMEDIATE_DIR)/chrome/appid.h', |
| + ], |
| + 'process_outputs_as_sources': 1, |
| + 'message': 'Generating appid information in <(SHARED_INTERMEDIATE_DIR)/chrome/appid.h' |
| + }, |
| + ], |
| + }, |
| + ], |
| + ], |
| + }, |
| ], |
| } |