Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4194)

Unified Diff: chrome_elf/chrome_elf.gypi

Issue 53793002: Initial implementation of Chrome Early Loading Framework (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Generate manifest via gyp Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)'
+ },
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698