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

Side by Side Diff: chrome/android/BUILD.gn

Issue 970243003: Refactoring chrome JNI registration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « chrome/BUILD.gn ('k') | chrome/android/shell/chrome_shell_entry_point.cc » ('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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//build/module_args/v8.gni") 7 import("//build/module_args/v8.gni")
8 import("//chrome/version.gni") 8 import("//chrome/version.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//third_party/icu/config.gni") 10 import("//third_party/icu/config.gni")
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], 172 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
173 #}], 173 #}],
174 } 174 }
175 175
176 # GYP: //chrome/chrome_shell.gypi:libchromeshell 176 # GYP: //chrome/chrome_shell.gypi:libchromeshell
177 shared_library("chrome_shell") { 177 shared_library("chrome_shell") {
178 testonly = true 178 testonly = true
179 sources = [ 179 sources = [
180 "shell/chrome_main_delegate_chrome_shell_android.cc", 180 "shell/chrome_main_delegate_chrome_shell_android.cc",
181 "shell/chrome_main_delegate_chrome_shell_android.h", 181 "shell/chrome_main_delegate_chrome_shell_android.h",
182 "shell/chrome_shell_entry_point.cc",
182 ] 183 ]
183 deps = [ 184 deps = [
184 ":chrome_shell_base", 185 ":chrome_shell_base",
185 ] 186 ]
186 187
187 # GYP: via base/files/protect_file_posix.gypi 188 # GYP: via base/files/protect_file_posix.gypi
188 # TODO(pasko): Remove this non-trivial linker wrapping as soon as 189 # TODO(pasko): Remove this non-trivial linker wrapping as soon as
189 # crbug.com/424562 is fixed. 190 # crbug.com/424562 is fixed.
190 if (!is_component_build) { 191 if (!is_component_build) {
191 ldflags = [ "-Wl,--wrap=close" ] 192 ldflags = [ "-Wl,--wrap=close" ]
192 deps += [ "//base:protect_file_posix" ] 193 deps += [ "//base:protect_file_posix" ]
193 } 194 }
194 } 195 }
195 196
196 # GYP: //chrome/chrome_shell.gypi:libchromesyncshell 197 # GYP: //chrome/chrome_shell.gypi:libchromesyncshell
197 shared_library("chrome_sync_shell") { 198 shared_library("chrome_sync_shell") {
198 testonly = true 199 testonly = true
199 sources = [ 200 sources = [
201 #"shell/chrome_shell_entry_point.cc",
200 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc", 202 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc",
201 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.h", 203 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.h",
202 ] 204 ]
203 deps = [ 205 deps = [
204 "//sync:test_support_sync_fake_server_android", 206 "//sync:test_support_sync_fake_server_android",
205 ] 207 ]
206 datadeps = [ 208 datadeps = [
207 ":chrome_shell_base", 209 ":chrome_shell_base",
208 ] 210 ]
209 } 211 }
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 ] 487 ]
486 } 488 }
487 489
488 zip("chrome_version_srcjar") { 490 zip("chrome_version_srcjar") {
489 inputs = [ 491 inputs = [
490 chrome_version_java_file, 492 chrome_version_java_file,
491 ] 493 ]
492 output = "$target_gen_dir/$target_name.srcjar" 494 output = "$target_gen_dir/$target_name.srcjar"
493 base_dir = chrome_version_java_dir 495 base_dir = chrome_version_java_dir
494 } 496 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/android/shell/chrome_shell_entry_point.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698