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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 "//chrome/browser/ui/views", | 274 "//chrome/browser/ui/views", |
275 "//components/feedback/proto", | 275 "//components/feedback/proto", |
276 "//third_party/libusb", | 276 "//third_party/libusb", |
277 "//ui/events", | 277 "//ui/events", |
278 ] | 278 ] |
279 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, | 279 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, |
280 ".", "//chrome") | 280 ".", "//chrome") |
281 | 281 |
282 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 282 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
283 } else { # Non-Android. | 283 } else { # Non-Android. |
| 284 deps += [ |
| 285 "//components/sad_tab", |
| 286 ] |
284 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, | 287 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, |
285 ".", "//chrome") | 288 ".", "//chrome") |
286 } | 289 } |
287 | 290 |
288 if (is_mac) { | 291 if (is_mac) { |
289 sources += rebase_path(gypi_values.chrome_browser_ui_mac_sources, | 292 sources += rebase_path(gypi_values.chrome_browser_ui_mac_sources, |
290 ".", "//chrome") | 293 ".", "//chrome") |
291 sources -= [ | 294 sources -= [ |
292 # Mac has its own way of drawing tabs. | 295 # Mac has its own way of drawing tabs. |
293 "tabs/tab_resources.cc", | 296 "tabs/tab_resources.cc", |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 "//net:test_support", | 465 "//net:test_support", |
463 "//skia", | 466 "//skia", |
464 "//testing/gtest", | 467 "//testing/gtest", |
465 "//ui/base", | 468 "//ui/base", |
466 ] | 469 ] |
467 | 470 |
468 forward_dependent_configs_from = [ | 471 forward_dependent_configs_from = [ |
469 ":ui", | 472 ":ui", |
470 ] | 473 ] |
471 } | 474 } |
OLD | NEW |