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

Side by Side Diff: gin/gin.gyp

Issue 832393003: [gin] Fingerprint the V8 snapshot files on Windows and verify before loading the snapshot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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 unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'gin_gen_path': '<(SHARED_INTERMEDIATE_DIR)/gin/',
8 }, 9 },
9 'targets': [ 10 'targets': [
10 { 11 {
11 'target_name': 'gin', 12 'target_name': 'gin',
12 'type': '<(component)', 13 'type': '<(component)',
13 'dependencies': [ 14 'dependencies': [
14 '../base/base.gyp:base', 15 '../base/base.gyp:base',
15 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
16 '../v8/tools/gyp/v8.gyp:v8', 17 '../v8/tools/gyp/v8.gyp:v8',
17
18 ], 18 ],
19 'export_dependent_settings': [ 19 'export_dependent_settings': [
20 '../base/base.gyp:base', 20 '../base/base.gyp:base',
21 '../v8/tools/gyp/v8.gyp:v8', 21 '../v8/tools/gyp/v8.gyp:v8',
22 ], 22 ],
23 'defines': [ 23 'defines': [
24 'GIN_IMPLEMENTATION', 24 'GIN_IMPLEMENTATION',
25 ], 25 ],
26 'sources': [ 26 'sources': [
27 'arguments.cc', 27 'arguments.cc',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 'run_microtasks_observer.h', 71 'run_microtasks_observer.h',
72 'shell_runner.cc', 72 'shell_runner.cc',
73 'shell_runner.h', 73 'shell_runner.h',
74 'try_catch.cc', 74 'try_catch.cc',
75 'try_catch.h', 75 'try_catch.h',
76 'v8_platform.cc', 76 'v8_platform.cc',
77 'wrappable.cc', 77 'wrappable.cc',
78 'wrappable.h', 78 'wrappable.h',
79 'wrapper_info.cc', 79 'wrapper_info.cc',
80 ], 80 ],
81 'conditions': [
82 ['v8_use_external_startup_data==1', {
83 'dependencies': [
84 'gin_v8_snapshot_fingerprint',
85 '../crypto/crypto.gyp:crypto',
86 ],
87 'sources': [
88 '<(gin_gen_path)/v8_snapshot_fingerprint.cc',
89 ],
90 }],
91 ],
92 },
93 {
94 'target_name': 'gin_v8_snapshot_fingerprint',
95 'type': 'none',
96 'variables': {
97 'snapshot_file': '<(PRODUCT_DIR)/snapshot_blob.bin',
98 'natives_file': '<(PRODUCT_DIR)/natives_blob.bin',
99 'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc',
100 },
101 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ],
81 }, 102 },
82 { 103 {
83 'target_name': 'gin_shell', 104 'target_name': 'gin_shell',
84 'type': 'executable', 105 'type': 'executable',
85 'dependencies': [ 106 'dependencies': [
86 '../base/base.gyp:base', 107 '../base/base.gyp:base',
87 '../base/base.gyp:base_i18n', 108 '../base/base.gyp:base_i18n',
88 '../v8/tools/gyp/v8.gyp:v8', 109 '../v8/tools/gyp/v8.gyp:v8',
89 'gin', 110 'gin',
90 ], 111 ],
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 'per_context_data_unittest.cc', 159 'per_context_data_unittest.cc',
139 'shell_runner_unittest.cc', 160 'shell_runner_unittest.cc',
140 'shell/gin_shell_unittest.cc', 161 'shell/gin_shell_unittest.cc',
141 'test/run_all_unittests.cc', 162 'test/run_all_unittests.cc',
142 'test/run_js_tests.cc', 163 'test/run_js_tests.cc',
143 'wrappable_unittest.cc', 164 'wrappable_unittest.cc',
144 ], 165 ],
145 }, 166 },
146 ], 167 ],
147 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698