| 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 sources += rebase_path( | |
| 109 gypi_values.chrome_browser_extensions_non_athena_sources, | |
| 110 ".", "//chrome") | |
| 111 } | |
| 112 | 107 |
| 113 if (is_linux) { | 108 if (is_linux) { |
| 114 configs += [ "//build/config/linux:fontconfig" ] | 109 configs += [ "//build/config/linux:fontconfig" ] |
| 115 deps += [ "//dbus" ] | 110 deps += [ "//dbus" ] |
| 116 if (use_x11) { | 111 if (use_x11) { |
| 117 configs += [ | 112 configs += [ |
| 118 "//build/config/linux:x11", | 113 "//build/config/linux:x11", |
| 119 ] | 114 ] |
| 120 deps += [ | 115 deps += [ |
| 121 "//ui/events:events_base", | 116 "//ui/events:events_base", |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 gypi_values.chrome_browser_extensions_app_list_sources, | 200 gypi_values.chrome_browser_extensions_app_list_sources, |
| 206 ".", "//chrome") | 201 ".", "//chrome") |
| 207 } | 202 } |
| 208 | 203 |
| 209 if (!use_ozone) { | 204 if (!use_ozone) { |
| 210 sources -= [ | 205 sources -= [ |
| 211 "global_shortcut_listener_ozone.cc", | 206 "global_shortcut_listener_ozone.cc", |
| 212 ] | 207 ] |
| 213 } | 208 } |
| 214 } | 209 } |
| OLD | NEW |