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

Side by Side Diff: content/app/BUILD.gn

Issue 1460633005: Aura on Android: Remove unnecessary dependencies on ui/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address feedback from ps5. 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
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ui.gni")
6 7
7 content_app_sources = [ 8 content_app_sources = [
8 "android/app_jni_registrar.cc", 9 "android/app_jni_registrar.cc",
9 "android/app_jni_registrar.h", 10 "android/app_jni_registrar.h",
10 "android/child_process_service.cc", 11 "android/child_process_service.cc",
11 "android/child_process_service.h", 12 "android/child_process_service.h",
12 "android/content_jni_onload.cc", 13 "android/content_jni_onload.cc",
13 "android/content_main.cc", 14 "android/content_main.cc",
14 "android/content_main.h", 15 "android/content_main.h",
15 "android/library_loader_hooks.cc", 16 "android/library_loader_hooks.cc",
(...skipping 26 matching lines...) Expand all
42 43
43 if (is_win) { 44 if (is_win) {
44 content_app_deps += [ "//sandbox" ] 45 content_app_deps += [ "//sandbox" ]
45 } else if (is_android) { 46 } else if (is_android) {
46 content_app_sources -= [ "content_main.cc" ] 47 content_app_sources -= [ "content_main.cc" ]
47 content_app_deps += [ 48 content_app_deps += [
48 "//content/public/android:jni", 49 "//content/public/android:jni",
49 "//device/vibration", 50 "//device/vibration",
50 "//skia", 51 "//skia",
51 "//third_party/android_tools:cpu_features", 52 "//third_party/android_tools:cpu_features",
52 "//ui/android",
53 ] 53 ]
54 if (!use_aura) {
55 content_app_deps += [ "//ui/android" ]
56 }
54 } 57 }
55 58
56 if (is_ios) { 59 if (is_ios) {
57 content_app_sources -= [ 60 content_app_sources -= [
58 "content_main.cc", 61 "content_main.cc",
59 "mojo/mojo_init.cc", 62 "mojo/mojo_init.cc",
60 "mojo/mojo_init.h", 63 "mojo/mojo_init.h",
61 ] 64 ]
62 } else { 65 } else {
63 content_app_deps += [ 66 content_app_deps += [
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 source_set("child") { 108 source_set("child") {
106 visibility = [ "//content/public/app:child" ] 109 visibility = [ "//content/public/app:child" ]
107 110
108 sources = content_app_sources 111 sources = content_app_sources
109 configs += content_app_extra_configs 112 configs += content_app_extra_configs
110 deps = content_app_deps 113 deps = content_app_deps
111 114
112 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] 115 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ]
113 } 116 }
114 } 117 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698