Chromium Code Reviews| Index: chrome_elf/chrome_elf.gypi |
| diff --git a/chrome_elf/chrome_elf.gypi b/chrome_elf/chrome_elf.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..81d98e7e20d4369cb83cdf6807d406b28e4dbf77 |
| --- /dev/null |
| +++ b/chrome_elf/chrome_elf.gypi |
| @@ -0,0 +1,68 @@ |
| +{ |
|
grt (UTC plus 2)
2013/11/06 19:07:29
now that chrome_elf is its own top-level dir, i th
grt (UTC plus 2)
2013/11/06 19:07:29
# Copyright 2013 The Chromium Authors. All rights
Cait (Slow)
2013/11/06 21:18:06
Done.
Cait (Slow)
2013/11/06 21:18:06
Done.
|
| + |
|
grt (UTC plus 2)
2013/11/06 19:07:29
remove spurious blank line
Cait (Slow)
2013/11/06 21:18:06
Done.
|
| + 'includes': [ |
| + '../chrome/version.gypi', |
| + ], |
| + 'targets': [ |
| + { |
| + 'target_name': 'chrome_elf', |
| + 'type': 'shared_library', |
| + 'include_dirs': [ |
| + '..', |
| + ], |
| + 'sources': [ |
| + 'chrome_elf.def', |
| + 'chrome_elf_main.cc', |
| + 'chrome_elf_main.h', |
| + ], |
| + 'actions' : [ |
| + { # Construct a manifest file declaring chrome.exe's dependency on |
| + # chrome_elf.dll. This will be embedded in chrome.exe when it is |
| + # built. |
|
gab
2013/11/06 16:07:25
s/This will be embedded in chrome.exe when it is b
Cait (Slow)
2013/11/06 21:18:06
Done.
|
| + 'action_name': 'chrome_exe_manifest', |
| + 'variables': { |
| + 'template_input_path': |
| + 'chrome_exe_manifest.template', |
| + }, |
| + 'inputs': [ |
| + '<(template_input_path)', |
| + '<(version_path)', |
| + ], |
| + 'outputs': [ |
| + '<(SHARED_INTERMEDIATE_DIR)/chrome_elf/version_assembly.manifest', |
| + ], |
| + 'action': [ |
| + 'python', '<(version_py_path)', |
| + '-f', '<(version_path)', |
| + '<(template_input_path)', |
| + '<@(_outputs)', |
| + ], |
| + 'message': 'Generating <@(_outputs)' |
| + }, |
| + { # Construct a manifest file (with the same name as the version_dir) so |
| + # that chrome.exe identifies the version_dir as an assembly. This will |
| + # be copied over to the version_dir by the installer script. |
| + 'action_name': 'version_assembly_manifest', |
| + 'variables': { |
| + 'template_input_path': |
| + 'version_assembly_manifest.template', |
| + }, |
| + 'inputs': [ |
| + '<(template_input_path)', |
| + '<(version_path)', |
|
gab
2013/11/06 16:07:25
Should <(version_full) be an input here? What abou
Cait (Slow)
2013/11/06 21:18:06
For reference: https://code.google.com/p/chromium/
|
| + ], |
| + 'outputs': [ |
| + '<(PRODUCT_DIR)/<(version_full).manifest', |
| + ], |
| + 'action': [ |
| + 'python', '<(version_py_path)', |
| + '-f', '<(version_path)', |
| + '<(template_input_path)', |
| + '<@(_outputs)', |
| + ], |
| + 'message': 'Generating <@(_outputs)' |
| + }, |
| + ], |
| + }, |
| + ], |
| +} |