| 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
| 7 | 7 |
| 8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("../chrome_renderer.gypi") ], | 9 [ rebase_path("../chrome_renderer.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "//third_party/wtl", | 155 "//third_party/wtl", |
| 156 ] | 156 ] |
| 157 } | 157 } |
| 158 if (!is_android) { | 158 if (!is_android) { |
| 159 sources += | 159 sources += |
| 160 rebase_path(gypi_values.chrome_renderer_non_android_sources, ".", "..") | 160 rebase_path(gypi_values.chrome_renderer_non_android_sources, ".", "..") |
| 161 } | 161 } |
| 162 | 162 |
| 163 # TODO(GYP) | 163 # TODO(GYP) |
| 164 # 'sources': [ | 164 # 'sources': [ |
| 165 # 'renderer/printing/print_web_view_helper_pdf_win.cc', | 165 # '//components/printing/renderer/print_web_view_helper_pdf_win.cc', |
| 166 # ], | 166 # ], |
| 167 } | 167 } |
| 168 | 168 |
| 169 # In GYP this is part of test_support_common. | 169 # In GYP this is part of test_support_common. |
| 170 source_set("test_support") { | 170 source_set("test_support") { |
| 171 testonly = true | 171 testonly = true |
| 172 visibility = [ "//chrome/test:test_support" ] | 172 visibility = [ "//chrome/test:test_support" ] |
| 173 | 173 |
| 174 sources = [ | 174 sources = [ |
| 175 "chrome_mock_render_thread.cc", | 175 "chrome_mock_render_thread.cc", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 197 ] | 197 ] |
| 198 } | 198 } |
| 199 | 199 |
| 200 if (enable_webrtc) { | 200 if (enable_webrtc) { |
| 201 sources += [ | 201 sources += [ |
| 202 "media/mock_webrtc_logging_message_filter.cc", | 202 "media/mock_webrtc_logging_message_filter.cc", |
| 203 "media/mock_webrtc_logging_message_filter.h", | 203 "media/mock_webrtc_logging_message_filter.h", |
| 204 ] | 204 ] |
| 205 } | 205 } |
| 206 } | 206 } |
| OLD | NEW |