(self, gn_string)
| 96 | """) |
| 97 | |
| 98 | def _Compile(self, gn_string): |
| 99 | gn_code = f'v8_component({self.TARGET}) {{ {gn_string} }}' |
| 100 | tree = ParseGN(gn_code) |
| 101 | builder = CMakeMockBuilder() |
| 102 | V8GNTransformer(builder, [self.TARGET]).Traverse(tree) |
| 103 | return builder.GetResult() |
| 104 | |
| 105 | def _CompileAndCheck(self, expected_cmake, gn_string): |
| 106 | actual_cmake = self._Compile(gn_string) |
no test coverage detected