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("//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 Loading... | |
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") { | |
Yaron
2016/05/03 15:19:41
err, I also omitted the "lib" prefix in these vers
Torne
2016/05/04 12:33:04
It's also redundant in gyp ;)
Yaron
2016/05/04 13:07:44
oh. I vaguely recall it not being redundant at one
| |
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" ] | |
michaelbai
2016/05/03 19:30:17
Question, Is this sufficient to use order profilin
Yaron
2016/05/03 20:14:48
the shared library config below is the key thing.
michaelbai
2016/05/03 20:54:01
I have never applied the order profiling to monoch
| |
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 Loading... | |
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 } |
OLD | NEW |