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

Side by Side Diff: chrome/browser/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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 ] 708 ]
709 } 709 }
710 710
711 if (!is_chrome_branded) { 711 if (!is_chrome_branded) {
712 sources += [ 712 sources += [
713 "search/local_files_ntp_source.cc", 713 "search/local_files_ntp_source.cc",
714 "search/local_files_ntp_source.h", 714 "search/local_files_ntp_source.h",
715 ] 715 ]
716 } 716 }
717 717
718 if (is_android) { 718 if (android_java_ui) {
719 sources += 719 sources += rebase_path(gypi_values.chrome_browser_android_java_ui_sources,
720 rebase_path(gypi_values.chrome_browser_android_sources, ".", "//chrome") 720 ".",
721 "//chrome")
721 sources += rebase_path(gypi_values.chrome_browser_bookmark_android_sources, 722 sources += rebase_path(gypi_values.chrome_browser_bookmark_android_sources,
722 ".", 723 ".",
723 "//chrome") 724 "//chrome")
724 deps += [ 725 deps += [
725 ":client_discourse_context_proto", 726 ":client_discourse_context_proto",
726 ":delta_file_proto", 727 ":delta_file_proto",
727 ":jni_headers", 728 ":jni_headers",
728 "//components/cdm/browser", 729 "//components/cdm/browser",
729 "//components/data_usage/android", 730 "//components/data_usage/android",
730 "//components/enhanced_bookmarks", 731 "//components/enhanced_bookmarks",
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") 1265 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1265 deps = [ 1266 deps = [
1266 "//components/google/core/browser", 1267 "//components/google/core/browser",
1267 "//components/omnibox/browser", 1268 "//components/omnibox/browser",
1268 "//components/rlz", 1269 "//components/rlz",
1269 "//components/search_engines", 1270 "//components/search_engines",
1270 "//rlz:rlz_lib", 1271 "//rlz:rlz_lib",
1271 ] 1272 ]
1272 } 1273 }
1273 } 1274 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698