OLD | NEW |
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 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'gin', | 11 'target_name': 'gin', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '..' | 14 '..' |
15 ], | 15 ], |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../v8/tools/gyp/v8.gyp:v8', | 17 '../v8/tools/gyp/v8.gyp:v8', |
18 ], | 18 ], |
19 'export_dependent_settings': [ | 19 'export_dependent_settings': [ |
20 '../v8/tools/gyp/v8.gyp:v8', | 20 '../v8/tools/gyp/v8.gyp:v8', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
| 23 'arguments.cc', |
| 24 'arguments.h', |
23 'array_buffer.cc', | 25 'array_buffer.cc', |
24 'array_buffer.h', | 26 'array_buffer.h', |
25 'converter.cc', | 27 'converter.cc', |
26 'converter.h', | 28 'converter.h', |
| 29 'dictionary.cc', |
| 30 'dictionary.h', |
27 'initialize.cc', | 31 'initialize.cc', |
28 'initialize.h', | 32 'initialize.h', |
29 'per_isolate_data.cc', | 33 'per_isolate_data.cc', |
30 'per_isolate_data.h', | 34 'per_isolate_data.h', |
31 'runner.cc', | 35 'runner.cc', |
32 'runner.h', | 36 'runner.h', |
33 'wrapper_info.cc', | 37 'wrapper_info.cc', |
34 'wrapper_info.h', | 38 'wrapper_info.h', |
35 ], | 39 ], |
36 }, | 40 }, |
37 { | 41 { |
| 42 'target_name': 'gin_test', |
| 43 'type': 'static_library', |
| 44 'dependencies': [ |
| 45 '../base/base.gyp:base', |
| 46 '../testing/gtest.gyp:gtest', |
| 47 'gin', |
| 48 ], |
| 49 'export_dependent_settings': [ |
| 50 '../base/base.gyp:base', |
| 51 '../testing/gtest.gyp:gtest', |
| 52 'gin', |
| 53 ], |
| 54 'sources': [ |
| 55 'test/gtest.cc', |
| 56 'test/gtest.h', |
| 57 'test/v8_test.cc', |
| 58 'test/v8_test.h', |
| 59 ], |
| 60 }, |
| 61 { |
38 'target_name': 'gin_unittests', | 62 'target_name': 'gin_unittests', |
39 'type': 'executable', | 63 'type': 'executable', |
40 'dependencies': [ | 64 'dependencies': [ |
41 '../base/base.gyp:base', | |
42 '../base/base.gyp:run_all_unittests', | 65 '../base/base.gyp:run_all_unittests', |
43 '../testing/gtest.gyp:gtest', | 66 'gin_test', |
44 'gin', | |
45 ], | 67 ], |
46 'sources': [ | 68 'sources': [ |
47 'test/v8_test.cc', | 69 'converter_unittest.cc', |
48 'test/run_all_unittests.cc', | 70 'test/run_all_unittests.cc', |
49 'converter_unittest.cc', | |
50 'runner_unittest.cc', | 71 'runner_unittest.cc', |
51 ], | 72 ], |
52 }, | 73 }, |
53 ], | 74 ], |
54 } | 75 } |
OLD | NEW |