| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 gypi_values.chrome_browser_extensions_non_chromeos_sources, | 97 gypi_values.chrome_browser_extensions_non_chromeos_sources, |
| 98 ".", "//chrome") | 98 ".", "//chrome") |
| 99 } | 99 } |
| 100 | 100 |
| 101 if (use_ash) { | 101 if (use_ash) { |
| 102 sources += [ | 102 sources += [ |
| 103 "api/tabs/ash_panel_contents.cc", | 103 "api/tabs/ash_panel_contents.cc", |
| 104 "api/tabs/ash_panel_contents.h", | 104 "api/tabs/ash_panel_contents.h", |
| 105 ] | 105 ] |
| 106 } | 106 } |
| 107 if (use_athena) { |
| 108 defines += [ USE_ATHENA ] |
| 109 sources += rebase_path( |
| 110 gypi_values.chrome_browser_extensions_athena_sources, |
| 111 ".", "//chrome") |
| 112 } else { |
| 113 sources += rebase_path( |
| 114 gypi_values.chrome_browser_extensions_non_athena_sources, |
| 115 ".", "//chrome") |
| 116 } |
| 107 | 117 |
| 108 if (is_linux) { | 118 if (is_linux) { |
| 109 configs += [ "//build/config/linux:fontconfig" ] | 119 configs += [ "//build/config/linux:fontconfig" ] |
| 110 deps += [ "//dbus" ] | 120 deps += [ "//dbus" ] |
| 111 if (use_x11) { | 121 if (use_x11) { |
| 112 configs += [ | 122 configs += [ |
| 113 "//build/config/linux:x11", | 123 "//build/config/linux:x11", |
| 114 ] | 124 ] |
| 115 deps += [ | 125 deps += [ |
| 116 "//ui/events:events_base", | 126 "//ui/events:events_base", |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 gypi_values.chrome_browser_extensions_app_list_sources, | 210 gypi_values.chrome_browser_extensions_app_list_sources, |
| 201 ".", "//chrome") | 211 ".", "//chrome") |
| 202 } | 212 } |
| 203 | 213 |
| 204 if (!use_ozone) { | 214 if (!use_ozone) { |
| 205 sources -= [ | 215 sources -= [ |
| 206 "global_shortcut_listener_ozone.cc", | 216 "global_shortcut_listener_ozone.cc", |
| 207 ] | 217 ] |
| 208 } | 218 } |
| 209 } | 219 } |
| OLD | NEW |