| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 component("gin") { | 5 component("gin") { |
| 6 sources = [ | 6 sources = [ |
| 7 "arguments.cc", | 7 "arguments.cc", |
| 8 "arguments.h", | 8 "arguments.h", |
| 9 "array_buffer.cc", | 9 "array_buffer.cc", |
| 10 "array_buffer.h", | 10 "array_buffer.h", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 "shell_runner.h", | 51 "shell_runner.h", |
| 52 "try_catch.cc", | 52 "try_catch.cc", |
| 53 "try_catch.h", | 53 "try_catch.h", |
| 54 "v8_platform.cc", | 54 "v8_platform.cc", |
| 55 "wrappable.cc", | 55 "wrappable.cc", |
| 56 "wrappable.h", | 56 "wrappable.h", |
| 57 "wrapper_info.cc", | 57 "wrapper_info.cc", |
| 58 ] | 58 ] |
| 59 | 59 |
| 60 defines = [ "GIN_IMPLEMENTATION" ] | 60 defines = [ "GIN_IMPLEMENTATION" ] |
| 61 deps = [ | 61 |
| 62 public_deps = [ |
| 62 "//base", | 63 "//base", |
| 63 "//base/third_party/dynamic_annotations", | |
| 64 "//v8", | 64 "//v8", |
| 65 ] | 65 ] |
| 66 | 66 deps = [ |
| 67 forward_dependent_configs_from = [ | 67 "//base/third_party/dynamic_annotations", |
| 68 "//base", | |
| 69 "//v8", | |
| 70 ] | 68 ] |
| 71 } | 69 } |
| 72 | 70 |
| 73 executable("gin_shell") { | 71 executable("gin_shell") { |
| 74 sources = [ | 72 sources = [ |
| 75 "shell/gin_main.cc", | 73 "shell/gin_main.cc", |
| 76 ] | 74 ] |
| 77 | 75 |
| 78 deps = [ | 76 deps = [ |
| 79 ":gin", | 77 ":gin", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 91 "test/file_runner.cc", | 89 "test/file_runner.cc", |
| 92 "test/file_runner.h", | 90 "test/file_runner.h", |
| 93 "test/gc.cc", | 91 "test/gc.cc", |
| 94 "test/gc.h", | 92 "test/gc.h", |
| 95 "test/gtest.cc", | 93 "test/gtest.cc", |
| 96 "test/gtest.h", | 94 "test/gtest.h", |
| 97 "test/v8_test.cc", | 95 "test/v8_test.cc", |
| 98 "test/v8_test.h", | 96 "test/v8_test.h", |
| 99 ] | 97 ] |
| 100 | 98 |
| 101 deps = [ | 99 public_deps = [ |
| 102 ":gin", | |
| 103 "//testing/gtest", | |
| 104 "//v8", | |
| 105 ] | |
| 106 | |
| 107 forward_dependent_configs_from = [ | |
| 108 ":gin", | 100 ":gin", |
| 109 "//testing/gtest", | 101 "//testing/gtest", |
| 110 ] | 102 ] |
| 103 deps = [ |
| 104 "//v8", |
| 105 ] |
| 111 } | 106 } |
| 112 | 107 |
| 113 test("gin_unittests") { | 108 test("gin_unittests") { |
| 114 sources = [ | 109 sources = [ |
| 115 "converter_unittest.cc", | 110 "converter_unittest.cc", |
| 116 "interceptor_unittest.cc", | 111 "interceptor_unittest.cc", |
| 117 "modules/module_registry_unittest.cc", | 112 "modules/module_registry_unittest.cc", |
| 118 "modules/timer_unittest.cc", | 113 "modules/timer_unittest.cc", |
| 119 "per_context_data_unittest.cc", | 114 "per_context_data_unittest.cc", |
| 120 "shell_runner_unittest.cc", | 115 "shell_runner_unittest.cc", |
| 121 "shell/gin_shell_unittest.cc", | 116 "shell/gin_shell_unittest.cc", |
| 122 "test/run_all_unittests.cc", | 117 "test/run_all_unittests.cc", |
| 123 "test/run_js_tests.cc", | 118 "test/run_js_tests.cc", |
| 124 "wrappable_unittest.cc", | 119 "wrappable_unittest.cc", |
| 125 ] | 120 ] |
| 126 | 121 |
| 127 deps = [ | 122 deps = [ |
| 128 ":gin_test", | 123 ":gin_test", |
| 129 "//base/test:test_support", | 124 "//base/test:test_support", |
| 130 "//v8", | 125 "//v8", |
| 131 ] | 126 ] |
| 132 } | 127 } |
| OLD | NEW |