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("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("../../chrome_browser_ui.gypi") ], | 10 [ rebase_path("../../chrome_browser_ui.gypi") ], |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 "//components/suggestions/proto", | 96 "//components/suggestions/proto", |
97 "//components/url_formatter", | 97 "//components/url_formatter", |
98 "//device/nfc", | 98 "//device/nfc", |
99 "//media", | 99 "//media", |
100 "//net:net_with_v8", | 100 "//net:net_with_v8", |
101 "//storage/browser", | 101 "//storage/browser", |
102 "//storage/common", | 102 "//storage/common", |
103 "//third_party/WebKit/public:resources", | 103 "//third_party/WebKit/public:resources", |
104 "//third_party/adobe/flash:flapper_version_h", | 104 "//third_party/adobe/flash:flapper_version_h", |
105 "//third_party/leveldatabase", | 105 "//third_party/leveldatabase", |
106 "//third_party/mojo/src/mojo/edk/system", | |
107 "//third_party/libjingle", | 106 "//third_party/libjingle", |
108 "//third_party/re2", | 107 "//third_party/re2", |
109 "//ui/base/ime", | 108 "//ui/base/ime", |
110 "//ui/compositor", | 109 "//ui/compositor", |
111 "//ui/surface", | 110 "//ui/surface", |
112 "//ui/web_dialogs", | 111 "//ui/web_dialogs", |
113 "//v8", | 112 "//v8", |
114 ] | 113 ] |
| 114 |
| 115 if (use_chrome_edk) { |
| 116 deps += [ "//mojo/edk/system" ] |
| 117 } else { |
| 118 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 119 } |
115 } else { | 120 } else { |
116 # iOS. | 121 # iOS. |
117 sources += | 122 sources += |
118 rebase_path(gypi_values.chrome_browser_ui_ios_sources, ".", "//chrome") | 123 rebase_path(gypi_values.chrome_browser_ui_ios_sources, ".", "//chrome") |
119 deps += [ "//net" ] | 124 deps += [ "//net" ] |
120 } | 125 } |
121 | 126 |
122 if (!is_android && !is_ios) { | 127 if (!is_android && !is_ios) { |
123 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, | 128 sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, |
124 ".", | 129 ".", |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 [ "//third_party/google_toolbox_for_mac:google_toolbox_for_mac_config" ] | 343 [ "//third_party/google_toolbox_for_mac:google_toolbox_for_mac_config" ] |
339 } else { # non-Mac. | 344 } else { # non-Mac. |
340 sources += rebase_path(gypi_values.chrome_browser_ui_non_mac_sources, | 345 sources += rebase_path(gypi_values.chrome_browser_ui_non_mac_sources, |
341 ".", | 346 ".", |
342 "//chrome") | 347 "//chrome") |
343 } | 348 } |
344 | 349 |
345 if (is_win) { | 350 if (is_win) { |
346 sources += | 351 sources += |
347 rebase_path(gypi_values.chrome_browser_ui_win_sources, ".", "//chrome") | 352 rebase_path(gypi_values.chrome_browser_ui_win_sources, ".", "//chrome") |
348 sources -= [ | 353 sources -= [ "views/frame/taskbar_decorator.cc" ] |
349 "views/frame/taskbar_decorator.cc", | |
350 ] | |
351 public_deps += [ | 354 public_deps += [ |
352 "//ui/views", | 355 "//ui/views", |
353 "//ui/views/controls/webview", | 356 "//ui/views/controls/webview", |
354 ] | 357 ] |
355 deps += [ | 358 deps += [ |
356 "//chrome/browser/metro_utils", | 359 "//chrome/browser/metro_utils", |
357 "//chrome/installer/util:strings", | 360 "//chrome/installer/util:strings", |
358 "//google_update", | 361 "//google_update", |
359 "//third_party/wtl", | 362 "//third_party/wtl", |
360 "//third_party/iaccessible2", | 363 "//third_party/iaccessible2", |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 "//chrome/browser", | 533 "//chrome/browser", |
531 "//content/public/browser", | 534 "//content/public/browser", |
532 "//content/public/common", | 535 "//content/public/common", |
533 "//content/test:test_support", | 536 "//content/test:test_support", |
534 "//net:test_support", | 537 "//net:test_support", |
535 "//skia", | 538 "//skia", |
536 "//testing/gtest", | 539 "//testing/gtest", |
537 "//ui/base", | 540 "//ui/base", |
538 ] | 541 ] |
539 } | 542 } |
OLD | NEW |