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

Side by Side Diff: BUILD.gn

Issue 361633002: [Android][gn] Add android resources templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-java
Patch Set: Created 6 years, 5 months 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 | base/BUILD.gn » ('j') | build/android/gyp/util/build_utils.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "//rlz:rlz_lib", 128 "//rlz:rlz_lib",
129 ] 129 ]
130 } 130 }
131 131
132 if (cpu_arch == "x86" || cpu_arch == "x64") { 132 if (cpu_arch == "x86" || cpu_arch == "x64") {
133 # YASM is x86/x64 only. 133 # YASM is x86/x64 only.
134 deps += [ "//third_party/yasm($host_toolchain)" ] 134 deps += [ "//third_party/yasm($host_toolchain)" ]
135 } 135 }
136 136
137 if (is_android) { 137 if (is_android) {
138 deps += [
139 "//ui/android:ui_java"
140 ]
141
138 deps -= [ 142 deps -= [
139 "//cc", 143 "//cc",
140 "//chrome/browser/devtools", # Blocked on content. 144 "//chrome/browser/devtools", # Blocked on content.
141 "//chrome/browser/ui/views", # Blocked on content. 145 "//chrome/browser/ui/views", # Blocked on content.
142 "//chrome/common", # Blocked on content. 146 "//chrome/common", # Blocked on content.
143 "//chrome/plugin", # Blocked on content. 147 "//chrome/plugin", # Blocked on content.
144 "//chrome/renderer", # Blocked on content. 148 "//chrome/renderer", # Blocked on content.
145 "//chrome/utility", # Blocked on content. 149 "//chrome/utility", # Blocked on content.
146 "//content", 150 "//content",
147 "//extensions/common/api:extensions_api", 151 "//extensions/common/api:extensions_api",
(...skipping 26 matching lines...) Expand all
174 ] 178 ]
175 } 179 }
176 180
177 if (use_ozone) { 181 if (use_ozone) {
178 deps += [ 182 deps += [
179 "//ui/events/ozone:events_ozone", 183 "//ui/events/ozone:events_ozone",
180 "//ui/events/ozone:events_ozone_evdev", 184 "//ui/events/ozone:events_ozone_evdev",
181 ] 185 ]
182 } 186 }
183 } 187 }
OLDNEW
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | build/android/gyp/util/build_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698