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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 # gtk2 is the only component that can interact with gtk2 in our new | 220 # gtk2 is the only component that can interact with gtk2 in our new |
221 # world. | 221 # world. |
222 #'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui', TODO(GYP) | 222 #'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui', TODO(GYP) |
223 "//build/config/linux:gio", | 223 "//build/config/linux:gio", |
224 ] | 224 ] |
225 } | 225 } |
226 if (is_win || is_mac || is_desktop_linux) { | 226 if (is_win || is_mac || is_desktop_linux) { |
227 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_sources, | 227 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_sources, |
228 ".", "//chrome") | 228 ".", "//chrome") |
229 } | 229 } |
230 if (is_chromeos || is_android) { | |
231 sources += rebase_path( | |
232 gypi_values.chrome_browser_ui_android_chromeos_sources, | |
233 ".", "//chrome") | |
234 } | |
235 if (use_aura) { | 230 if (use_aura) { |
236 sources += rebase_path(gypi_values.chrome_browser_ui_aura_sources, | 231 sources += rebase_path(gypi_values.chrome_browser_ui_aura_sources, |
237 ".", "//chrome") | 232 ".", "//chrome") |
238 deps += [ | 233 deps += [ |
239 # aura uses some of ash resources. | 234 # aura uses some of ash resources. |
240 "//ash/resources", | 235 "//ash/resources", |
241 "//ui/aura", | 236 "//ui/aura", |
242 "//ui/keyboard", | 237 "//ui/keyboard", |
243 "//ui/keyboard:resources", | 238 "//ui/keyboard:resources", |
244 "//ui/wm", | 239 "//ui/wm", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 script = "//chrome/tools/build/mac/generate_localizer" | 410 script = "//chrome/tools/build/mac/generate_localizer" |
416 sources = [ ] | 411 sources = [ ] |
417 table_path = "$target_gen_dir/ui_localizer_table.h" | 412 table_path = "$target_gen_dir/ui_localizer_table.h" |
418 outputs = [ table_path ] | 413 outputs = [ table_path ] |
419 args = [ rebase_path(table_path, root_build_dir) ] + | 414 args = [ rebase_path(table_path, root_build_dir) ] + |
420 rebase_path(nib_gypi_values.mac_translated_xibs, | 415 rebase_path(nib_gypi_values.mac_translated_xibs, |
421 root_build_dir, | 416 root_build_dir, |
422 "//chrome") | 417 "//chrome") |
423 } | 418 } |
424 } | 419 } |
OLD | NEW |