OLD | NEW |
---|---|
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("//chrome/version.gni") | 7 import("//chrome/version.gni") |
8 import("//third_party/icu/config.gni") | 8 import("//third_party/icu/config.gni") |
9 | 9 |
10 # GYP: //chrome/chrome.gyp:chrome_java (resources part) | 10 # GYP: //chrome/chrome.gyp:chrome_java (resources part) |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
163 | 163 |
164 deps = [ | 164 deps = [ |
165 "//chrome/browser/ui", | 165 "//chrome/browser/ui", |
166 "//chrome:chrome_android_core", | 166 "//chrome:chrome_android_core", |
167 "//base", | 167 "//base", |
168 "//base/allocator", | 168 "//base/allocator", |
169 "//content/public/app:browser", | 169 "//content/public/app:browser", |
170 "//skia", | 170 "//skia", |
171 ] | 171 ] |
172 | 172 |
173 ldflags = [ "-Wl,--gc-sections" ] | |
Lei Zhang
2014/10/24 21:57:04
Should this reference http://crbug.com/159847 ?
cjhopman
2014/10/27 07:32:07
Yes, it should. Done.
| |
174 | |
173 # TODO(GYP): | 175 # TODO(GYP): |
174 #[ 'order_profiling!=0', { | 176 #[ 'order_profiling!=0', { |
175 #'conditions': [ | 177 #'conditions': [ |
176 #[ 'OS=="android"', { | 178 #[ 'OS=="android"', { |
177 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], | 179 #'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], |
178 #}], | 180 #}], |
179 #], | 181 #], |
180 #}], | 182 #}], |
181 } | 183 } |
182 | 184 |
183 # TODO(GYP, cjhopman): make chrome_shell_base actually link and then move it to | |
184 # deps. Also, actually compile the main delegates at that point. | |
185 # GYP: //chrome/chrome_shell.gypi:libchromeshell | 185 # GYP: //chrome/chrome_shell.gypi:libchromeshell |
186 shared_library("chrome_shell") { | 186 shared_library("chrome_shell") { |
187 testonly = true | 187 testonly = true |
188 sources = [ | 188 sources = [ |
189 # This file must always be included in the shared_library step to ensure | 189 # This file must always be included in the shared_library step to ensure |
190 # JNI_OnLoad is exported. | 190 # JNI_OnLoad is exported. |
191 #"//chrome/app/android/chrome_jni_onload.cc", | 191 "//chrome/app/android/chrome_jni_onload.cc", |
192 #"shell/chrome_main_delegate_chrome_shell_android.cc", | 192 "shell/chrome_main_delegate_chrome_shell_android.cc", |
193 #"shell/chrome_main_delegate_chrome_shell_android.h", | 193 "shell/chrome_main_delegate_chrome_shell_android.h", |
194 ] | 194 ] |
195 deps = [ | 195 deps = [ |
196 #":chrome_shell_base", | 196 ":chrome_shell_base", |
197 ] | |
198 deps = [ ":chrome_java" ] | |
199 datadeps = [ | |
200 ":chrome_shell_base" | |
201 ] | 197 ] |
202 } | 198 } |
203 | 199 |
204 # GYP: //chrome/chrome_shell.gypi:libchromesyncshell | 200 # GYP: //chrome/chrome_shell.gypi:libchromesyncshell |
205 shared_library("chrome_sync_shell") { | 201 shared_library("chrome_sync_shell") { |
206 testonly = true | 202 testonly = true |
207 sources = [ | 203 sources = [ |
208 # This file must always be included in the shared_library step to ensure | 204 # This file must always be included in the shared_library step to ensure |
209 # JNI_OnLoad is exported. | 205 # JNI_OnLoad is exported. |
210 #"//chrome/app/android/chrome_jni_onload.cc", | 206 #"//chrome/app/android/chrome_jni_onload.cc", |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
469 process_version("chrome_version_java") { | 465 process_version("chrome_version_java") { |
470 source = "java/ChromeVersionConstants.java.version" | 466 source = "java/ChromeVersionConstants.java.version" |
471 output = chrome_version_java_file | 467 output = chrome_version_java_file |
472 } | 468 } |
473 | 469 |
474 zip("chrome_version_srcjar") { | 470 zip("chrome_version_srcjar") { |
475 inputs = [ chrome_version_java_file ] | 471 inputs = [ chrome_version_java_file ] |
476 output = "$target_gen_dir/$target_name.srcjar" | 472 output = "$target_gen_dir/$target_name.srcjar" |
477 base_dir = chrome_version_java_dir | 473 base_dir = chrome_version_java_dir |
478 } | 474 } |
OLD | NEW |