| 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': [ | |
| 14 '..' | |
| 15 ], | |
| 16 'dependencies': [ | 13 'dependencies': [ |
| 14 '../base/base.gyp:base', |
| 17 '../v8/tools/gyp/v8.gyp:v8', | 15 '../v8/tools/gyp/v8.gyp:v8', |
| 18 ], | 16 ], |
| 19 'export_dependent_settings': [ | 17 'export_dependent_settings': [ |
| 18 '../base/base.gyp:base', |
| 20 '../v8/tools/gyp/v8.gyp:v8', | 19 '../v8/tools/gyp/v8.gyp:v8', |
| 21 ], | 20 ], |
| 22 'sources': [ | 21 'sources': [ |
| 22 'modules/file_module_provider.cc', |
| 23 'modules/file_module_provider.h', |
| 23 'modules/module_registry.cc', | 24 'modules/module_registry.cc', |
| 24 'modules/module_registry.h', | 25 'modules/module_registry.h', |
| 26 'modules/module_runner_delegate.cc', |
| 27 'modules/module_runner_delegate.h', |
| 25 'arguments.cc', | 28 'arguments.cc', |
| 26 'arguments.h', | 29 'arguments.h', |
| 27 'array_buffer.cc', | 30 'array_buffer.cc', |
| 28 'array_buffer.h', | 31 'array_buffer.h', |
| 32 'context_holder.cc', |
| 33 'context_holder.h', |
| 29 'converter.cc', | 34 'converter.cc', |
| 30 'converter.h', | 35 'converter.h', |
| 31 'context_holder.cc', | |
| 32 'context_holder.h', | |
| 33 'dictionary.cc', | 36 'dictionary.cc', |
| 34 'dictionary.h', | 37 'dictionary.h', |
| 35 'initialize.cc', | 38 'initialize.cc', |
| 36 'initialize.h', | 39 'initialize.h', |
| 37 'per_context_data.cc', | 40 'per_context_data.cc', |
| 38 'per_context_data.h', | 41 'per_context_data.h', |
| 39 'per_isolate_data.cc', | 42 'per_isolate_data.cc', |
| 40 'per_isolate_data.h', | 43 'per_isolate_data.h', |
| 41 'runner.cc', | 44 'runner.cc', |
| 42 'runner.h', | 45 'runner.h', |
| 46 'try_catch.cc', |
| 47 'try_catch.h', |
| 43 'wrapper_info.cc', | 48 'wrapper_info.cc', |
| 44 'wrapper_info.h', | 49 'wrapper_info.h', |
| 45 ], | 50 ], |
| 46 }, | 51 }, |
| 47 { | 52 { |
| 53 'target_name': 'gin_shell', |
| 54 'type': 'executable', |
| 55 'dependencies': [ |
| 56 'gin', |
| 57 ], |
| 58 'sources': [ |
| 59 'shell/gin_main.cc', |
| 60 ], |
| 61 'msvs_settings': { |
| 62 'VCLinkerTool': { |
| 63 'SubSystem': '1', # /SUBSYSTEM:CONSOLE |
| 64 }, |
| 65 }, |
| 66 }, |
| 67 { |
| 48 'target_name': 'gin_test', | 68 'target_name': 'gin_test', |
| 49 'type': 'static_library', | 69 'type': 'static_library', |
| 50 'dependencies': [ | 70 'dependencies': [ |
| 51 '../base/base.gyp:base', | |
| 52 '../testing/gtest.gyp:gtest', | 71 '../testing/gtest.gyp:gtest', |
| 53 'gin', | 72 'gin', |
| 54 ], | 73 ], |
| 55 'export_dependent_settings': [ | 74 'export_dependent_settings': [ |
| 56 '../base/base.gyp:base', | |
| 57 '../testing/gtest.gyp:gtest', | 75 '../testing/gtest.gyp:gtest', |
| 58 'gin', | 76 'gin', |
| 59 ], | 77 ], |
| 60 'sources': [ | 78 'sources': [ |
| 61 'test/file_runner.cc', | 79 'test/file_runner.cc', |
| 62 'test/file_runner.h', | 80 'test/file_runner.h', |
| 63 'test/gtest.cc', | 81 'test/gtest.cc', |
| 64 'test/gtest.h', | 82 'test/gtest.h', |
| 65 'test/v8_test.cc', | 83 'test/v8_test.cc', |
| 66 'test/v8_test.h', | 84 'test/v8_test.h', |
| 67 ], | 85 ], |
| 68 }, | 86 }, |
| 69 { | 87 { |
| 70 'target_name': 'gin_unittests', | 88 'target_name': 'gin_unittests', |
| 71 'type': 'executable', | 89 'type': 'executable', |
| 72 'dependencies': [ | 90 'dependencies': [ |
| 73 '../base/base.gyp:run_all_unittests', | 91 '../base/base.gyp:run_all_unittests', |
| 74 'gin_test', | 92 'gin_test', |
| 75 ], | 93 ], |
| 76 'sources': [ | 94 'sources': [ |
| 77 'converter_unittest.cc', | 95 'converter_unittest.cc', |
| 78 'test/run_all_unittests.cc', | 96 'test/run_all_unittests.cc', |
| 79 'test/run_js_tests.cc', | 97 'test/run_js_tests.cc', |
| 80 'runner_unittest.cc', | 98 'runner_unittest.cc', |
| 81 ], | 99 ], |
| 82 }, | 100 }, |
| 83 ], | 101 ], |
| 84 } | 102 } |
| OLD | NEW |