| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'browser_extensions', | 8 'target_name': 'browser_extensions', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 11 # Since browser and browser_extensions actually depend on each other, | 11 # Since browser and browser_extensions actually depend on each other, |
| 12 # we must omit the dependency from browser_extensions to browser. | 12 # we must omit the dependency from browser_extensions to browser. |
| 13 # However, this means browser_extensions and browser should more or less | 13 # However, this means browser_extensions and browser should more or less |
| 14 # have the same dependencies. Once browser_extensions is untangled from | 14 # have the same dependencies. Once browser_extensions is untangled from |
| 15 # browser, then we can clean up these dependencies. | 15 # browser, then we can clean up these dependencies. |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 '../sync/protocol/sync_proto.gyp:sync_proto', | 17 '../sync/protocol/sync_proto.gyp:sync_proto', |
| 18 'chrome_resources.gyp:chrome_extra_resources', | 18 'chrome_resources.gyp:chrome_extra_resources', |
| 19 'chrome_resources.gyp:chrome_resources', | 19 'chrome_resources.gyp:chrome_resources', |
| 20 'chrome_resources.gyp:chrome_strings', | 20 'chrome_resources.gyp:chrome_strings', |
| 21 'chrome_resources.gyp:platform_locale_settings', | 21 'chrome_resources.gyp:platform_locale_settings', |
| 22 'chrome_resources.gyp:theme_resources', | 22 'chrome_resources.gyp:theme_resources', |
| 23 'common', | 23 'common', |
| 24 'common/extensions/api/api.gyp:api', | 24 'common/extensions/api/api.gyp:api', |
| 25 'common_net', | 25 'common_net', |
| 26 'contacts_proto', | |
| 27 'debugger', | 26 'debugger', |
| 28 'in_memory_url_index_cache_proto', | 27 'in_memory_url_index_cache_proto', |
| 29 'installer_util', | 28 'installer_util', |
| 30 '../build/temp_gyp/googleurl.gyp:googleurl', | 29 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 31 '../content/content.gyp:content_browser', | 30 '../content/content.gyp:content_browser', |
| 32 '../crypto/crypto.gyp:crypto', | 31 '../crypto/crypto.gyp:crypto', |
| 33 '../device/device.gyp:device_bluetooth', | 32 '../device/device.gyp:device_bluetooth', |
| 34 '../net/net.gyp:net', | 33 '../net/net.gyp:net', |
| 35 '../skia/skia.gyp:skia', | 34 '../skia/skia.gyp:skia', |
| 36 '../sync/sync.gyp:sync_notifier', | 35 '../sync/sync.gyp:sync_notifier', |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 ['exclude', '^browser/extensions/api/terminal/terminal_extension_hel
per.cc'], | 735 ['exclude', '^browser/extensions/api/terminal/terminal_extension_hel
per.cc'], |
| 737 ['exclude', '^browser/extensions/api/terminal/terminal_extension_hel
per.h'], | 736 ['exclude', '^browser/extensions/api/terminal/terminal_extension_hel
per.h'], |
| 738 ['exclude', '^browser/extensions/api/terminal/terminal_private_api.c
c'], | 737 ['exclude', '^browser/extensions/api/terminal/terminal_private_api.c
c'], |
| 739 ['exclude', '^browser/extensions/api/terminal/terminal_private_api.h
'], | 738 ['exclude', '^browser/extensions/api/terminal/terminal_private_api.h
'], |
| 740 ], | 739 ], |
| 741 }, { # chromeos==1 | 740 }, { # chromeos==1 |
| 742 'dependencies': [ | 741 'dependencies': [ |
| 743 '../build/linux/system.gyp:dbus', | 742 '../build/linux/system.gyp:dbus', |
| 744 '../third_party/libevent/libevent.gyp:libevent', | 743 '../third_party/libevent/libevent.gyp:libevent', |
| 745 'browser/chromeos/input_method/input_method.gyp:gencode', | 744 'browser/chromeos/input_method/input_method.gyp:gencode', |
| 745 'contacts_proto', |
| 746 ], | 746 ], |
| 747 'sources!': [ | 747 'sources!': [ |
| 748 'browser/extensions/default_apps.cc', | 748 'browser/extensions/default_apps.cc', |
| 749 'browser/extensions/default_apps.h', | 749 'browser/extensions/default_apps.h', |
| 750 ], | 750 ], |
| 751 }], | 751 }], |
| 752 ['enable_extensions==0', { | 752 ['enable_extensions==0', { |
| 753 'sources/': [ | 753 'sources/': [ |
| 754 # Handle files in browser/extensions/api. Exclude everything by defa
ult, white list | 754 # Handle files in browser/extensions/api. Exclude everything by defa
ult, white list |
| 755 # files if they are needed for linking. | 755 # files if they are needed for linking. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 'browser/extensions/extension_error_ui_default.h', | 907 'browser/extensions/extension_error_ui_default.h', |
| 908 'browser/extensions/extension_install_ui_default.cc', | 908 'browser/extensions/extension_install_ui_default.cc', |
| 909 'browser/extensions/extension_install_ui_default.h', | 909 'browser/extensions/extension_install_ui_default.h', |
| 910 'browser/extensions/extension_tab_util.cc', | 910 'browser/extensions/extension_tab_util.cc', |
| 911 'browser/extensions/platform_app_launcher.cc', | 911 'browser/extensions/platform_app_launcher.cc', |
| 912 'browser/extensions/platform_app_launcher.h', | 912 'browser/extensions/platform_app_launcher.h', |
| 913 ], | 913 ], |
| 914 }], | 914 }], |
| 915 ], | 915 ], |
| 916 }, | 916 }, |
| 917 { | |
| 918 # Protobuf compiler / generator for contacts-related protocol buffers. | |
| 919 'target_name': 'contacts_proto', | |
| 920 'type': 'static_library', | |
| 921 'sources': [ 'browser/chromeos/contacts/contact.proto' ], | |
| 922 'variables': { | |
| 923 'proto_in_dir': 'browser/chromeos/contacts', | |
| 924 'proto_out_dir': 'chrome/browser/chromeos/contacts', | |
| 925 }, | |
| 926 'includes': [ '../build/protoc.gypi' ] | |
| 927 }, | |
| 928 ], | 917 ], |
| 929 'conditions': [ | 918 'conditions': [ |
| 930 ['OS=="win"', { | 919 ['OS=="win"', { |
| 931 'targets': [ | 920 'targets': [ |
| 932 { | 921 { |
| 933 'target_name': 'app_host', | 922 'target_name': 'app_host', |
| 934 'type': 'executable', | 923 'type': 'executable', |
| 935 'include_dirs': [ | 924 'include_dirs': [ |
| 936 '..', | 925 '..', |
| 937 ], | 926 ], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 956 'browser/extensions/app_host/update.h', | 945 'browser/extensions/app_host/update.h', |
| 957 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc', | 946 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc', |
| 958 ], | 947 ], |
| 959 'msvs_settings': { | 948 'msvs_settings': { |
| 960 'VCLinkerTool': { | 949 'VCLinkerTool': { |
| 961 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 950 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 962 }, | 951 }, |
| 963 }, | 952 }, |
| 964 }, | 953 }, |
| 965 ], | 954 ], |
| 966 }, ], # 'OS=="win"' | 955 },], # 'OS=="win"' |
| 956 ['chromeos==1', { |
| 957 'targets': [ |
| 958 { |
| 959 # Protobuf compiler / generator for contacts-related protocol buffers. |
| 960 'target_name': 'contacts_proto', |
| 961 'type': 'static_library', |
| 962 'sources': [ 'browser/chromeos/contacts/contact.proto' ], |
| 963 'variables': { |
| 964 'proto_in_dir': 'browser/chromeos/contacts', |
| 965 'proto_out_dir': 'chrome/browser/chromeos/contacts', |
| 966 }, |
| 967 'includes': [ '../build/protoc.gypi' ] |
| 968 }, |
| 969 ], |
| 970 },], # 'chromeos=1' |
| 967 ], # 'conditions' | 971 ], # 'conditions' |
| 968 } | 972 } |
| OLD | NEW |