Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 0db81e04bdf6c3eafb058c502d7afbe2dc8647c8..92d021471d14506e670577b455a6dc89ea2aae96 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -2567,13 +2567,15 @@ test("browser_tests") { |
} |
if (!enable_print_preview) { |
sources -= [ |
- "../browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc", |
"../browser/printing/print_browsertest.cc", |
"../browser/printing/print_preview_dialog_controller_browsertest.cc", |
"../browser/printing/print_preview_pdf_generated_browsertest.cc", |
"../browser/service_process/service_process_control_browsertest.cc", |
"../browser/ui/webui/print_preview/print_preview_ui_browsertest.cc", |
] |
+ if (enable_extensions) { |
+ sources -= [ "../browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc" ] |
+ } |
} |
if (!enable_print_preview || is_mac || is_chromeos) { |
sources -= [ |