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

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

Issue 1948503002: 🌞 Upstream targets for building native libraries for chrome/monochrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixdeps Created 4 years, 7 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/config.gni ('k') | chrome/android/chrome_apk.gyp » ('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_overrides/v8.gni") 7 import("//build_overrides/v8.gni")
8 import("//chrome/android/chrome_public_apk_tmpl.gni") 8 import("//chrome/android/chrome_public_apk_tmpl.gni")
9 import("//chrome/common/features.gni") 9 import("//chrome/common/features.gni")
10 import("//chrome/version.gni") 10 import("//chrome/version.gni")
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 jinja_template_resources("chrome_sync_shell_apk_template_resources") { 421 jinja_template_resources("chrome_sync_shell_apk_template_resources") {
422 resources = [ 422 resources = [
423 "java/res_template/xml/searchable.xml", 423 "java/res_template/xml/searchable.xml",
424 "java/res_template/xml/syncadapter.xml", 424 "java/res_template/xml/syncadapter.xml",
425 ] 425 ]
426 res_dir = "java/res_template" 426 res_dir = "java/res_template"
427 variables = chrome_sync_shell_jinja_variables 427 variables = chrome_sync_shell_jinja_variables
428 } 428 }
429 429
430 # GYP: //chrome/android/chrome_apk.gyp:libchrome_public 430 # GYP: //chrome/android/chrome_apk.gyp:libchrome_public
431 # TODO(yfriedman): Remove and re-use chrome target.
431 shared_library("chrome_public") { 432 shared_library("chrome_public") {
432 deps = [ 433 deps = [
433 "//build/config/sanitizers:deps", 434 "//build/config/sanitizers:deps",
434 "//chrome:chrome_android_core", 435 "//chrome:chrome_android_core",
435 ] 436 ]
436 sources = chrome_apk_gypi.chrome_public_app_native_sources 437 sources = chrome_apk_gypi.chrome_app_native_sources
438 }
439
440 # GYP: none
441 shared_library("chrome") {
442 sources = chrome_apk_gypi.chrome_app_native_sources
443 deps = [
444 "//build/config/sanitizers:deps",
445 "//chrome:chrome_android_core",
446 ]
447
448 if (is_android && use_order_profiling) {
449 deps += [ "//tools/cygprofile" ]
450 }
451
452 public_configs = extra_chrome_shared_library_configs
453 }
454
455 # GYP: none
456 if (!defined(webview_only_libmonochrome) || !webview_only_libmonochrome) {
457 shared_library("monochrome") {
458 sources = chrome_apk_gypi.monochrome_app_native_sources
459 deps = [
460 "//android_webview:common",
461 "//chrome:chrome_android_core",
462 ]
463
464 configs -= [ "//build/config/android:hide_native_jni_exports" ]
465 if (is_android && use_order_profiling) {
466 deps += [ "//tools/cygprofile" ]
467 }
468
469 public_configs = extra_chrome_shared_library_configs
470 }
437 } 471 }
438 472
439 # GYP: //chrome/android/chrome_apk.gyp:libchrome_sync_shell 473 # GYP: //chrome/android/chrome_apk.gyp:libchrome_sync_shell
440 shared_library("chrome_sync_shell") { 474 shared_library("chrome_sync_shell") {
441 testonly = true 475 testonly = true
442 deps = [ 476 deps = [
443 "//build/config/sanitizers:deps", 477 "//build/config/sanitizers:deps",
444 "//chrome:chrome_android_core", 478 "//chrome:chrome_android_core",
445 "//sync", 479 "//sync",
446 "//sync:test_support_sync_fake_server_android", 480 "//sync:test_support_sync_fake_server_android",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 instrumentation_test_apk("chrome_sync_shell_test_apk") { 598 instrumentation_test_apk("chrome_sync_shell_test_apk") {
565 apk_name = "ChromeSyncShellTest" 599 apk_name = "ChromeSyncShellTest"
566 apk_under_test = ":chrome_sync_shell_apk" 600 apk_under_test = ":chrome_sync_shell_apk"
567 android_manifest = chrome_sync_shell_test_apk_manifest 601 android_manifest = chrome_sync_shell_test_apk_manifest
568 deps = [ 602 deps = [
569 ":chrome_sync_shell_test_apk_java", 603 ":chrome_sync_shell_test_apk_java",
570 ":chrome_sync_shell_test_apk_manifest", 604 ":chrome_sync_shell_test_apk_manifest",
571 ] 605 ]
572 proguard_enabled = !is_debug 606 proguard_enabled = !is_debug
573 } 607 }
OLDNEW
« no previous file with comments | « build/config/android/config.gni ('k') | chrome/android/chrome_apk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698