| 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': '<(component)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
| 15 '../v8/tools/gyp/v8.gyp:v8', | 15 '../v8/tools/gyp/v8.gyp:v8', |
| 16 ], | 16 ], |
| 17 'export_dependent_settings': [ | 17 'export_dependent_settings': [ |
| 18 '../base/base.gyp:base', | 18 '../base/base.gyp:base', |
| 19 '../v8/tools/gyp/v8.gyp:v8', | 19 '../v8/tools/gyp/v8.gyp:v8', |
| 20 ], | 20 ], |
| 21 'defines': [ |
| 22 'GIN_IMPLEMENTATION', |
| 23 ], |
| 21 'sources': [ | 24 'sources': [ |
| 22 'arguments.cc', | 25 'arguments.cc', |
| 23 'arguments.h', | 26 'arguments.h', |
| 24 'array_buffer.cc', | 27 'array_buffer.cc', |
| 25 'array_buffer.h', | 28 'array_buffer.h', |
| 26 'context_holder.cc', | 29 'context_holder.cc', |
| 27 'converter.cc', | 30 'converter.cc', |
| 28 'converter.h', | 31 'converter.h', |
| 29 'dictionary.cc', | 32 'dictionary.cc', |
| 30 'dictionary.h', | 33 'dictionary.h', |
| 31 'function_template.cc', | 34 'function_template.cc', |
| 32 'function_template.h', | 35 'function_template.h', |
| 36 'gin_export.h', |
| 33 'handle.h', | 37 'handle.h', |
| 34 'isolate_holder.cc', | 38 'isolate_holder.cc', |
| 35 'modules/console.cc', | 39 'modules/console.cc', |
| 36 'modules/console.h', | 40 'modules/console.h', |
| 37 'modules/file_module_provider.cc', | 41 'modules/file_module_provider.cc', |
| 38 'modules/file_module_provider.h', | 42 'modules/file_module_provider.h', |
| 39 'modules/module_registry.cc', | 43 'modules/module_registry.cc', |
| 40 'modules/module_registry.h', | 44 'modules/module_registry.h', |
| 41 'modules/module_runner_delegate.cc', | 45 'modules/module_runner_delegate.cc', |
| 42 'modules/module_runner_delegate.h', | 46 'modules/module_runner_delegate.h', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 56 'try_catch.h', | 60 'try_catch.h', |
| 57 'wrappable.cc', | 61 'wrappable.cc', |
| 58 'wrappable.h', | 62 'wrappable.h', |
| 59 'wrapper_info.cc', | 63 'wrapper_info.cc', |
| 60 ], | 64 ], |
| 61 }, | 65 }, |
| 62 { | 66 { |
| 63 'target_name': 'gin_shell', | 67 'target_name': 'gin_shell', |
| 64 'type': 'executable', | 68 'type': 'executable', |
| 65 'dependencies': [ | 69 'dependencies': [ |
| 70 '../base/base.gyp:base', |
| 66 '../base/base.gyp:base_i18n', | 71 '../base/base.gyp:base_i18n', |
| 72 '../v8/tools/gyp/v8.gyp:v8', |
| 67 'gin', | 73 'gin', |
| 68 ], | 74 ], |
| 69 'sources': [ | 75 'sources': [ |
| 70 'shell/gin_main.cc', | 76 'shell/gin_main.cc', |
| 71 ], | 77 ], |
| 72 'msvs_settings': { | 78 'msvs_settings': { |
| 73 'VCLinkerTool': { | 79 'VCLinkerTool': { |
| 74 'SubSystem': '1', # /SUBSYSTEM:CONSOLE | 80 'SubSystem': '1', # /SUBSYSTEM:CONSOLE |
| 75 }, | 81 }, |
| 76 }, | 82 }, |
| 77 }, | 83 }, |
| 78 { | 84 { |
| 79 'target_name': 'gin_test', | 85 'target_name': 'gin_test', |
| 80 'type': 'static_library', | 86 'type': 'static_library', |
| 81 'dependencies': [ | 87 'dependencies': [ |
| 82 '../testing/gtest.gyp:gtest', | 88 '../testing/gtest.gyp:gtest', |
| 89 '../v8/tools/gyp/v8.gyp:v8', |
| 83 'gin', | 90 'gin', |
| 84 ], | 91 ], |
| 85 'export_dependent_settings': [ | 92 'export_dependent_settings': [ |
| 86 '../testing/gtest.gyp:gtest', | 93 '../testing/gtest.gyp:gtest', |
| 87 'gin', | 94 'gin', |
| 88 ], | 95 ], |
| 89 'sources': [ | 96 'sources': [ |
| 90 'test/file_runner.cc', | 97 'test/file_runner.cc', |
| 91 'test/file_runner.h', | 98 'test/file_runner.h', |
| 92 'test/gtest.cc', | 99 'test/gtest.cc', |
| 93 'test/gtest.h', | 100 'test/gtest.h', |
| 94 'test/v8_test.cc', | 101 'test/v8_test.cc', |
| 95 'test/v8_test.h', | 102 'test/v8_test.h', |
| 96 ], | 103 ], |
| 97 }, | 104 }, |
| 98 { | 105 { |
| 99 'target_name': 'gin_unittests', | 106 'target_name': 'gin_unittests', |
| 100 'type': 'executable', | 107 'type': 'executable', |
| 101 'dependencies': [ | 108 'dependencies': [ |
| 102 '../base/base.gyp:run_all_unittests', | 109 '../base/base.gyp:run_all_unittests', |
| 110 '../v8/tools/gyp/v8.gyp:v8', |
| 103 'gin_test', | 111 'gin_test', |
| 104 ], | 112 ], |
| 105 'sources': [ | 113 'sources': [ |
| 106 'converter_unittest.cc', | 114 'converter_unittest.cc', |
| 107 'test/run_all_unittests.cc', | 115 'test/run_all_unittests.cc', |
| 108 'test/run_js_tests.cc', | 116 'test/run_js_tests.cc', |
| 109 'runner_unittest.cc', | 117 'runner_unittest.cc', |
| 110 'wrappable_unittest.cc', | 118 'wrappable_unittest.cc', |
| 111 ], | 119 ], |
| 112 }, | 120 }, |
| 113 ], | 121 ], |
| 114 } | 122 } |
| OLD | NEW |