| 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 gypi_values = exec_script( |    9 gypi_values = exec_script( | 
|   10     "//build/gypi_to_gn.py", |   10     "//build/gypi_to_gn.py", | 
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  162       if (use_x11) { |  162       if (use_x11) { | 
|  163         configs += [ |  163         configs += [ | 
|  164           "//build/config/linux:x11", |  164           "//build/config/linux:x11", | 
|  165         ] |  165         ] | 
|  166         deps += [ |  166         deps += [ | 
|  167           "//ui/events/platform", |  167           "//ui/events/platform", | 
|  168           "//ui/events/platform/x11", |  168           "//ui/events/platform/x11", | 
|  169         ] |  169         ] | 
|  170       } |  170       } | 
|  171     } |  171     } | 
 |  172     if (!use_x11) { | 
 |  173       sources -= [ | 
 |  174         "global_shortcut_listener_x11.cc", | 
 |  175         "global_shortcut_listener_x11.h", | 
 |  176       ] | 
 |  177     } | 
|  172  |  178  | 
|  173     if (safe_browsing_mode == 1) { |  179     if (safe_browsing_mode == 1) { | 
|  174       defines += [ "FULL_SAFE_BROWSING" ] |  180       defines += [ "FULL_SAFE_BROWSING" ] | 
|  175     } |  181     } | 
|  176     if (safe_browsing_mode == 2) { |  182     if (safe_browsing_mode == 2) { | 
|  177       defines += [ "MOBILE_SAFE_BROWSING" ] |  183       defines += [ "MOBILE_SAFE_BROWSING" ] | 
|  178     } |  184     } | 
|  179  |  185  | 
|  180     if (enable_configuration_policy) { |  186     if (enable_configuration_policy) { | 
|  181       deps += [ "//components/policy" ] |  187       deps += [ "//components/policy" ] | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  213           ".", "//chrome") |  219           ".", "//chrome") | 
|  214     } |  220     } | 
|  215  |  221  | 
|  216     if (!use_ozone) { |  222     if (!use_ozone) { | 
|  217       sources -= [ |  223       sources -= [ | 
|  218         "global_shortcut_listener_ozone.cc", |  224         "global_shortcut_listener_ozone.cc", | 
|  219       ] |  225       ] | 
|  220     } |  226     } | 
|  221   } |  227   } | 
|  222 } |  228 } | 
| OLD | NEW |