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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 "//components/suggestions/proto", | 110 "//components/suggestions/proto", |
111 "//components/url_formatter", | 111 "//components/url_formatter", |
112 "//device/nfc", | 112 "//device/nfc", |
113 "//media", | 113 "//media", |
114 "//net:net_with_v8", | 114 "//net:net_with_v8", |
115 "//storage/browser", | 115 "//storage/browser", |
116 "//storage/common", | 116 "//storage/common", |
117 "//third_party/WebKit/public:resources", | 117 "//third_party/WebKit/public:resources", |
118 "//third_party/adobe/flash:flapper_version_h", | 118 "//third_party/adobe/flash:flapper_version_h", |
119 "//third_party/leveldatabase", | 119 "//third_party/leveldatabase", |
| 120 "//third_party/libjingle", |
120 "//third_party/mojo/src/mojo/edk/system", | 121 "//third_party/mojo/src/mojo/edk/system", |
121 "//third_party/libjingle", | |
122 "//third_party/re2", | 122 "//third_party/re2", |
123 "//ui/base/ime", | 123 "//ui/base/ime", |
124 "//ui/compositor", | 124 "//ui/compositor", |
125 "//ui/surface", | 125 "//ui/surface", |
126 "//ui/web_dialogs", | 126 "//ui/web_dialogs", |
127 "//v8", | 127 "//v8", |
128 ] | 128 ] |
129 } else { | 129 } else { |
130 # iOS. | 130 # iOS. |
131 sources += | 131 sources += |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 if (!enable_themes) { | 323 if (!enable_themes) { |
324 sources -= [ "webui/theme_source.cc" ] | 324 sources -= [ "webui/theme_source.cc" ] |
325 } | 325 } |
326 if (enable_print_preview) { | 326 if (enable_print_preview) { |
327 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, | 327 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, |
328 ".", | 328 ".", |
329 "//chrome") | 329 "//chrome") |
330 } | 330 } |
331 | 331 |
332 if (is_android) { | 332 if (is_android) { |
333 deps += [ | 333 deps += [ "//crypto:platform" ] |
334 "//chrome/browser:jni_headers", | |
335 "//crypto:platform", | |
336 ] | |
337 | 334 |
338 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 335 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
339 | 336 |
340 if (!use_aura) { | 337 if (android_java_ui) { |
341 sources += | 338 sources += |
342 rebase_path(gypi_values.chrome_browser_ui_android_non_aura_sources, | 339 rebase_path(gypi_values.chrome_browser_ui_android_java_ui_sources, |
343 ".", | 340 ".", |
344 "//chrome") | 341 "//chrome") |
345 deps += [ "//components/web_contents_delegate_android" ] | 342 deps += [ |
| 343 "//chrome/browser:jni_headers", |
| 344 "//components/web_contents_delegate_android", |
| 345 ] |
346 deps -= [ "//ui/events" ] | 346 deps -= [ "//ui/events" ] |
347 } | 347 } |
348 } | 348 } |
349 | 349 |
350 if (is_mac) { | 350 if (is_mac) { |
351 sources += | 351 sources += |
352 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") | 352 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") |
353 deps += [ | 353 deps += [ |
354 ":generate_localizer", | 354 ":generate_localizer", |
355 "//third_party/apple_sample_code", | 355 "//third_party/apple_sample_code", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 sources -= [ "views/frame/taskbar_decorator.cc" ] | 392 sources -= [ "views/frame/taskbar_decorator.cc" ] |
393 public_deps += [ | 393 public_deps += [ |
394 "//ui/views", | 394 "//ui/views", |
395 "//ui/views/controls/webview", | 395 "//ui/views/controls/webview", |
396 ] | 396 ] |
397 deps += [ | 397 deps += [ |
398 "//chrome/browser/metro_utils", | 398 "//chrome/browser/metro_utils", |
399 "//chrome/installer/util:strings", | 399 "//chrome/installer/util:strings", |
400 "//components/search_engines", | 400 "//components/search_engines", |
401 "//google_update", | 401 "//google_update", |
402 "//third_party/wtl", | |
403 "//third_party/iaccessible2", | 402 "//third_party/iaccessible2", |
404 "//third_party/isimpledom", | 403 "//third_party/isimpledom", |
| 404 "//third_party/wtl", |
405 "//ui/app_list", | 405 "//ui/app_list", |
406 ] | 406 ] |
407 if (!is_chrome_branded) { | 407 if (!is_chrome_branded) { |
408 deps -= [ "//google_update" ] | 408 deps -= [ "//google_update" ] |
409 sources -= [ "webui/help/version_updater_win.cc" ] | 409 sources -= [ "webui/help/version_updater_win.cc" ] |
410 sources += [ | 410 sources += [ |
411 "webui/help/version_updater_basic.cc", | 411 "webui/help/version_updater_basic.cc", |
412 "webui/help/version_updater_basic.h", | 412 "webui/help/version_updater_basic.h", |
413 ] | 413 ] |
414 } | 414 } |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 "//chrome/browser", | 602 "//chrome/browser", |
603 "//content/public/browser", | 603 "//content/public/browser", |
604 "//content/public/common", | 604 "//content/public/common", |
605 "//content/test:test_support", | 605 "//content/test:test_support", |
606 "//net:test_support", | 606 "//net:test_support", |
607 "//skia", | 607 "//skia", |
608 "//testing/gtest", | 608 "//testing/gtest", |
609 "//ui/base", | 609 "//ui/base", |
610 ] | 610 ] |
611 } | 611 } |
OLD | NEW |