OLD | NEW |
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 'base', | 331 'base', |
332 ], | 332 ], |
333 'export_dependent_settings': [ | 333 'export_dependent_settings': [ |
334 'base', | 334 'base', |
335 ], | 335 ], |
336 'defines': [ | 336 'defines': [ |
337 'BASE_PREFS_IMPLEMENTATION', | 337 'BASE_PREFS_IMPLEMENTATION', |
338 ], | 338 ], |
339 'sources': [ | 339 'sources': [ |
340 'prefs/base_prefs_export.h', | 340 'prefs/base_prefs_export.h', |
341 'prefs/base_prefs_switches.cc', | |
342 'prefs/base_prefs_switches.h', | |
343 'prefs/default_pref_store.cc', | 341 'prefs/default_pref_store.cc', |
344 'prefs/default_pref_store.h', | 342 'prefs/default_pref_store.h', |
345 'prefs/json_pref_store.cc', | 343 'prefs/json_pref_store.cc', |
346 'prefs/json_pref_store.h', | 344 'prefs/json_pref_store.h', |
347 'prefs/overlay_user_pref_store.cc', | 345 'prefs/overlay_user_pref_store.cc', |
348 'prefs/overlay_user_pref_store.h', | 346 'prefs/overlay_user_pref_store.h', |
349 'prefs/persistent_pref_store.h', | 347 'prefs/persistent_pref_store.h', |
350 'prefs/pref_change_registrar.cc', | 348 'prefs/pref_change_registrar.cc', |
351 'prefs/pref_change_registrar.h', | 349 'prefs/pref_change_registrar.h', |
352 'prefs/pref_filter.h', | 350 'prefs/pref_filter.h', |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 'mac/bind_objc_block_unittest.mm', | 534 'mac/bind_objc_block_unittest.mm', |
537 'mac/foundation_util_unittest.mm', | 535 'mac/foundation_util_unittest.mm', |
538 'mac/libdispatch_task_runner_unittest.cc', | 536 'mac/libdispatch_task_runner_unittest.cc', |
539 'mac/mac_util_unittest.mm', | 537 'mac/mac_util_unittest.mm', |
540 'mac/objc_property_releaser_unittest.mm', | 538 'mac/objc_property_releaser_unittest.mm', |
541 'mac/scoped_nsobject_unittest.mm', | 539 'mac/scoped_nsobject_unittest.mm', |
542 'mac/scoped_objc_class_swizzler_unittest.mm', | 540 'mac/scoped_objc_class_swizzler_unittest.mm', |
543 'mac/scoped_sending_event_unittest.mm', | 541 'mac/scoped_sending_event_unittest.mm', |
544 'md5_unittest.cc', | 542 'md5_unittest.cc', |
545 'memory/aligned_memory_unittest.cc', | 543 'memory/aligned_memory_unittest.cc', |
546 'memory/discardable_memory_manager_unittest.cc', | |
547 'memory/discardable_memory_unittest.cc', | 544 'memory/discardable_memory_unittest.cc', |
548 'memory/discardable_shared_memory_unittest.cc', | 545 'memory/discardable_shared_memory_unittest.cc', |
549 'memory/linked_ptr_unittest.cc', | 546 'memory/linked_ptr_unittest.cc', |
550 'memory/ref_counted_memory_unittest.cc', | 547 'memory/ref_counted_memory_unittest.cc', |
551 'memory/ref_counted_unittest.cc', | 548 'memory/ref_counted_unittest.cc', |
552 'memory/scoped_ptr_unittest.cc', | 549 'memory/scoped_ptr_unittest.cc', |
553 'memory/scoped_ptr_unittest.nc', | 550 'memory/scoped_ptr_unittest.nc', |
554 'memory/scoped_vector_unittest.cc', | 551 'memory/scoped_vector_unittest.cc', |
555 'memory/shared_memory_unittest.cc', | 552 'memory/shared_memory_unittest.cc', |
556 'memory/singleton_unittest.cc', | 553 'memory/singleton_unittest.cc', |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 'sources/': [ | 825 'sources/': [ |
829 # Pull in specific Mac files for iOS (which have been filtered out | 826 # Pull in specific Mac files for iOS (which have been filtered out |
830 # by file name rules). | 827 # by file name rules). |
831 ['include', '^mac/bind_objc_block_unittest\\.mm$'], | 828 ['include', '^mac/bind_objc_block_unittest\\.mm$'], |
832 ['include', '^mac/foundation_util_unittest\\.mm$',], | 829 ['include', '^mac/foundation_util_unittest\\.mm$',], |
833 ['include', '^mac/objc_property_releaser_unittest\\.mm$'], | 830 ['include', '^mac/objc_property_releaser_unittest\\.mm$'], |
834 ['include', '^mac/scoped_nsobject_unittest\\.mm$'], | 831 ['include', '^mac/scoped_nsobject_unittest\\.mm$'], |
835 ['include', '^sys_string_conversions_mac_unittest\\.mm$'], | 832 ['include', '^sys_string_conversions_mac_unittest\\.mm$'], |
836 ], | 833 ], |
837 }], | 834 }], |
838 ['OS == "android" and _toolset == "target"', { | |
839 'sources': [ | |
840 'memory/discardable_memory_ashmem_allocator_unittest.cc', | |
841 ], | |
842 }], | |
843 ['OS == "android"', { | 835 ['OS == "android"', { |
844 'sources/': [ | 836 'sources/': [ |
845 ['include', '^debug/proc_maps_linux_unittest\\.cc$'], | 837 ['include', '^debug/proc_maps_linux_unittest\\.cc$'], |
846 ], | 838 ], |
847 }], | 839 }], |
| 840 # Enable more direct string conversions on platforms with native utf8 |
| 841 # strings |
| 842 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', { |
| 843 'defines': ['SYSTEM_NATIVE_UTF8'], |
| 844 }], |
848 ], # target_conditions | 845 ], # target_conditions |
849 }, | 846 }, |
850 { | 847 { |
| 848 # GN: //base:base_perftests |
851 'target_name': 'base_perftests', | 849 'target_name': 'base_perftests', |
852 'type': '<(gtest_target_type)', | 850 'type': '<(gtest_target_type)', |
853 'dependencies': [ | 851 'dependencies': [ |
854 'base', | 852 'base', |
855 'test_support_base', | 853 'test_support_base', |
856 '../testing/gtest.gyp:gtest', | 854 '../testing/gtest.gyp:gtest', |
857 ], | 855 ], |
858 'sources': [ | 856 'sources': [ |
859 'message_loop/message_pump_perftest.cc', | 857 'message_loop/message_pump_perftest.cc', |
860 'test/run_all_unittests.cc', | 858 'test/run_all_unittests.cc', |
861 'threading/thread_perftest.cc', | 859 'threading/thread_perftest.cc', |
862 '../testing/perf/perf_test.cc' | 860 '../testing/perf/perf_test.cc' |
863 ], | 861 ], |
864 'conditions': [ | 862 'conditions': [ |
865 ['OS == "android"', { | 863 ['OS == "android"', { |
866 'dependencies': [ | 864 'dependencies': [ |
867 '../testing/android/native_test.gyp:native_test_native_code', | 865 '../testing/android/native_test.gyp:native_test_native_code', |
868 ], | 866 ], |
869 }], | 867 }], |
870 ], | 868 ], |
871 }, | 869 }, |
872 { | 870 { |
| 871 # GN: //base:base_i18n_perftests |
873 'target_name': 'base_i18n_perftests', | 872 'target_name': 'base_i18n_perftests', |
874 'type': '<(gtest_target_type)', | 873 'type': '<(gtest_target_type)', |
875 'dependencies': [ | 874 'dependencies': [ |
876 'test_support_base', | 875 'test_support_base', |
877 'test_support_perf', | 876 'test_support_perf', |
878 '../testing/gtest.gyp:gtest', | 877 '../testing/gtest.gyp:gtest', |
879 'base_i18n', | 878 'base_i18n', |
880 'base', | 879 'base', |
881 ], | 880 ], |
882 'sources': [ | 881 'sources': [ |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1070 ], | 1069 ], |
1071 'sources': [ | 1070 'sources': [ |
1072 'test/launcher/test_launcher_ios.cc', | 1071 'test/launcher/test_launcher_ios.cc', |
1073 ], | 1072 ], |
1074 }, | 1073 }, |
1075 ], | 1074 ], |
1076 }], | 1075 }], |
1077 ['OS!="ios"', { | 1076 ['OS!="ios"', { |
1078 'targets': [ | 1077 'targets': [ |
1079 { | 1078 { |
| 1079 # GN: //base:check_example |
1080 'target_name': 'check_example', | 1080 'target_name': 'check_example', |
1081 'type': 'executable', | 1081 'type': 'executable', |
1082 'sources': [ | 1082 'sources': [ |
1083 'check_example.cc', | 1083 'check_example.cc', |
1084 ], | 1084 ], |
1085 'dependencies': [ | 1085 'dependencies': [ |
1086 'base', | 1086 'base', |
1087 ], | 1087 ], |
1088 }, | 1088 }, |
1089 { | 1089 { |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1601 'dependencies': [ | 1601 'dependencies': [ |
1602 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1602 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1603 ], | 1603 ], |
1604 }], | 1604 }], |
1605 ], | 1605 ], |
1606 }, | 1606 }, |
1607 ], | 1607 ], |
1608 }], | 1608 }], |
1609 ], | 1609 ], |
1610 } | 1610 } |
OLD | NEW |