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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 "//ash/resources", | 234 "//ash/resources", |
235 "//ui/aura", | 235 "//ui/aura", |
236 "//ui/keyboard", | 236 "//ui/keyboard", |
237 "//ui/keyboard:resources", | 237 "//ui/keyboard:resources", |
238 "//ui/wm", | 238 "//ui/wm", |
239 ] | 239 ] |
240 if (!is_chromeos) { | 240 if (!is_chromeos) { |
241 sources += rebase_path(gypi_values.chrome_browser_ui_aura_non_chromeos, | 241 sources += rebase_path(gypi_values.chrome_browser_ui_aura_non_chromeos, |
242 ".", "//chrome") | 242 ".", "//chrome") |
243 } | 243 } |
244 } else { # Non-Aura. | |
245 sources += rebase_path(gypi_values.chrome_browser_ui_non_aura_sources, | |
246 ".", "//chrome") | |
247 } | 244 } |
248 if (ui_compositor_image_transport) { | 245 if (ui_compositor_image_transport) { |
249 deps += [ "//ui/gl" ] | 246 deps += [ "//ui/gl" ] |
250 } | 247 } |
251 if (use_nss_certs) { | 248 if (use_nss_certs) { |
252 sources += rebase_path(gypi_values.chrome_browser_ui_nss_sources, | 249 sources += rebase_path(gypi_values.chrome_browser_ui_nss_sources, |
253 ".", "//chrome") | 250 ".", "//chrome") |
254 } | 251 } |
255 if (!enable_themes) { | 252 if (!enable_themes) { |
256 sources -= [ "webui/theme_source.cc" ] | 253 sources -= [ "webui/theme_source.cc" ] |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 script = "//chrome/tools/build/mac/generate_localizer" | 411 script = "//chrome/tools/build/mac/generate_localizer" |
415 sources = [ ] | 412 sources = [ ] |
416 table_path = "$target_gen_dir/ui_localizer_table.h" | 413 table_path = "$target_gen_dir/ui_localizer_table.h" |
417 outputs = [ table_path ] | 414 outputs = [ table_path ] |
418 args = [ rebase_path(table_path, root_build_dir) ] + | 415 args = [ rebase_path(table_path, root_build_dir) ] + |
419 rebase_path(nib_gypi_values.mac_translated_xibs, | 416 rebase_path(nib_gypi_values.mac_translated_xibs, |
420 root_build_dir, | 417 root_build_dir, |
421 "//chrome") | 418 "//chrome") |
422 } | 419 } |
423 } | 420 } |
OLD | NEW |