Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 { | |
| 5 'variables': { | |
| 6 'chromium_code': 1, | |
| 7 }, | |
| 8 'includes': [ | |
| 9 '../build/win_precompile.gypi', | |
| 10 '../chrome/version.gypi', | |
| 11 ], | |
| 12 'targets': [ | |
| 13 { | |
| 14 'target_name': 'chrome_elf', | |
| 15 'type': 'shared_library', | |
| 16 'include_dirs': [ | |
| 17 '..', | |
| 18 ], | |
| 19 'sources': [ | |
| 20 'chrome_elf.def', | |
| 21 'chrome_elf_main.cc', | |
| 22 'chrome_elf_main.h', | |
| 23 ], | |
| 24 'actions' : [ | |
| 25 { # Construct a manifest file declaring chrome.exe's dependency on | |
|
grt (UTC plus 2)
2013/11/07 03:04:23
chrome_elf doesn't need these, does it? if i under
| |
| 26 # chrome_elf.dll. This will be merged into chrome.exe.manifest and | |
| 27 # embedded into chrome.exe when it is built. | |
| 28 'action_name': 'chrome_exe_manifest', | |
| 29 'variables': { | |
| 30 'template_input_path': | |
| 31 'chrome_exe_manifest.template', | |
| 32 }, | |
| 33 'inputs': [ | |
| 34 '<(template_input_path)', | |
| 35 '<(version_path)', | |
| 36 ], | |
| 37 'outputs': [ | |
| 38 '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/version_assembly.manifest', | |
| 39 ], | |
| 40 'action': [ | |
| 41 'python', '<(version_py_path)', | |
| 42 '-f', '<(version_path)', | |
| 43 '<(template_input_path)', | |
| 44 '<@(_outputs)', | |
| 45 ], | |
| 46 'message': 'Generating <@(_outputs)' | |
| 47 }, | |
| 48 { # Construct a manifest file (with the same name as the version_dir) so | |
| 49 # that chrome.exe identifies the version_dir as an assembly. This will | |
| 50 # be copied over to the version_dir by the installer script. | |
| 51 'action_name': 'version_assembly_manifest', | |
| 52 'variables': { | |
| 53 'template_input_path': | |
| 54 'version_assembly_manifest.template', | |
| 55 }, | |
| 56 'inputs': [ | |
| 57 '<(template_input_path)', | |
| 58 '<(version_path)', | |
| 59 ], | |
| 60 'outputs': [ | |
| 61 '<(PRODUCT_DIR)/<(version_full).manifest', | |
| 62 ], | |
| 63 'action': [ | |
| 64 'python', '<(version_py_path)', | |
| 65 '-f', '<(version_path)', | |
| 66 '<(template_input_path)', | |
| 67 '<@(_outputs)', | |
| 68 ], | |
| 69 'message': 'Generating <@(_outputs)' | |
| 70 }, | |
| 71 ], | |
| 72 }, | |
| 73 ], | |
| 74 } | |
| OLD | NEW |