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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 }, | 338 }, |
339 { | 339 { |
340 'target_name': 'base_prefs', | 340 'target_name': 'base_prefs', |
341 'type': '<(component)', | 341 'type': '<(component)', |
342 'variables': { | 342 'variables': { |
343 'enable_wexit_time_destructors': 1, | 343 'enable_wexit_time_destructors': 1, |
344 'optimize': 'max', | 344 'optimize': 'max', |
345 }, | 345 }, |
346 'dependencies': [ | 346 'dependencies': [ |
347 'base', | 347 'base', |
| 348 'my_proto_lib', |
| 349 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
348 ], | 350 ], |
349 'export_dependent_settings': [ | 351 'export_dependent_settings': [ |
350 'base', | 352 'base', |
| 353 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
351 ], | 354 ], |
352 'defines': [ | 355 'defines': [ |
353 'BASE_PREFS_IMPLEMENTATION', | 356 'BASE_PREFS_IMPLEMENTATION', |
354 ], | 357 ], |
355 'sources': [ | 358 'sources': [ |
356 'prefs/base_prefs_export.h', | 359 'prefs/base_prefs_export.h', |
357 'prefs/default_pref_store.cc', | 360 'prefs/default_pref_store.cc', |
358 'prefs/default_pref_store.h', | 361 'prefs/default_pref_store.h', |
359 'prefs/json_pref_store.cc', | 362 'prefs/json_pref_store.cc', |
360 'prefs/json_pref_store.h', | 363 'prefs/json_pref_store.h', |
| 364 'prefs/leveldb_pref_store.cc', |
| 365 'prefs/leveldb_pref_store.h', |
361 'prefs/overlay_user_pref_store.cc', | 366 'prefs/overlay_user_pref_store.cc', |
362 'prefs/overlay_user_pref_store.h', | 367 'prefs/overlay_user_pref_store.h', |
363 'prefs/persistent_pref_store.h', | 368 'prefs/persistent_pref_store.h', |
364 'prefs/pref_change_registrar.cc', | 369 'prefs/pref_change_registrar.cc', |
365 'prefs/pref_change_registrar.h', | 370 'prefs/pref_change_registrar.h', |
366 'prefs/pref_filter.h', | 371 'prefs/pref_filter.h', |
367 'prefs/pref_member.cc', | 372 'prefs/pref_member.cc', |
368 'prefs/pref_member.h', | 373 'prefs/pref_member.h', |
369 'prefs/pref_notifier.h', | 374 'prefs/pref_notifier.h', |
370 'prefs/pref_notifier_impl.cc', | 375 'prefs/pref_notifier_impl.cc', |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 'observer_list_unittest.cc', | 567 'observer_list_unittest.cc', |
563 'os_compat_android_unittest.cc', | 568 'os_compat_android_unittest.cc', |
564 'path_service_unittest.cc', | 569 'path_service_unittest.cc', |
565 'pickle_unittest.cc', | 570 'pickle_unittest.cc', |
566 'platform_file_unittest.cc', | 571 'platform_file_unittest.cc', |
567 'posix/file_descriptor_shuffle_unittest.cc', | 572 'posix/file_descriptor_shuffle_unittest.cc', |
568 'posix/unix_domain_socket_linux_unittest.cc', | 573 'posix/unix_domain_socket_linux_unittest.cc', |
569 'power_monitor/power_monitor_unittest.cc', | 574 'power_monitor/power_monitor_unittest.cc', |
570 'prefs/default_pref_store_unittest.cc', | 575 'prefs/default_pref_store_unittest.cc', |
571 'prefs/json_pref_store_unittest.cc', | 576 'prefs/json_pref_store_unittest.cc', |
| 577 'prefs/leveldb_pref_store_unittest.cc', |
572 'prefs/mock_pref_change_callback.h', | 578 'prefs/mock_pref_change_callback.h', |
573 'prefs/overlay_user_pref_store_unittest.cc', | 579 'prefs/overlay_user_pref_store_unittest.cc', |
574 'prefs/pref_change_registrar_unittest.cc', | 580 'prefs/pref_change_registrar_unittest.cc', |
575 'prefs/pref_member_unittest.cc', | 581 'prefs/pref_member_unittest.cc', |
576 'prefs/pref_notifier_impl_unittest.cc', | 582 'prefs/pref_notifier_impl_unittest.cc', |
577 'prefs/pref_service_unittest.cc', | 583 'prefs/pref_service_unittest.cc', |
578 'prefs/pref_value_map_unittest.cc', | 584 'prefs/pref_value_map_unittest.cc', |
579 'prefs/pref_value_store_unittest.cc', | 585 'prefs/pref_value_store_unittest.cc', |
580 'prefs/scoped_user_pref_update_unittest.cc', | 586 'prefs/scoped_user_pref_update_unittest.cc', |
581 'process/memory_unittest.cc', | 587 'process/memory_unittest.cc', |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 'base_prefs', | 681 'base_prefs', |
676 'base_prefs_test_support', | 682 'base_prefs_test_support', |
677 'base_static', | 683 'base_static', |
678 'run_all_unittests', | 684 'run_all_unittests', |
679 'test_support_base', | 685 'test_support_base', |
680 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 686 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
681 '../testing/gmock.gyp:gmock', | 687 '../testing/gmock.gyp:gmock', |
682 '../testing/gtest.gyp:gtest', | 688 '../testing/gtest.gyp:gtest', |
683 '../third_party/icu/icu.gyp:icui18n', | 689 '../third_party/icu/icu.gyp:icui18n', |
684 '../third_party/icu/icu.gyp:icuuc', | 690 '../third_party/icu/icu.gyp:icuuc', |
| 691 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
685 ], | 692 ], |
686 'includes': ['../build/nocompile.gypi'], | 693 'includes': ['../build/nocompile.gypi'], |
| 694 'include_dirs': [ |
| 695 '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
| 696 ], |
687 'variables': { | 697 'variables': { |
688 # TODO(ajwong): Is there a way to autodetect this? | 698 # TODO(ajwong): Is there a way to autodetect this? |
689 'module_dir': 'base' | 699 'module_dir': 'base' |
690 }, | 700 }, |
691 'conditions': [ | 701 'conditions': [ |
692 ['OS == "android"', { | 702 ['OS == "android"', { |
693 'dependencies': [ | 703 'dependencies': [ |
694 'android/jni_generator/jni_generator.gyp:jni_generator_tests', | 704 'android/jni_generator/jni_generator.gyp:jni_generator_tests', |
695 ], | 705 ], |
696 'conditions': [ | 706 'conditions': [ |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1011 'dependencies': [ | 1021 'dependencies': [ |
1012 # Needed to handle the #include chain: | 1022 # Needed to handle the #include chain: |
1013 # base/test/perf_test_suite.h | 1023 # base/test/perf_test_suite.h |
1014 # base/test/test_suite.h | 1024 # base/test/test_suite.h |
1015 # gtk/gtk.h | 1025 # gtk/gtk.h |
1016 '../build/linux/system.gyp:gtk', | 1026 '../build/linux/system.gyp:gtk', |
1017 ], | 1027 ], |
1018 }], | 1028 }], |
1019 ], | 1029 ], |
1020 }, | 1030 }, |
| 1031 { |
| 1032 'target_name': 'my_proto_lib', |
| 1033 'type': 'static_library', |
| 1034 'sources': [ 'prefs/json.proto' ], |
| 1035 'variables': { |
| 1036 'proto_in_dir': 'prefs', |
| 1037 'proto_out_dir': 'base/prefs', |
| 1038 }, |
| 1039 'includes': ['../build/protoc.gypi'], |
| 1040 }, |
1021 ], | 1041 ], |
1022 'conditions': [ | 1042 'conditions': [ |
1023 ['OS!="ios"', { | 1043 ['OS!="ios"', { |
1024 'targets': [ | 1044 'targets': [ |
1025 { | 1045 { |
1026 'target_name': 'check_example', | 1046 'target_name': 'check_example', |
1027 'type': 'executable', | 1047 'type': 'executable', |
1028 'sources': [ | 1048 'sources': [ |
1029 'check_example.cc', | 1049 'check_example.cc', |
1030 ], | 1050 ], |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 'base_unittests.isolate', | 1478 'base_unittests.isolate', |
1459 ], | 1479 ], |
1460 'sources': [ | 1480 'sources': [ |
1461 'base_unittests.isolate', | 1481 'base_unittests.isolate', |
1462 ], | 1482 ], |
1463 }, | 1483 }, |
1464 ], | 1484 ], |
1465 }], | 1485 }], |
1466 ], | 1486 ], |
1467 } | 1487 } |
OLD | NEW |