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.
8 'gin_gen_path': '<(SHARED_INTERMEDIATE_DIR)/gin/',
13 'type': '<(component)',
15 '../base/base.gyp:base',
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17 '../v8/tools/gyp/v8.gyp:v8',
19 'export_dependent_settings': [
20 '../base/base.gyp:base',
21 '../v8/tools/gyp/v8.gyp:v8',
38 'function_template.cc',
39 'function_template.h',
47 'modules/file_module_provider.cc',
48 'modules/file_module_provider.h',
49 'modules/module_registry.cc',
50 'modules/module_registry.h',
51 'modules/module_registry_observer.h',
52 'modules/module_runner_delegate.cc',
53 'modules/module_runner_delegate.h',
56 'object_template_builder.cc',
57 'object_template_builder.h',
58 'per_context_data.cc',
60 'per_isolate_data.cc',
62 'public/context_holder.h',
64 'public/gin_embedders.h',
65 'public/isolate_holder.h',
66 'public/v8_platform.h',
67 'public/wrapper_info.h',
70 'run_microtasks_observer.cc',
71 'run_microtasks_observer.h',
78 'v8_isolate_memory_dump_provider.cc',
79 'v8_isolate_memory_dump_provider.h',
86 ['v8_use_external_startup_data==1 and OS=="win"', {
88 'gin_v8_snapshot_fingerprint',
89 '../crypto/crypto.gyp:crypto',
92 '<(gin_gen_path)/v8_snapshot_fingerprint.cc',
95 'V8_VERIFY_EXTERNAL_STARTUP_DATA',
101 'target_name': 'gin_v8_snapshot_fingerprint',
104 'snapshot_file': '<(PRODUCT_DIR)/snapshot_blob.bin',
105 'natives_file': '<(PRODUCT_DIR)/natives_blob.bin',
106 'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc',
108 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ],
111 'target_name': 'gin_shell',
112 'type': 'executable',
114 '../base/base.gyp:base',
115 '../base/base.gyp:base_i18n',
116 '../v8/tools/gyp/v8.gyp:v8',
124 'SubSystem': '1', # /SUBSYSTEM:CONSOLE
129 'target_name': 'gin_test',
130 'type': 'static_library',
132 '../testing/gtest.gyp:gtest',
133 '../v8/tools/gyp/v8.gyp:v8',
136 'export_dependent_settings': [
137 '../testing/gtest.gyp:gtest',
143 'test/file_runner.cc',
144 'test/file_runner.h',
154 'target_name': 'gin_unittests',
155 'type': 'executable',
157 '../base/base.gyp:test_support_base',
158 '../v8/tools/gyp/v8.gyp:v8',
162 'converter_unittest.cc',
163 'interceptor_unittest.cc',
164 'modules/module_registry_unittest.cc',
165 'modules/timer_unittest.cc',
166 'per_context_data_unittest.cc',
167 'shell_runner_unittest.cc',
168 'shell/gin_shell_unittest.cc',
169 'test/run_all_unittests.cc',
170 'test/run_js_tests.cc',
171 'v8_isolate_memory_dump_provider_unittest.cc',
172 'wrappable_unittest.cc',