Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 } 326 }
327 327
328 if (is_android) { 328 if (is_android) {
329 deps += [ 329 deps += [
330 "//chrome/browser:jni_headers", 330 "//chrome/browser:jni_headers",
331 "//crypto:platform", 331 "//crypto:platform",
332 ] 332 ]
333 333
334 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] 334 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ]
335 335
336 if (!use_aura) { 336 if (android_java_ui) {
337 sources += 337 sources +=
338 rebase_path(gypi_values.chrome_browser_ui_android_non_aura_sources, 338 rebase_path(gypi_values.chrome_browser_ui_android_java_ui_sources,
339 ".", 339 ".",
340 "//chrome") 340 "//chrome")
341 deps += [ "//components/web_contents_delegate_android" ] 341 deps += [ "//components/web_contents_delegate_android" ]
342 deps -= [ "//ui/events" ] 342 deps -= [ "//ui/events" ]
343 } 343 }
344 } 344 }
345 345
346 if (is_mac) { 346 if (is_mac) {
347 sources += 347 sources +=
348 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") 348 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome")
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 "//chrome/browser", 598 "//chrome/browser",
599 "//content/public/browser", 599 "//content/public/browser",
600 "//content/public/common", 600 "//content/public/common",
601 "//content/test:test_support", 601 "//content/test:test_support",
602 "//net:test_support", 602 "//net:test_support",
603 "//skia", 603 "//skia",
604 "//testing/gtest", 604 "//testing/gtest",
605 "//ui/base", 605 "//ui/base",
606 ] 606 ]
607 } 607 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698