android: disable NLS when building yasm.
[chromium-blink-merge.git] / gin / gin.gyp
blob78c8fb1d97d7b9b9541c211d879b0aacd207e5c9
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'gin',
12       'type': '<(component)',
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../v8/tools/gyp/v8.gyp:v8',
16       ],
17       'export_dependent_settings': [
18         '../base/base.gyp:base',
19         '../v8/tools/gyp/v8.gyp:v8',
20       ],
21       'defines': [
22         'GIN_IMPLEMENTATION',
23       ],
24       'sources': [
25         'arguments.cc',
26         'arguments.h',
27         'array_buffer.cc',
28         'array_buffer.h',
29         'context_holder.cc',
30         'converter.cc',
31         'converter.h',
32         'dictionary.cc',
33         'dictionary.h',
34         'function_template.cc',
35         'function_template.h',
36         'gin_export.h',
37         'handle.h',
38         'isolate_holder.cc',
39         'modules/console.cc',
40         'modules/console.h',
41         'modules/file_module_provider.cc',
42         'modules/file_module_provider.h',
43         'modules/module_registry.cc',
44         'modules/module_registry.h',
45         'modules/module_runner_delegate.cc',
46         'modules/module_runner_delegate.h',
47         'modules/timer.cc',
48         'modules/timer.h',
49         'object_template_builder.cc',
50         'object_template_builder.h',
51         'per_context_data.cc',
52         'per_context_data.h',
53         'per_isolate_data.cc',
54         'per_isolate_data.h',
55         'public/context_holder.h',
56         'public/gin_embedders.h',
57         'public/isolate_holder.h',
58         'public/wrapper_info.h',
59         'runner.cc',
60         'runner.h',
61         'try_catch.cc',
62         'try_catch.h',
63         'wrappable.cc',
64         'wrappable.h',
65         'wrapper_info.cc',
66       ],
67     },
68     {
69       'target_name': 'gin_shell',
70       'type': 'executable',
71       'dependencies': [
72         '../base/base.gyp:base',
73         '../base/base.gyp:base_i18n',
74         '../v8/tools/gyp/v8.gyp:v8',
75         'gin',
76       ],
77       'sources': [
78         'shell/gin_main.cc',
79       ],
80       'msvs_settings': {
81         'VCLinkerTool': {
82           'SubSystem': '1', # /SUBSYSTEM:CONSOLE
83         },
84       },
85     },
86     {
87       'target_name': 'gin_test',
88       'type': 'static_library',
89       'dependencies': [
90         '../testing/gtest.gyp:gtest',
91         '../v8/tools/gyp/v8.gyp:v8',
92         'gin',
93       ],
94       'export_dependent_settings': [
95         '../testing/gtest.gyp:gtest',
96         'gin',
97       ],
98       'sources': [
99         'test/file_runner.cc',
100         'test/file_runner.h',
101         'test/gtest.cc',
102         'test/gtest.h',
103         'test/v8_test.cc',
104         'test/v8_test.h',
105       ],
106     },
107     {
108       'target_name': 'gin_unittests',
109       'type': 'executable',
110       'dependencies': [
111         '../base/base.gyp:run_all_unittests',
112         '../v8/tools/gyp/v8.gyp:v8',
113         'gin_test',
114       ],
115       'sources': [
116         'converter_unittest.cc',
117         'modules/timer_unittest.cc',
118         'test/run_all_unittests.cc',
119         'test/run_js_tests.cc',
120         'runner_unittest.cc',
121         'wrappable_unittest.cc',
122       ],
123     },
124   ],