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
3 # found in the LICENSE file.
10 '../build/win_precompile.gypi',
15 'target_name': 'base',
16 'type': '<(component)',
17 'toolsets': ['host', 'target'],
20 'enable_wexit_time_destructors': 1,
25 'allocator/allocator.gyp:allocator_extension_thunks',
26 '../testing/gtest.gyp:gtest_prod',
27 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
28 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
30 # TODO(gregoryd): direct_dependent_settings should be shared with the
31 # 64-bit target, but it doesn't work due to a bug in gyp
32 'direct_dependent_settings': {
41 'sources/': [ ['include', '_chromeos\\.cc$'] ]
43 ['linux_use_tcmalloc==0', {
47 'direct_dependent_settings': {
53 ['toolkit_uses_gtk==1', {
55 '../build/linux/system.gyp:gtk',
57 'export_dependent_settings': [
58 '../build/linux/system.gyp:gtk',
64 '../build/linux/system.gyp:glib',
65 '../build/linux/system.gyp:x11',
74 'export_dependent_settings': [
75 '../build/linux/system.gyp:glib',
76 '../build/linux/system.gyp:x11',
80 ['exclude', '/xdg_user_dirs/'],
81 ['exclude', '_nss\\.cc$'],
84 ['OS == "android" and _toolset == "host"', {
85 # Base for host support is the minimum required to run the
86 # ssl false start blacklist tool. It requires further changes
87 # to generically support host builds (and tests).
88 # Note: when building for host, gyp has OS == "android",
89 # hence the *_android.cc files are included but the actual code
90 # doesn't have OS_ANDROID / ANDROID defined.
92 # Host build on linux depends on system.gyp::gtk as
93 # default linux build has TOOLKIT_GTK defined.
94 ['host_os == "linux"', {
96 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
99 '../build/linux/system.gyp:gtk',
101 'export_dependent_settings': [
102 '../build/linux/system.gyp:gtk',
105 ['host_os == "mac"', {
107 ['exclude', '^native_library_linux\\.cc$'],
108 ['exclude', '^process_util_linux\\.cc$'],
109 ['exclude', '^sys_info_linux\\.cc$'],
110 ['exclude', '^sys_string_conversions_linux\\.cc$'],
111 ['exclude', '^worker_pool_linux\\.cc$'],
116 ['OS == "android" and _toolset == "target"', {
118 ['target_arch == "ia32"', {
120 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
127 '../third_party/ashmem/ashmem.gyp:ashmem',
128 '../third_party/icu/icu.gyp:icuuc',
131 '<(SHARED_INTERMEDIATE_DIR)/base',
142 'debug/stack_trace_posix.cc',
145 ['OS == "android" and _toolset == "target" and android_build_type == 0', {
152 '/usr/local/include',
156 '-L/usr/local/lib -lexecinfo',
163 # We need rt for clock_gettime().
165 # For 'native_library_linux.cc'
173 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
174 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework',
175 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
176 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
177 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
178 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
179 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
183 '../third_party/mach_override/mach_override.gyp:mach_override',
189 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
190 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
191 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
192 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
193 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
197 ['OS != "win" and OS != "ios"', {
198 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
200 ['component=="shared_library"', {
204 'debug/debug_on_start_win.cc',
211 'third_party/nspr/prcpucfg.h',
212 'third_party/nspr/prcpucfg_win.h',
213 'third_party/nspr/prtypes.h',
214 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
215 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
218 'event_recorder_stubs.cc',
219 'event_recorder_win.cc',
224 'message_pump_android.cc',
225 'message_pump_android.h',
226 'message_pump_glib.cc',
227 'message_pump_glib.h',
228 'message_pump_gtk.cc',
229 'message_pump_gtk.h',
230 'message_pump_io_ios.cc',
231 'message_pump_io_ios.h',
232 'message_pump_observer.h',
233 'message_pump_aurax11.cc',
234 'message_pump_aurax11.h',
235 'message_pump_libevent.cc',
236 'message_pump_libevent.h',
237 'message_pump_mac.h',
238 'message_pump_mac.mm',
239 'metrics/field_trial.cc',
240 'metrics/field_trial.h',
241 'posix/file_descriptor_shuffle.cc',
242 'posix/file_descriptor_shuffle.h',
244 'sync_socket_win.cc',
245 'sync_socket_posix.cc',
249 'target_name': 'base_i18n',
250 'type': '<(component)',
252 'enable_wexit_time_destructors': 1,
257 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
258 '../third_party/icu/icu.gyp:icui18n',
259 '../third_party/icu/icu.gyp:icuuc',
262 ['toolkit_uses_gtk==1', {
264 # i18n/rtl.cc uses gtk
265 '../build/linux/system.gyp:gtk',
269 'export_dependent_settings': [
273 'BASE_I18N_IMPLEMENTATION',
276 'i18n/base_i18n_export.h',
277 'i18n/bidi_line_iterator.cc',
278 'i18n/bidi_line_iterator.h',
279 'i18n/break_iterator.cc',
280 'i18n/break_iterator.h',
281 'i18n/char_iterator.cc',
282 'i18n/char_iterator.h',
283 'i18n/case_conversion.cc',
284 'i18n/case_conversion.h',
285 'i18n/file_util_icu.cc',
286 'i18n/file_util_icu.h',
287 'i18n/icu_encoding_detection.cc',
288 'i18n/icu_encoding_detection.h',
289 'i18n/icu_string_conversions.cc',
290 'i18n/icu_string_conversions.h',
293 'i18n/number_formatting.cc',
294 'i18n/number_formatting.h',
297 'i18n/string_search.cc',
298 'i18n/string_search.h',
299 'i18n/time_formatting.cc',
300 'i18n/time_formatting.h',
304 'target_name': 'base_prefs',
305 'type': '<(component)',
307 'enable_wexit_time_destructors': 1,
313 'export_dependent_settings': [
317 'BASE_PREFS_IMPLEMENTATION',
320 'prefs/default_pref_store.cc',
321 'prefs/default_pref_store.h',
322 'prefs/json_pref_store.cc',
323 'prefs/json_pref_store.h',
324 'prefs/overlay_user_pref_store.cc',
325 'prefs/overlay_user_pref_store.h',
326 'prefs/persistent_pref_store.h',
327 'prefs/pref_notifier.h',
328 'prefs/pref_store.cc',
329 'prefs/pref_store.h',
330 'prefs/pref_value_map.cc',
331 'prefs/pref_value_map.h',
332 'prefs/public/pref_change_registrar.cc',
333 'prefs/public/pref_change_registrar.h',
334 'prefs/public/pref_observer.h',
335 'prefs/public/pref_service_base.h',
336 'prefs/value_map_pref_store.cc',
337 'prefs/value_map_pref_store.h',
341 # This is the subset of files from base that should not be used with a
342 # dynamic library. Note that this library cannot depend on base because
343 # base depends on base_static.
344 'target_name': 'base_static',
345 'type': 'static_library',
347 'enable_wexit_time_destructors': 1,
350 'toolsets': ['host', 'target'],
362 # TODO(rvargas): Remove this when gyp finally supports a clean model.
364 'target_name': 'base_static_win64',
365 'type': 'static_library',
373 # base64.cc depends on modp_b64.
381 'msvs_target_platform': 'x64',
387 # TODO(rvargas): Bug 78117. Remove this.
388 'msvs_disabled_warnings': [
392 # Include this target for a main() function that simply instantiates
393 # and runs a base::TestSuite.
395 'target_name': 'run_all_unittests',
396 'type': 'static_library',
401 'test/run_all_unittests.cc',
405 'target_name': 'base_unittests',
406 'type': '<(gtest_target_type)',
409 'android/jni_android_unittest.cc',
410 'android/jni_array_unittest.cc',
411 'android/path_utils_unittest.cc',
412 'android/scoped_java_ref_unittest.cc',
413 'at_exit_unittest.cc',
414 'atomicops_unittest.cc',
415 'base64_unittest.cc',
416 'bind_helpers_unittest.cc',
420 'build_time_unittest.cc',
421 'callback_unittest.cc',
422 'callback_unittest.nc',
423 'cancelable_callback_unittest.cc',
424 'command_line_unittest.cc',
425 'containers/linked_list_unittest.cc',
426 'containers/mru_cache_unittest.cc',
427 'containers/small_map_unittest.cc',
428 'containers/stack_container_unittest.cc',
430 'debug/leak_tracker_unittest.cc',
431 'debug/stack_trace_unittest.cc',
432 'debug/trace_event_unittest.cc',
433 'debug/trace_event_unittest.h',
434 'debug/trace_event_win_unittest.cc',
435 'environment_unittest.cc',
436 'file_path_unittest.cc',
437 'file_util_proxy_unittest.cc',
438 'file_util_unittest.cc',
439 'file_version_info_unittest.cc',
440 'files/dir_reader_posix_unittest.cc',
441 'files/important_file_writer_unittest.cc',
442 'files/scoped_temp_dir_unittest.cc',
445 'hi_res_timer_manager_unittest.cc',
446 'id_map_unittest.cc',
447 'i18n/break_iterator_unittest.cc',
448 'i18n/char_iterator_unittest.cc',
449 'i18n/case_conversion_unittest.cc',
450 'i18n/file_util_icu_unittest.cc',
451 'i18n/icu_string_conversions_unittest.cc',
452 'i18n/number_formatting_unittest.cc',
453 'i18n/rtl_unittest.cc',
454 'i18n/string_search_unittest.cc',
455 'i18n/time_formatting_unittest.cc',
456 'ios/device_util_unittest.mm',
457 'json/json_parser_unittest.cc',
458 'json/json_reader_unittest.cc',
459 'json/json_value_converter_unittest.cc',
460 'json/json_value_serializer_unittest.cc',
461 'json/json_writer_unittest.cc',
462 'json/string_escape_unittest.cc',
463 'lazy_instance_unittest.cc',
464 'logging_unittest.cc',
465 'mac/bind_objc_block_unittest.mm',
466 'mac/foundation_util_unittest.mm',
467 'mac/libdispatch_task_runner_unittest.cc',
468 'mac/mac_util_unittest.mm',
469 'mac/objc_property_releaser_unittest.mm',
470 'mac/scoped_sending_event_unittest.mm',
472 'memory/aligned_memory_unittest.cc',
473 'memory/linked_ptr_unittest.cc',
474 'memory/ref_counted_memory_unittest.cc',
475 'memory/ref_counted_unittest.cc',
476 'memory/scoped_nsobject_unittest.mm',
477 'memory/scoped_ptr_unittest.cc',
478 'memory/scoped_ptr_unittest.nc',
479 'memory/scoped_vector_unittest.cc',
480 'memory/singleton_unittest.cc',
481 'memory/weak_ptr_unittest.cc',
482 'memory/weak_ptr_unittest.nc',
483 'message_loop_proxy_impl_unittest.cc',
484 'message_loop_proxy_unittest.cc',
485 'message_loop_unittest.cc',
486 'message_pump_glib_unittest.cc',
487 'message_pump_io_ios_unittest.cc',
488 'message_pump_libevent_unittest.cc',
489 'metrics/sample_map_unittest.cc',
490 'metrics/sample_vector_unittest.cc',
491 'metrics/bucket_ranges_unittest.cc',
492 'metrics/field_trial_unittest.cc',
493 'metrics/histogram_unittest.cc',
494 'metrics/sparse_histogram_unittest.cc',
495 'metrics/stats_table_unittest.cc',
496 'metrics/statistics_recorder_unittest.cc',
497 'observer_list_unittest.cc',
498 'os_compat_android_unittest.cc',
499 'path_service_unittest.cc',
500 'pickle_unittest.cc',
501 'platform_file_unittest.cc',
502 'posix/file_descriptor_shuffle_unittest.cc',
503 'pr_time_unittest.cc',
504 'process_util_unittest.cc',
505 'process_util_unittest_ios.cc',
506 'process_util_unittest_mac.h',
507 'process_util_unittest_mac.mm',
508 'profiler/tracked_time_unittest.cc',
509 'rand_util_unittest.cc',
510 'scoped_native_library_unittest.cc',
513 'shared_memory_unittest.cc',
514 'stl_util_unittest.cc',
515 'string16_unittest.cc',
516 'string_number_conversions_unittest.cc',
517 'string_piece_unittest.cc',
518 'string_split_unittest.cc',
519 'string_tokenizer_unittest.cc',
520 'string_util_unittest.cc',
521 'stringize_macros_unittest.cc',
522 'stringprintf_unittest.cc',
523 'synchronization/cancellation_flag_unittest.cc',
524 'synchronization/condition_variable_unittest.cc',
525 'synchronization/lock_unittest.cc',
526 'synchronization/waitable_event_unittest.cc',
527 'synchronization/waitable_event_watcher_unittest.cc',
528 'sys_info_unittest.cc',
529 'sys_string_conversions_mac_unittest.mm',
530 'sys_string_conversions_unittest.cc',
531 'system_monitor/system_monitor_unittest.cc',
532 'task_runner_util_unittest.cc',
533 'template_util_unittest.cc',
534 'test/sequenced_worker_pool_owner.cc',
535 'test/sequenced_worker_pool_owner.h',
536 'test/trace_event_analyzer_unittest.cc',
537 'threading/non_thread_safe_unittest.cc',
538 'threading/platform_thread_unittest.cc',
539 'threading/sequenced_worker_pool_unittest.cc',
540 'threading/simple_thread_unittest.cc',
541 'threading/thread_checker_unittest.cc',
542 'threading/thread_collision_warner_unittest.cc',
543 'threading/thread_local_storage_unittest.cc',
544 'threading/thread_local_unittest.cc',
545 'threading/thread_unittest.cc',
546 'threading/watchdog_unittest.cc',
547 'threading/worker_pool_posix_unittest.cc',
548 'threading/worker_pool_unittest.cc',
550 'time_win_unittest.cc',
552 'tools_sanity_unittest.cc',
553 'tracked_objects_unittest.cc',
555 'utf_offset_string_conversions_unittest.cc',
556 'utf_string_conversions_unittest.cc',
557 'values_unittest.cc',
558 'version_unittest.cc',
561 'win/enum_variant_unittest.cc',
562 'win/event_trace_consumer_unittest.cc',
563 'win/event_trace_controller_unittest.cc',
564 'win/event_trace_provider_unittest.cc',
565 'win/i18n_unittest.cc',
566 'win/iunknown_impl_unittest.cc',
567 'win/object_watcher_unittest.cc',
568 'win/pe_image_unittest.cc',
569 'win/registry_unittest.cc',
570 'win/sampling_profiler_unittest.cc',
571 'win/scoped_bstr_unittest.cc',
572 'win/scoped_comptr_unittest.cc',
573 'win/scoped_process_information_unittest.cc',
574 'win/shortcut_unittest.cc',
575 'win/startup_information_unittest.cc',
576 'win/scoped_variant_unittest.cc',
577 'win/win_util_unittest.cc',
578 'win/wrapped_window_proc_unittest.cc',
586 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
587 '../testing/gmock.gyp:gmock',
588 '../testing/gtest.gyp:gtest',
589 '../third_party/icu/icu.gyp:icui18n',
590 '../third_party/icu/icu.gyp:icuuc',
592 'includes': ['../build/nocompile.gypi'],
594 # TODO(ajwong): Is there a way to autodetect this?
598 ['OS == "android"', {
600 'android/jni_generator/jni_generator.gyp:jni_generator_tests',
603 ['gtest_target_type == "shared_library"', {
605 '../testing/android/native_test.gyp:native_test_native_code',
610 # Broken on Android, and already disabled there.
611 'debug/stack_trace_unittest.cc',
616 # Only test the iOS-meaningful portion of process_utils.
617 ['exclude', '^process_util_unittest'],
618 ['include', '^process_util_unittest_ios\\.cc$'],
619 # Requires spawning processes.
620 ['exclude', '^metrics/stats_table_unittest\\.cc$'],
621 # iOS does not use message_pump_libevent.
622 ['exclude', '^message_pump_libevent_unittest\\.cc$'],
627 # These sources can't be built with coverage due to a toolchain
628 # bug: http://openradar.appspot.com/radar?id=1499403
629 'json/json_reader_unittest.cc',
630 'string_piece_unittest.cc',
632 # These tests crash when run with coverage turned on due to an
633 # issue with llvm_gcda_increment_indirect_counter:
634 # http://crbug.com/156058
635 'debug/trace_event_unittest.cc',
636 'debug/trace_event_unittest.h',
637 'logging_unittest.cc',
638 'string_util_unittest.cc',
639 'test/trace_event_analyzer_unittest.cc',
640 'utf_offset_string_conversions_unittest.cc',
646 'action_name': 'copy_test_data',
649 'data/json/bom_feff.json',
650 'data/file_util_unittest',
652 'test_data_prefix': 'base',
654 'includes': [ '../build/copy_test_data_ios.gypi' ],
660 'file_version_info_unittest.cc',
663 [ 'linux_use_tcmalloc==1', {
665 'allocator/allocator.gyp:allocator',
669 [ 'toolkit_uses_gtk==1', {
671 'nix/xdg_util_unittest.cc',
674 '../build/linux/system.gyp:gtk',
679 '../build/linux/system.gyp:glib',
680 '../build/linux/system.gyp:ssl',
681 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
685 'message_pump_glib_unittest.cc',
688 # This is needed to trigger the dll copy step on windows.
689 # TODO(mark): This should not be necessary.
692 '../third_party/icu/icu.gyp:icudata',
695 'file_descriptor_shuffle_unittest.cc',
696 'files/dir_reader_posix_unittest.cc',
697 'threading/worker_pool_posix_unittest.cc',
698 'message_pump_libevent_unittest.cc',
702 '../third_party/libevent/libevent.gyp:libevent'
705 ['exclude', '^win/'],
708 'debug/trace_event_win_unittest.cc',
709 'time_win_unittest.cc',
710 'win/win_util_unittest.cc',
714 'target_conditions': [
717 # Pull in specific Mac files for iOS (which have been filtered out
718 # by file name rules).
719 ['include', '^mac/objc_property_releaser_unittest\\.mm$'],
720 ['include', '^mac/bind_objc_block_unittest\\.mm$'],
721 ['include', '^sys_string_conversions_mac_unittest\\.mm$'],
724 ], # target_conditions
727 'target_name': 'test_support_base',
728 'type': 'static_library',
733 '../testing/gmock.gyp:gmock',
734 '../testing/gtest.gyp:gtest',
736 'export_dependent_settings': [
740 ['toolkit_uses_gtk==1', {
742 # test_suite initializes GTK.
743 '../build/linux/system.gyp:gtk',
748 'test/scoped_locale.cc',
749 'test/scoped_locale.h',
754 'test/test_file_util_linux.cc',
758 'direct_dependent_settings': {
773 'test/main_hook_ios.mm',
774 'test/mock_chrome_application_mac.h',
775 'test/mock_chrome_application_mac.mm',
776 'test/mock_devices_changed_observer.cc',
777 'test/mock_devices_changed_observer.h',
778 'test/mock_time_provider.cc',
779 'test/mock_time_provider.h',
780 'test/multiprocess_test.cc',
781 'test/multiprocess_test.h',
782 'test/multiprocess_test_android.cc',
783 'test/perf_test_suite.cc',
784 'test/perf_test_suite.h',
785 'test/scoped_locale.cc',
786 'test/scoped_locale.h',
787 'test/scoped_path_override.cc',
788 'test/scoped_path_override.h',
789 'test/sequenced_task_runner_test_template.cc',
790 'test/sequenced_task_runner_test_template.h',
791 'test/task_runner_test_template.cc',
792 'test/task_runner_test_template.h',
793 'test/test_file_util.h',
794 'test/test_file_util_linux.cc',
795 'test/test_file_util_mac.cc',
796 'test/test_file_util_posix.cc',
797 'test/test_file_util_win.cc',
798 'test/test_listener_ios.h',
799 'test/test_listener_ios.mm',
800 'test/test_reg_util_win.cc',
801 'test/test_reg_util_win.h',
802 'test/test_shortcut_win.cc',
803 'test/test_shortcut_win.h',
804 'test/test_suite.cc',
806 'test/test_support_android.cc',
807 'test/test_support_android.h',
808 'test/test_support_ios.h',
809 'test/test_support_ios.mm',
810 'test/test_switches.cc',
811 'test/test_switches.h',
812 'test/test_timeouts.cc',
813 'test/test_timeouts.h',
814 'test/thread_test_helper.cc',
815 'test/thread_test_helper.h',
816 'test/trace_event_analyzer.cc',
817 'test/trace_event_analyzer.h',
818 'test/values_test_util.cc',
819 'test/values_test_util.h',
821 'target_conditions': [
824 # Pull in specific Mac files for iOS (which have been filtered out
825 # by file name rules).
826 ['include', '^test/test_file_util_mac\\.cc$'],
829 ], # target_conditions
832 'target_name': 'test_support_perf',
833 'type': 'static_library',
836 '../testing/gtest.gyp:gtest',
840 'test/run_all_perftests.cc',
842 'direct_dependent_settings': {
848 ['toolkit_uses_gtk==1', {
850 # Needed to handle the #include chain:
851 # base/test/perf_test_suite.h
852 # base/test/test_suite.h
854 '../build/linux/system.gyp:gtk',
864 'target_name': 'check_example',
865 'type': 'executable',
878 'target_name': 'base_nacl_win64',
879 'type': '<(component)',
885 'allocator/allocator.gyp:allocator_extension_thunks_win64',
886 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
888 # TODO(gregoryd): direct_dependent_settings should be shared with the
889 # 32-bit target, but it doesn't work due to a bug in gyp
890 'direct_dependent_settings': {
896 '<@(nacl_win64_defines)',
899 # base64.cc depends on modp_b64.
904 'msvs_target_platform': 'x64',
908 ['component == "shared_library"', {
910 'debug/debug_on_start_win.cc',
916 'target_name': 'base_i18n_nacl_win64',
917 'type': '<(component)',
918 # TODO(gregoryd): direct_dependent_settings should be shared with the
919 # 32-bit target, but it doesn't work due to a bug in gyp
920 'direct_dependent_settings': {
926 '<@(nacl_win64_defines)',
927 'BASE_I18N_IMPLEMENTATION',
933 'i18n/icu_util_nacl_win64.cc',
937 'msvs_target_platform': 'x64',
943 ['os_posix==1 and OS!="mac" and OS!="ios"', {
946 'target_name': 'symbolize',
947 'type': 'static_library',
948 'toolsets': ['host', 'target'],
953 ['OS == "solaris"', {
956 '/usr/gnu/include/libelf',
967 'third_party/symbolize/config.h',
968 'third_party/symbolize/demangle.cc',
969 'third_party/symbolize/demangle.h',
970 'third_party/symbolize/glog/logging.h',
971 'third_party/symbolize/glog/raw_logging.h',
972 'third_party/symbolize/symbolize.cc',
973 'third_party/symbolize/symbolize.h',
974 'third_party/symbolize/utilities.h',
981 'target_name': 'xdg_mime',
982 'type': 'static_library',
983 'toolsets': ['host', 'target'],
991 'third_party/xdg_mime/xdgmime.c',
992 'third_party/xdg_mime/xdgmime.h',
993 'third_party/xdg_mime/xdgmimealias.c',
994 'third_party/xdg_mime/xdgmimealias.h',
995 'third_party/xdg_mime/xdgmimecache.c',
996 'third_party/xdg_mime/xdgmimecache.h',
997 'third_party/xdg_mime/xdgmimeglob.c',
998 'third_party/xdg_mime/xdgmimeglob.h',
999 'third_party/xdg_mime/xdgmimeicon.c',
1000 'third_party/xdg_mime/xdgmimeicon.h',
1001 'third_party/xdg_mime/xdgmimeint.c',
1002 'third_party/xdg_mime/xdgmimeint.h',
1003 'third_party/xdg_mime/xdgmimemagic.c',
1004 'third_party/xdg_mime/xdgmimemagic.h',
1005 'third_party/xdg_mime/xdgmimeparent.c',
1006 'third_party/xdg_mime/xdgmimeparent.h',
1011 ['OS == "android"', {
1014 'target_name': 'base_jni_headers',
1017 'android/java/src/org/chromium/base/BuildInfo.java',
1018 'android/java/src/org/chromium/base/LocaleUtils.java',
1019 'android/java/src/org/chromium/base/PathService.java',
1020 'android/java/src/org/chromium/base/PathUtils.java',
1021 'android/java/src/org/chromium/base/SystemMessageHandler.java',
1022 'android/java/src/org/chromium/base/SystemMonitor.java',
1025 'jni_gen_dir': 'base',
1027 'includes': [ '../build/jni_generator.gypi' ],
1030 'target_name': 'base_java',
1033 'package_name': 'base',
1034 'java_in_dir': '../base/android/java',
1036 'includes': [ '../build/java.gypi' ],
1039 'target_name': 'base_java_test_support',
1045 'package_name': 'base_javatests',
1046 'java_in_dir': '../base/test/android/javatests',
1048 'includes': [ '../build/java.gypi' ],
1055 'target_name': 'debug_message',
1056 'type': 'executable',
1062 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
1068 # Special target to wrap a gtest_target_type == shared_library
1069 # base_unittests into an android apk for execution.
1070 # TODO(jrg): lib.target comes from _InstallableTargetInstallPath()
1071 # in the gyp make generator. What is the correct way to extract
1072 # this path from gyp and into 'raw' for input to antfiles?
1073 # Hard-coding in the gypfile seems a poor choice.
1074 ['OS == "android" and gtest_target_type == "shared_library"', {
1077 'target_name': 'base_unittests_apk',
1084 'test_suite_name': 'base_unittests',
1085 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unittests<(SHARED_LIB_SUFFIX)',
1087 'includes': [ '../build/apk_test.gypi' ],
1091 ['test_isolation_mode != "noop"', {
1094 'target_name': 'base_unittests_run',
1100 '../build/isolate.gypi',
1101 'base_unittests.isolate',
1104 'base_unittests.isolate',