Chromium Code Reviews| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/sysroot.gni") | 7 import("//build/config/sysroot.gni") |
| 8 import("//extensions/features/features.gni") | 8 import("//extensions/features/features.gni") |
| 9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
| 10 | 10 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 168 | 168 |
| 169 if (enable_print_preview || (enable_basic_printing && is_win)) { | 169 if (enable_print_preview || (enable_basic_printing && is_win)) { |
| 170 deps += [ "//pdf" ] | 170 deps += [ "//pdf" ] |
| 171 } else { | 171 } else { |
| 172 sources -= [ | 172 sources -= [ |
| 173 "printing_handler.cc", | 173 "printing_handler.cc", |
| 174 "printing_handler.h", | 174 "printing_handler.h", |
| 175 ] | 175 ] |
| 176 } | 176 } |
| 177 | 177 |
| 178 if (enable_basic_printing || enable_print_preview) { | |
|
Lei Zhang
2017/04/27 22:42:21
Just enable_printing then?
Wei Li
2017/04/29 04:35:18
We only have enable_printing as buildflag, but not
| |
| 179 deps += [ | |
| 180 "//components/printing/service/public/cpp:factory", | |
| 181 "//components/printing/service/public/interfaces", | |
| 182 ] | |
| 183 } | |
| 184 | |
| 178 if (is_mac && safe_browsing_mode == 1) { | 185 if (is_mac && safe_browsing_mode == 1) { |
| 179 deps += [ "//chrome/utility/safe_browsing/mac" ] | 186 deps += [ "//chrome/utility/safe_browsing/mac" ] |
| 180 } | 187 } |
| 181 | 188 |
| 182 if (!is_android) { | 189 if (!is_android) { |
| 183 sources += [ | 190 sources += [ |
| 184 "media_router/dial_device_description_parser_impl.cc", | 191 "media_router/dial_device_description_parser_impl.cc", |
| 185 "media_router/dial_device_description_parser_impl.h", | 192 "media_router/dial_device_description_parser_impl.h", |
| 186 ] | 193 ] |
| 187 } | 194 } |
| 188 } | 195 } |
| OLD | NEW |