| 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/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 | 8 |
| 9 assert(enable_extensions) | 9 assert(enable_extensions) |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 160 } |
| 161 | 161 |
| 162 # chromeos uses its own global_shortcut_listener, _x11 is not necessary. | 162 # chromeos uses its own global_shortcut_listener, _x11 is not necessary. |
| 163 if (is_chromeos || !use_x11) { | 163 if (is_chromeos || !use_x11) { |
| 164 sources -= [ | 164 sources -= [ |
| 165 "global_shortcut_listener_x11.cc", | 165 "global_shortcut_listener_x11.cc", |
| 166 "global_shortcut_listener_x11.h", | 166 "global_shortcut_listener_x11.h", |
| 167 ] | 167 ] |
| 168 } | 168 } |
| 169 | 169 |
| 170 if (safe_browsing_mode == 1) { | |
| 171 defines += [ "FULL_SAFE_BROWSING" ] | |
| 172 } | |
| 173 if (safe_browsing_mode == 2) { | |
| 174 defines += [ "MOBILE_SAFE_BROWSING" ] | |
| 175 } | |
| 176 | |
| 177 if (is_win || is_mac) { | 170 if (is_win || is_mac) { |
| 178 deps += [ "//components/wifi" ] | 171 deps += [ "//components/wifi" ] |
| 179 sources += rebase_path( | 172 sources += rebase_path( |
| 180 gypi_values.chrome_browser_extensions_networking_private_sources_win
mac, | 173 gypi_values.chrome_browser_extensions_networking_private_sources_win
mac, |
| 181 ".", | 174 ".", |
| 182 "//chrome") | 175 "//chrome") |
| 183 } | 176 } |
| 184 | 177 |
| 185 if (is_win) { | 178 if (is_win) { |
| 186 deps += [ | 179 deps += [ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 204 if (is_chromeos && use_ozone) { | 197 if (is_chromeos && use_ozone) { |
| 205 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 198 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 206 } | 199 } |
| 207 if (!use_ozone) { | 200 if (!use_ozone) { |
| 208 sources -= [ "global_shortcut_listener_ozone.cc" ] | 201 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 209 } | 202 } |
| 210 if (enable_media_router) { | 203 if (enable_media_router) { |
| 211 defines += [ "ENABLE_MEDIA_ROUTER=1" ] | 204 defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
| 212 } | 205 } |
| 213 } | 206 } |
| OLD | NEW |