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

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

Issue 1149893018: Fixes for GN Android build inputs/outputs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « build/config/android/rules.gni ('k') | components/resource_provider/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/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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 shared_library("chrome_sync_shell") { 213 shared_library("chrome_sync_shell") {
214 testonly = true 214 testonly = true
215 sources = [ 215 sources = [
216 #"shell/chrome_shell_entry_point.cc", 216 #"shell/chrome_shell_entry_point.cc",
217 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc", 217 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc",
218 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.h", 218 #"sync_shell/chrome_main_delegate_chrome_sync_shell_android.h",
219 ] 219 ]
220 deps = [ 220 deps = [
221 "//sync:test_support_sync_fake_server_android", 221 "//sync:test_support_sync_fake_server_android",
222 ] 222 ]
223 datadeps = [ 223 data_deps = [ ":chrome_shell_base" ]
224 ":chrome_shell_base",
225 ]
226 } 224 }
227 225
228 # GYP: N/A 226 # GYP: N/A
229 android_resources("chrome_shell_resources") { 227 android_resources("chrome_shell_resources") {
230 deps = [ 228 deps = [
231 ":chrome_java_resources", 229 ":chrome_java_resources",
232 ] 230 ]
233 testonly = true 231 testonly = true
234 resource_dirs = [ "shell/res" ] 232 resource_dirs = [ "shell/res" ]
235 custom_package = "org.chromium.chrome.shell" 233 custom_package = "org.chromium.chrome.shell"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 android_apk("chrome_shell_test_apk") { 462 android_apk("chrome_shell_test_apk") {
465 testonly = true 463 testonly = true
466 apk_under_test = ":chrome_shell_apk" 464 apk_under_test = ":chrome_shell_apk"
467 deps = [ 465 deps = [
468 ":chrome_javatests", 466 ":chrome_javatests",
469 ":chrome_shell_test_java", 467 ":chrome_shell_test_java",
470 "//sync/android:sync_javatests", 468 "//sync/android:sync_javatests",
471 "//testing/android/broker:broker_java", 469 "//testing/android/broker:broker_java",
472 "//ui/android:ui_javatests", 470 "//ui/android:ui_javatests",
473 ] 471 ]
474 datadeps = [ 472 data_deps = [ "//testing/android/driver:driver_apk" ]
475 "//testing/android/driver:driver_apk",
476 ]
477 apk_name = "ChromeShellTest" 473 apk_name = "ChromeShellTest"
478 android_manifest = "shell/javatests/AndroidManifest.xml" 474 android_manifest = "shell/javatests/AndroidManifest.xml"
479 } 475 }
480 476
481 # GYP: //chrome/chrome_tests.gypi:chrome_junit_tests 477 # GYP: //chrome/chrome_tests.gypi:chrome_junit_tests
482 junit_binary("chrome_junit_tests") { 478 junit_binary("chrome_junit_tests") {
483 java_files = [ 479 java_files = [
484 "junit/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtilsTest.ja va", 480 "junit/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtilsTest.ja va",
485 "junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java", 481 "junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java",
486 "junit/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteContro llerTest.java", 482 "junit/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteContro llerTest.java",
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 731
736 copy_ex("chrome_public_apk_assets") { 732 copy_ex("chrome_public_apk_assets") {
737 clear_dir = true 733 clear_dir = true
738 dest = chrome_public_apk_assets_dir 734 dest = chrome_public_apk_assets_dir
739 gypi_sources = chrome_android_paks_gypi.chrome_android_pak_input_resources 735 gypi_sources = chrome_android_paks_gypi.chrome_android_pak_input_resources
740 cleaned_sources = rebase_path(gypi_sources, "<(PRODUCT_DIR)") 736 cleaned_sources = rebase_path(gypi_sources, "<(PRODUCT_DIR)")
741 sources = rebase_path(cleaned_sources, ".", root_out_dir) 737 sources = rebase_path(cleaned_sources, ".", root_out_dir)
742 if (icu_use_data_file) { 738 if (icu_use_data_file) {
743 sources += [ "$root_build_dir/icudtl.dat" ] 739 sources += [ "$root_build_dir/icudtl.dat" ]
744 } 740 }
741 deps = [
742 "//chrome:packed_extra_resources",
743 "//chrome:packed_resources",
744 "//third_party/icu:icudata",
745 ]
745 746
746 if (v8_use_external_startup_data) { 747 if (v8_use_external_startup_data) {
747 sources += [ 748 sources += [
748 "$root_build_dir/natives_blob.bin", 749 "$root_build_dir/natives_blob.bin",
749 "$root_build_dir/snapshot_blob.bin", 750 "$root_build_dir/snapshot_blob.bin",
750 ] 751 ]
752 deps += [ "//v8" ]
751 } 753 }
752 754
753 sources += [ "$root_build_dir/resources.pak" ] 755 sources += [ "$root_build_dir/resources.pak" ]
754 } 756 }
755 757
756 # GYP: //chrome/android/chrome_apk.gyp:chrome_apk_manifest 758 # GYP: //chrome/android/chrome_apk.gyp:chrome_apk_manifest
757 jinja_template("chrome_public_apk_manifest") { 759 jinja_template("chrome_public_apk_manifest") {
758 input = "java_staging/AndroidManifest.xml" 760 input = "java_staging/AndroidManifest.xml"
759 output = "$root_gen_dir/chrome_public_apk_manifest/AndroidManifest.xml" 761 output = "$root_gen_dir/chrome_public_apk_manifest/AndroidManifest.xml"
760 variables = jinja_variables + [ "min_sdk_version=16" ] 762 variables = jinja_variables + [ "min_sdk_version=16" ]
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 822
821 # TODO(GYP,cjhopman): Does this need version code/name? 823 # TODO(GYP,cjhopman): Does this need version code/name?
822 apk_name = "ChromePublicTest" 824 apk_name = "ChromePublicTest"
823 apk_under_test = ":chrome_public_apk" 825 apk_under_test = ":chrome_public_apk"
824 android_manifest = chrome_public_test_apk_manifest 826 android_manifest = chrome_public_test_apk_manifest
825 deps = [ 827 deps = [
826 "//chrome/test/android:chrome_staging_test_support_java", 828 "//chrome/test/android:chrome_staging_test_support_java",
827 "//chrome/android:chrome_staging_test_java", 829 "//chrome/android:chrome_staging_test_java",
828 ] 830 ]
829 } 831 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | components/resource_provider/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698