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

Side by Side Diff: base/base.gyp

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 ['include', '^atomicops_internals_x86_gcc\\.cc$'], 96 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
97 ], 97 ],
98 }], 98 }],
99 ['target_arch == "mipsel"', { 99 ['target_arch == "mipsel"', {
100 'sources/': [ 100 'sources/': [
101 ['include', '^atomicops_internals_mips_gcc\\.cc$'], 101 ['include', '^atomicops_internals_mips_gcc\\.cc$'],
102 ], 102 ],
103 }], 103 }],
104 ], 104 ],
105 'dependencies': [ 105 'dependencies': [
106 'base_java',
106 'base_jni_headers', 107 'base_jni_headers',
108 '../build/android/ndk.gyp:cpu_features',
107 '../third_party/ashmem/ashmem.gyp:ashmem', 109 '../third_party/ashmem/ashmem.gyp:ashmem',
108 ], 110 ],
109 'link_settings': { 111 'link_settings': {
110 'libraries': [ 112 'libraries': [
111 '-llog', 113 '-llog',
112 ], 114 ],
113 }, 115 },
114 'sources!': [ 116 'sources!': [
115 'debug/stack_trace_posix.cc', 117 'debug/stack_trace_posix.cc',
116 ], 118 ],
117 'includes': [
118 '../build/android/cpufeatures.gypi',
119 ],
120 }],
121 ['OS == "android" and _toolset == "target" and android_webview_build == 0', {
122 'dependencies': [
123 'base_java',
124 ],
125 }], 119 }],
126 ['os_bsd==1', { 120 ['os_bsd==1', {
127 'include_dirs': [ 121 'include_dirs': [
128 '/usr/local/include', 122 '/usr/local/include',
129 ], 123 ],
130 'link_settings': { 124 'link_settings': {
131 'libraries': [ 125 'libraries': [
132 '-L/usr/local/lib -lexecinfo', 126 '-L/usr/local/lib -lexecinfo',
133 ], 127 ],
134 }, 128 },
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 }, 183 },
190 }, 184 },
191 'copies': [ 185 'copies': [
192 { 186 {
193 'destination': '<(PRODUCT_DIR)/', 187 'destination': '<(PRODUCT_DIR)/',
194 'files': [ 188 'files': [
195 '../build/win/dbghelp_xp/dbghelp.dll', 189 '../build/win/dbghelp_xp/dbghelp.dll',
196 ], 190 ],
197 }, 191 },
198 ], 192 ],
193 'dependencies': [
194 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest',
195 ],
199 }], 196 }],
200 ['OS == "mac" or (OS == "ios" and _toolset == "host")', { 197 ['OS == "mac" or (OS == "ios" and _toolset == "host")', {
201 'link_settings': { 198 'link_settings': {
202 'libraries': [ 199 'libraries': [
203 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 200 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
204 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framewor k', 201 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framewor k',
205 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', 202 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
206 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 203 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
207 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 204 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
208 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', 205 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 'prefs/scoped_user_pref_update.h', 369 'prefs/scoped_user_pref_update.h',
373 'prefs/value_map_pref_store.cc', 370 'prefs/value_map_pref_store.cc',
374 'prefs/value_map_pref_store.h', 371 'prefs/value_map_pref_store.h',
375 'prefs/writeable_pref_store.h', 372 'prefs/writeable_pref_store.h',
376 ], 373 ],
377 'includes': [ 374 'includes': [
378 '../build/android/increase_size_for_speed.gypi', 375 '../build/android/increase_size_for_speed.gypi',
379 ], 376 ],
380 }, 377 },
381 { 378 {
382 # TODO(pasko): Remove this target when crbug.com/424562 is fixed.
383 # GN: //base:protect_file_posix
384 'target_name': 'protect_file_posix',
385 'conditions': [
386 ['os_posix == 1', {
387 'type': 'static_library',
388 'dependencies': [
389 'base',
390 ],
391 'sources': [
392 'files/protect_file_posix.cc',
393 ],
394 }, {
395 'type': 'none',
396 }],
397 ],
398 },
399 {
400 'target_name': 'base_prefs_test_support', 379 'target_name': 'base_prefs_test_support',
401 'type': 'static_library', 380 'type': 'static_library',
402 'dependencies': [ 381 'dependencies': [
403 'base', 382 'base',
404 'base_prefs', 383 'base_prefs',
405 '../testing/gmock.gyp:gmock', 384 '../testing/gmock.gyp:gmock',
406 ], 385 ],
407 'sources': [ 386 'sources': [
408 'prefs/mock_pref_change_callback.cc', 387 'prefs/mock_pref_change_callback.cc',
409 'prefs/pref_store_observer_mock.cc', 388 'prefs/pref_store_observer_mock.cc',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 'bind_unittest.cc', 450 'bind_unittest.cc',
472 'bind_unittest.nc', 451 'bind_unittest.nc',
473 'bits_unittest.cc', 452 'bits_unittest.cc',
474 'build_time_unittest.cc', 453 'build_time_unittest.cc',
475 'callback_helpers_unittest.cc', 454 'callback_helpers_unittest.cc',
476 'callback_list_unittest.cc', 455 'callback_list_unittest.cc',
477 'callback_list_unittest.nc', 456 'callback_list_unittest.nc',
478 'callback_unittest.cc', 457 'callback_unittest.cc',
479 'callback_unittest.nc', 458 'callback_unittest.nc',
480 'cancelable_callback_unittest.cc', 459 'cancelable_callback_unittest.cc',
481 'chromeos/memory_pressure_observer_chromeos_unittest.cc', 460 'chromeos/memory_pressure_monitor_chromeos_unittest.cc',
482 'command_line_unittest.cc', 461 'command_line_unittest.cc',
483 'containers/adapters_unittest.cc', 462 'containers/adapters_unittest.cc',
484 'containers/hash_tables_unittest.cc', 463 'containers/hash_tables_unittest.cc',
485 'containers/linked_list_unittest.cc', 464 'containers/linked_list_unittest.cc',
486 'containers/mru_cache_unittest.cc', 465 'containers/mru_cache_unittest.cc',
487 'containers/small_map_unittest.cc', 466 'containers/small_map_unittest.cc',
488 'containers/stack_container_unittest.cc', 467 'containers/stack_container_unittest.cc',
489 'cpu_unittest.cc', 468 'cpu_unittest.cc',
490 'debug/crash_logging_unittest.cc', 469 'debug/crash_logging_unittest.cc',
491 'debug/debugger_unittest.cc', 470 'debug/debugger_unittest.cc',
492 'debug/leak_tracker_unittest.cc', 471 'debug/leak_tracker_unittest.cc',
493 'debug/proc_maps_linux_unittest.cc', 472 'debug/proc_maps_linux_unittest.cc',
494 'debug/stack_trace_unittest.cc', 473 'debug/stack_trace_unittest.cc',
495 'debug/task_annotator_unittest.cc', 474 'debug/task_annotator_unittest.cc',
496 'deferred_sequenced_task_runner_unittest.cc', 475 'deferred_sequenced_task_runner_unittest.cc',
497 'environment_unittest.cc', 476 'environment_unittest.cc',
498 'file_version_info_unittest.cc', 477 'file_version_info_unittest.cc',
499 'files/dir_reader_posix_unittest.cc', 478 'files/dir_reader_posix_unittest.cc',
500 'files/file_path_unittest.cc', 479 'files/file_path_unittest.cc',
480 'files/file_path_watcher_unittest.cc',
501 'files/file_proxy_unittest.cc', 481 'files/file_proxy_unittest.cc',
502 'files/file_unittest.cc', 482 'files/file_unittest.cc',
503 'files/file_util_proxy_unittest.cc', 483 'files/file_util_proxy_unittest.cc',
504 'files/file_util_unittest.cc', 484 'files/file_util_unittest.cc',
505 'files/important_file_writer_unittest.cc', 485 'files/important_file_writer_unittest.cc',
506 'files/memory_mapped_file_unittest.cc', 486 'files/memory_mapped_file_unittest.cc',
507 'files/scoped_temp_dir_unittest.cc', 487 'files/scoped_temp_dir_unittest.cc',
508 'gmock_unittest.cc', 488 'gmock_unittest.cc',
509 'guid_unittest.cc', 489 'guid_unittest.cc',
510 'hash_unittest.cc', 490 'hash_unittest.cc',
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 'metrics/field_trial_unittest.cc', 542 'metrics/field_trial_unittest.cc',
563 'metrics/histogram_base_unittest.cc', 543 'metrics/histogram_base_unittest.cc',
564 'metrics/histogram_delta_serialization_unittest.cc', 544 'metrics/histogram_delta_serialization_unittest.cc',
565 'metrics/histogram_macros_unittest.cc', 545 'metrics/histogram_macros_unittest.cc',
566 'metrics/histogram_snapshot_manager_unittest.cc', 546 'metrics/histogram_snapshot_manager_unittest.cc',
567 'metrics/histogram_unittest.cc', 547 'metrics/histogram_unittest.cc',
568 'metrics/sample_map_unittest.cc', 548 'metrics/sample_map_unittest.cc',
569 'metrics/sample_vector_unittest.cc', 549 'metrics/sample_vector_unittest.cc',
570 'metrics/sparse_histogram_unittest.cc', 550 'metrics/sparse_histogram_unittest.cc',
571 'metrics/statistics_recorder_unittest.cc', 551 'metrics/statistics_recorder_unittest.cc',
552 'move_unittest.cc',
572 'numerics/safe_numerics_unittest.cc', 553 'numerics/safe_numerics_unittest.cc',
573 'observer_list_unittest.cc', 554 'observer_list_unittest.cc',
574 'os_compat_android_unittest.cc', 555 'os_compat_android_unittest.cc',
575 'path_service_unittest.cc', 556 'path_service_unittest.cc',
576 'pickle_unittest.cc', 557 'pickle_unittest.cc',
577 'posix/file_descriptor_shuffle_unittest.cc', 558 'posix/file_descriptor_shuffle_unittest.cc',
578 'posix/unix_domain_socket_linux_unittest.cc', 559 'posix/unix_domain_socket_linux_unittest.cc',
579 'power_monitor/power_monitor_unittest.cc', 560 'power_monitor/power_monitor_unittest.cc',
580 'prefs/default_pref_store_unittest.cc', 561 'prefs/default_pref_store_unittest.cc',
581 'prefs/json_pref_store_unittest.cc', 562 'prefs/json_pref_store_unittest.cc',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 'system_monitor/system_monitor_unittest.cc', 611 'system_monitor/system_monitor_unittest.cc',
631 'task/cancelable_task_tracker_unittest.cc', 612 'task/cancelable_task_tracker_unittest.cc',
632 'task_runner_util_unittest.cc', 613 'task_runner_util_unittest.cc',
633 'template_util_unittest.cc', 614 'template_util_unittest.cc',
634 'test/expectations/expectation_unittest.cc', 615 'test/expectations/expectation_unittest.cc',
635 'test/expectations/parser_unittest.cc', 616 'test/expectations/parser_unittest.cc',
636 'test/histogram_tester_unittest.cc', 617 'test/histogram_tester_unittest.cc',
637 'test/test_pending_task_unittest.cc', 618 'test/test_pending_task_unittest.cc',
638 'test/test_reg_util_win_unittest.cc', 619 'test/test_reg_util_win_unittest.cc',
639 'test/trace_event_analyzer_unittest.cc', 620 'test/trace_event_analyzer_unittest.cc',
621 'test/user_action_tester_unittest.cc',
640 'threading/non_thread_safe_unittest.cc', 622 'threading/non_thread_safe_unittest.cc',
641 'threading/platform_thread_unittest.cc', 623 'threading/platform_thread_unittest.cc',
642 'threading/sequenced_worker_pool_unittest.cc', 624 'threading/sequenced_worker_pool_unittest.cc',
643 'threading/simple_thread_unittest.cc', 625 'threading/simple_thread_unittest.cc',
644 'threading/thread_checker_unittest.cc', 626 'threading/thread_checker_unittest.cc',
645 'threading/thread_collision_warner_unittest.cc', 627 'threading/thread_collision_warner_unittest.cc',
646 'threading/thread_id_name_manager_unittest.cc', 628 'threading/thread_id_name_manager_unittest.cc',
647 'threading/thread_local_storage_unittest.cc', 629 'threading/thread_local_storage_unittest.cc',
648 'threading/thread_local_unittest.cc', 630 'threading/thread_local_unittest.cc',
649 'threading/thread_unittest.cc', 631 'threading/thread_unittest.cc',
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 }, { # use_glib == 0 737 }, { # use_glib == 0
756 'sources!': [ 738 'sources!': [
757 'message_loop/message_pump_glib_unittest.cc', 739 'message_loop/message_pump_glib_unittest.cc',
758 ] 740 ]
759 }], 741 }],
760 ['use_ozone == 1', { 742 ['use_ozone == 1', {
761 'sources!': [ 743 'sources!': [
762 'message_loop/message_pump_glib_unittest.cc', 744 'message_loop/message_pump_glib_unittest.cc',
763 ] 745 ]
764 }], 746 }],
765 ['OS == "linux" and use_allocator!="none"', { 747 ['OS == "linux"', {
766 'dependencies': [ 748 'dependencies': [
767 'allocator/allocator.gyp:allocator', 749 'malloc_wrapper',
768 ], 750 ],
769 }, 751 'conditions': [
752 ['use_allocator!="none"', {
753 'dependencies': [
754 'allocator/allocator.gyp:allocator',
755 ],
756 }],
757 ]},
770 ], 758 ],
771 ['OS == "win"', { 759 ['OS == "win"', {
772 'sources!': [ 760 'sources!': [
773 'file_descriptor_shuffle_unittest.cc', 761 'file_descriptor_shuffle_unittest.cc',
774 'files/dir_reader_posix_unittest.cc', 762 'files/dir_reader_posix_unittest.cc',
775 'message_loop/message_pump_libevent_unittest.cc', 763 'message_loop/message_pump_libevent_unittest.cc',
776 'threading/worker_pool_posix_unittest.cc', 764 'threading/worker_pool_posix_unittest.cc',
777 ], 765 ],
778 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 766 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
779 'msvs_disabled_warnings': [ 767 'msvs_disabled_warnings': [
(...skipping 10 matching lines...) Expand all
790 'allocator/allocator.gyp:allocator', 778 'allocator/allocator.gyp:allocator',
791 ], 779 ],
792 }], 780 }],
793 ['icu_use_data_file_flag==0', { 781 ['icu_use_data_file_flag==0', {
794 # This is needed to trigger the dll copy step on windows. 782 # This is needed to trigger the dll copy step on windows.
795 # TODO(mark): This should not be necessary. 783 # TODO(mark): This should not be necessary.
796 'dependencies': [ 784 'dependencies': [
797 '../third_party/icu/icu.gyp:icudata', 785 '../third_party/icu/icu.gyp:icudata',
798 ], 786 ],
799 }], 787 }],
800 ['incremental_chrome_dll', {
801 'defines': [
802 # Used only to workaround a linker bug, do not use this
803 # otherwise, and don't make it broader scope. See
804 # http://crbug.com/251251.
805 'INCREMENTAL_LINKING',
806 ],
807 }],
808 ], 788 ],
809 }, { # OS != "win" 789 }, { # OS != "win"
810 'dependencies': [ 790 'dependencies': [
811 '../third_party/libevent/libevent.gyp:libevent' 791 '../third_party/libevent/libevent.gyp:libevent'
812 ], 792 ],
813 }], 793 }],
814 ], # conditions 794 ], # conditions
815 'target_conditions': [ 795 'target_conditions': [
816 ['OS == "ios" and _toolset != "host"', { 796 ['OS == "ios" and _toolset != "host"', {
817 'sources/': [ 797 'sources/': [
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 'test/expectations/expectation.cc', 897 'test/expectations/expectation.cc',
918 'test/expectations/expectation.h', 898 'test/expectations/expectation.h',
919 'test/expectations/parser.cc', 899 'test/expectations/parser.cc',
920 'test/expectations/parser.h', 900 'test/expectations/parser.h',
921 'test/gtest_util.cc', 901 'test/gtest_util.cc',
922 'test/gtest_util.h', 902 'test/gtest_util.h',
923 'test/gtest_xml_util.cc', 903 'test/gtest_xml_util.cc',
924 'test/gtest_xml_util.h', 904 'test/gtest_xml_util.h',
925 'test/histogram_tester.cc', 905 'test/histogram_tester.cc',
926 'test/histogram_tester.h', 906 'test/histogram_tester.h',
907 'test/ios/wait_util.h',
908 'test/ios/wait_util.mm',
927 'test/launcher/test_launcher.cc', 909 'test/launcher/test_launcher.cc',
928 'test/launcher/test_launcher.h', 910 'test/launcher/test_launcher.h',
929 'test/launcher/test_result.cc', 911 'test/launcher/test_result.cc',
930 'test/launcher/test_result.h', 912 'test/launcher/test_result.h',
931 'test/launcher/test_results_tracker.cc', 913 'test/launcher/test_results_tracker.cc',
932 'test/launcher/test_results_tracker.h', 914 'test/launcher/test_results_tracker.h',
933 'test/launcher/unit_test_launcher.cc', 915 'test/launcher/unit_test_launcher.cc',
934 'test/launcher/unit_test_launcher.h', 916 'test/launcher/unit_test_launcher.h',
935 'test/launcher/unit_test_launcher_ios.cc', 917 'test/launcher/unit_test_launcher_ios.cc',
936 'test/mock_chrome_application_mac.h', 918 'test/mock_chrome_application_mac.h',
937 'test/mock_chrome_application_mac.mm', 919 'test/mock_chrome_application_mac.mm',
938 'test/mock_devices_changed_observer.cc', 920 'test/mock_devices_changed_observer.cc',
939 'test/mock_devices_changed_observer.h', 921 'test/mock_devices_changed_observer.h',
922 'test/mock_entropy_provider.cc',
923 'test/mock_entropy_provider.h',
940 'test/mock_log.cc', 924 'test/mock_log.cc',
941 'test/mock_log.h', 925 'test/mock_log.h',
942 'test/multiprocess_test.cc', 926 'test/multiprocess_test.cc',
943 'test/multiprocess_test.h', 927 'test/multiprocess_test.h',
944 'test/multiprocess_test_android.cc', 928 'test/multiprocess_test_android.cc',
945 'test/null_task_runner.cc', 929 'test/null_task_runner.cc',
946 'test/null_task_runner.h', 930 'test/null_task_runner.h',
947 'test/opaque_ref_counted.cc', 931 'test/opaque_ref_counted.cc',
948 'test/opaque_ref_counted.h', 932 'test/opaque_ref_counted.h',
949 'test/perf_log.cc', 933 'test/perf_log.cc',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 'test/test_switches.cc', 984 'test/test_switches.cc',
1001 'test/test_switches.h', 985 'test/test_switches.h',
1002 'test/test_timeouts.cc', 986 'test/test_timeouts.cc',
1003 'test/test_timeouts.h', 987 'test/test_timeouts.h',
1004 'test/thread_test_helper.cc', 988 'test/thread_test_helper.cc',
1005 'test/thread_test_helper.h', 989 'test/thread_test_helper.h',
1006 'test/trace_event_analyzer.cc', 990 'test/trace_event_analyzer.cc',
1007 'test/trace_event_analyzer.h', 991 'test/trace_event_analyzer.h',
1008 'test/trace_to_file.cc', 992 'test/trace_to_file.cc',
1009 'test/trace_to_file.h', 993 'test/trace_to_file.h',
994 'test/user_action_tester.cc',
995 'test/user_action_tester.h',
1010 'test/values_test_util.cc', 996 'test/values_test_util.cc',
1011 'test/values_test_util.h', 997 'test/values_test_util.h',
1012 ], 998 ],
1013 'target_conditions': [ 999 'target_conditions': [
1014 ['OS == "ios"', { 1000 ['OS == "ios"', {
1015 'sources/': [ 1001 'sources/': [
1016 # Pull in specific Mac files for iOS (which have been filtered out 1002 # Pull in specific Mac files for iOS (which have been filtered out
1017 # by file name rules). 1003 # by file name rules).
1018 ['include', '^test/test_file_util_mac\\.cc$'], 1004 ['include', '^test/test_file_util_mac\\.cc$'],
1019 ], 1005 ],
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 'target_name': 'base_win64', 1088 'target_name': 'base_win64',
1103 'type': '<(component)', 1089 'type': '<(component)',
1104 'variables': { 1090 'variables': {
1105 'base_target': 1, 1091 'base_target': 1,
1106 }, 1092 },
1107 'dependencies': [ 1093 'dependencies': [
1108 'base_static_win64', 1094 'base_static_win64',
1109 'allocator/allocator.gyp:allocator_extension_thunks_win64', 1095 'allocator/allocator.gyp:allocator_extension_thunks_win64',
1110 '../third_party/modp_b64/modp_b64.gyp:modp_b64_win64', 1096 '../third_party/modp_b64/modp_b64.gyp:modp_b64_win64',
1111 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64', 1097 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64',
1098 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest',
1112 ], 1099 ],
1113 # TODO(gregoryd): direct_dependent_settings should be shared with the 1100 # TODO(gregoryd): direct_dependent_settings should be shared with the
1114 # 32-bit target, but it doesn't work due to a bug in gyp 1101 # 32-bit target, but it doesn't work due to a bug in gyp
1115 'direct_dependent_settings': { 1102 'direct_dependent_settings': {
1116 'include_dirs': [ 1103 'include_dirs': [
1117 '..', 1104 '..',
1118 ], 1105 ],
1119 }, 1106 },
1120 'defines': [ 1107 'defines': [
1121 'BASE_WIN64', 1108 'BASE_WIN64',
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 'third_party/xdg_mime/xdgmimemagic.h', 1309 'third_party/xdg_mime/xdgmimemagic.h',
1323 'third_party/xdg_mime/xdgmimeparent.c', 1310 'third_party/xdg_mime/xdgmimeparent.c',
1324 'third_party/xdg_mime/xdgmimeparent.h', 1311 'third_party/xdg_mime/xdgmimeparent.h',
1325 ], 1312 ],
1326 'includes': [ 1313 'includes': [
1327 '../build/android/increase_size_for_speed.gypi', 1314 '../build/android/increase_size_for_speed.gypi',
1328 ], 1315 ],
1329 }, 1316 },
1330 ], 1317 ],
1331 }], 1318 }],
1319 ['OS == "linux"', {
1320 'targets': [
1321 {
1322 'target_name': 'malloc_wrapper',
1323 'type': 'shared_library',
1324 'dependencies': [
1325 'base',
1326 ],
1327 'sources': [
1328 'test/malloc_wrapper.cc',
1329 ],
1330 }
1331 ],
1332 }],
1332 ['OS == "android"', { 1333 ['OS == "android"', {
1333 'targets': [ 1334 'targets': [
1334 { 1335 {
1335 # GN: //base:base_jni_headers 1336 # GN: //base:base_jni_headers
1336 'target_name': 'base_jni_headers', 1337 'target_name': 'base_jni_headers',
1337 'type': 'none', 1338 'type': 'none',
1338 'sources': [ 1339 'sources': [
1339 'android/java/src/org/chromium/base/ApplicationStatus.java', 1340 'android/java/src/org/chromium/base/ApplicationStatus.java',
1340 'android/java/src/org/chromium/base/AnimationFrameTimeHistogram.java ', 1341 'android/java/src/org/chromium/base/AnimationFrameTimeHistogram.java ',
1341 'android/java/src/org/chromium/base/BuildInfo.java', 1342 'android/java/src/org/chromium/base/BuildInfo.java',
1342 'android/java/src/org/chromium/base/CommandLine.java', 1343 'android/java/src/org/chromium/base/CommandLine.java',
1343 'android/java/src/org/chromium/base/ContentUriUtils.java', 1344 'android/java/src/org/chromium/base/ContentUriUtils.java',
1344 'android/java/src/org/chromium/base/CpuFeatures.java', 1345 'android/java/src/org/chromium/base/CpuFeatures.java',
1345 'android/java/src/org/chromium/base/EventLog.java', 1346 'android/java/src/org/chromium/base/EventLog.java',
1346 'android/java/src/org/chromium/base/FieldTrialList.java', 1347 'android/java/src/org/chromium/base/FieldTrialList.java',
1347 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' , 1348 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' ,
1348 'android/java/src/org/chromium/base/JNIUtils.java', 1349 'android/java/src/org/chromium/base/JNIUtils.java',
1349 'android/java/src/org/chromium/base/JavaHandlerThread.java', 1350 'android/java/src/org/chromium/base/JavaHandlerThread.java',
1350 'android/java/src/org/chromium/base/LocaleUtils.java', 1351 'android/java/src/org/chromium/base/LocaleUtils.java',
1351 'android/java/src/org/chromium/base/MemoryPressureListener.java', 1352 'android/java/src/org/chromium/base/MemoryPressureListener.java',
1352 'android/java/src/org/chromium/base/PathService.java', 1353 'android/java/src/org/chromium/base/PathService.java',
1353 'android/java/src/org/chromium/base/PathUtils.java', 1354 'android/java/src/org/chromium/base/PathUtils.java',
1354 'android/java/src/org/chromium/base/PowerMonitor.java', 1355 'android/java/src/org/chromium/base/PowerMonitor.java',
1355 'android/java/src/org/chromium/base/SysUtils.java', 1356 'android/java/src/org/chromium/base/SysUtils.java',
1356 'android/java/src/org/chromium/base/SystemMessageHandler.java', 1357 'android/java/src/org/chromium/base/SystemMessageHandler.java',
1357 'android/java/src/org/chromium/base/ThreadUtils.java', 1358 'android/java/src/org/chromium/base/ThreadUtils.java',
1358 'android/java/src/org/chromium/base/TraceEvent.java', 1359 'android/java/src/org/chromium/base/TraceEvent.java',
1359 'android/java/src/org/chromium/base/library_loader/LibraryLoader.jav a', 1360 'android/java/src/org/chromium/base/library_loader/LibraryLoader.jav a',
1360 'android/java/src/org/chromium/base/metrics/RecordHistogram.java', 1361 'android/java/src/org/chromium/base/metrics/RecordHistogram.java',
1362 'android/java/src/org/chromium/base/metrics/RecordUserAction.java',
1361 ], 1363 ],
1362 'variables': { 1364 'variables': {
1363 'jni_gen_package': 'base', 1365 'jni_gen_package': 'base',
1364 }, 1366 },
1367 'dependencies': [
1368 'android_runtime_jni_headers',
1369 ],
1365 'includes': [ '../build/jni_generator.gypi' ], 1370 'includes': [ '../build/jni_generator.gypi' ],
1366 }, 1371 },
1367 { 1372 {
1373 # GN: //base:android_runtime_jni_headers
1374 'target_name': 'android_runtime_jni_headers',
1375 'type': 'none',
1376 'variables': {
1377 'jni_gen_package': 'base',
1378 'input_java_class': 'java/lang/Runtime.class',
1379 },
1380 'includes': [ '../build/jar_file_jni_generator.gypi' ],
1381 },
1382 {
1368 # TODO(GN) 1383 # TODO(GN)
1369 'target_name': 'base_unittests_jni_headers', 1384 'target_name': 'base_unittests_jni_headers',
1370 'type': 'none', 1385 'type': 'none',
1371 'sources': [ 1386 'sources': [
1372 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java', 1387 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java',
1373 ], 1388 ],
1374 'variables': { 1389 'variables': {
1375 'jni_gen_package': 'base', 1390 'jni_gen_package': 'base',
1376 }, 1391 },
1377 'includes': [ '../build/jni_generator.gypi' ], 1392 'includes': [ '../build/jni_generator.gypi' ],
(...skipping 27 matching lines...) Expand all
1405 'variables': { 1420 'variables': {
1406 'java_in_dir': '../base/android/java', 1421 'java_in_dir': '../base/android/java',
1407 'jar_excluded_classes': [ '*/NativeLibraries.class' ], 1422 'jar_excluded_classes': [ '*/NativeLibraries.class' ],
1408 }, 1423 },
1409 'dependencies': [ 1424 'dependencies': [
1410 'base_java_application_state', 1425 'base_java_application_state',
1411 'base_java_library_load_from_apk_status_codes', 1426 'base_java_library_load_from_apk_status_codes',
1412 'base_java_library_process_type', 1427 'base_java_library_process_type',
1413 'base_java_memory_pressure_level', 1428 'base_java_memory_pressure_level',
1414 'base_native_libraries_gen', 1429 'base_native_libraries_gen',
1430 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1415 ], 1431 ],
1416 'includes': [ '../build/java.gypi' ], 1432 'includes': [ '../build/java.gypi' ],
1417 'conditions': [
1418 ['android_webview_build==0', {
1419 'dependencies': [
1420 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1421 ],
1422 }]
1423 ],
1424 }, 1433 },
1425 { 1434 {
1426 # GN: //base:base_java_unittest_support 1435 # GN: //base:base_java_unittest_support
1427 'target_name': 'base_java_unittest_support', 1436 'target_name': 'base_java_unittest_support',
1428 'type': 'none', 1437 'type': 'none',
1429 'dependencies': [ 1438 'dependencies': [
1430 'base_java', 1439 'base_java',
1431 ], 1440 ],
1432 'variables': { 1441 'variables': {
1433 'java_in_dir': '../base/test/android/java', 1442 'java_in_dir': '../base/test/android/java',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 'type': 'none', 1476 'type': 'none',
1468 'dependencies': [ 1477 'dependencies': [
1469 'base_java', 1478 'base_java',
1470 ], 1479 ],
1471 'variables': { 1480 'variables': {
1472 'java_in_dir': '../base/test/android/javatests', 1481 'java_in_dir': '../base/test/android/javatests',
1473 }, 1482 },
1474 'includes': [ '../build/java.gypi' ], 1483 'includes': [ '../build/java.gypi' ],
1475 }, 1484 },
1476 { 1485 {
1486 # GN: //base:base_junit_tests
1487 'target_name': 'base_junit_tests',
1488 'type': 'none',
1489 'dependencies': [
1490 'base_java',
1491 'base_java_test_support',
1492 '../testing/android/junit/junit_test.gyp:junit_test_support',
1493 ],
1494 'variables': {
1495 'main_class': 'org.chromium.testing.local.JunitTestMain',
1496 'src_paths': [
1497 '../base/android/junit/',
1498 ],
1499 },
1500 'includes': [ '../build/host_jar.gypi' ],
1501 },
1502 {
1477 # GN: //base:base_javatests 1503 # GN: //base:base_javatests
1478 'target_name': 'base_javatests', 1504 'target_name': 'base_javatests',
1479 'type': 'none', 1505 'type': 'none',
1480 'dependencies': [ 1506 'dependencies': [
1481 'base_java', 1507 'base_java',
1482 'base_java_test_support', 1508 'base_java_test_support',
1483 ], 1509 ],
1484 'variables': { 1510 'variables': {
1485 'java_in_dir': '../base/android/javatests', 1511 'java_in_dir': '../base/android/javatests',
1486 }, 1512 },
1487 'includes': [ '../build/java.gypi' ], 1513 'includes': [ '../build/java.gypi' ],
1488 }, 1514 },
1489 { 1515 {
1490 # GN: //base/android/linker:chromium_android_linker 1516 # GN: //base/android/linker:chromium_android_linker
1491 'target_name': 'chromium_android_linker', 1517 'target_name': 'chromium_android_linker',
1492 'type': 'shared_library', 1518 'type': 'shared_library',
1493 'conditions': [ 1519 'sources': [
1494 # Avoid breaking the webview build because it 1520 'android/linker/linker_jni.cc',
1495 # does not have <(android_ndk_root)/crazy_linker.gyp. 1521 ],
1496 # Note that webview never uses the linker anyway. 1522 # The crazy linker is never instrumented.
1497 ['android_webview_build == 0', { 1523 'cflags!': [
1498 'sources': [ 1524 '-finstrument-functions',
1499 'android/linker/linker_jni.cc', 1525 ],
1500 ], 1526 'dependencies': [
1501 # The crazy linker is never instrumented. 1527 # The NDK contains the crazy_linker here:
1502 'cflags!': [ 1528 # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker'
1503 '-finstrument-functions', 1529 # However, we use our own fork. See bug 384700.
1504 ], 1530 '../third_party/android_crazy_linker/crazy_linker.gyp:crazy_linker',
1505 'dependencies': [
1506 # The NDK contains the crazy_linker here:
1507 # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker'
1508 # However, we use our own fork. See bug 384700.
1509 '../third_party/android_crazy_linker/crazy_linker.gyp:crazy_link er',
1510 ],
1511 }],
1512 ], 1531 ],
1513 }, 1532 },
1514 { 1533 {
1515 # TODO(GN) 1534 # TODO(GN)
1516 'target_name': 'base_perftests_apk', 1535 'target_name': 'base_perftests_apk',
1517 'type': 'none', 1536 'type': 'none',
1518 'dependencies': [ 1537 'dependencies': [
1519 'base_perftests', 1538 'base_perftests',
1520 ], 1539 ],
1521 'variables': { 1540 'variables': {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 'dependencies': [ 1614 'dependencies': [
1596 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1615 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1597 ], 1616 ],
1598 }], 1617 }],
1599 ], 1618 ],
1600 }, 1619 },
1601 ], 1620 ],
1602 }], 1621 }],
1603 ], 1622 ],
1604 } 1623 }
OLDNEW
« no previous file with comments | « base/async_socket_io_handler.h ('k') | base/base.gypi » ('j') | mojo/public/tools/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698