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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 8060022: Move Leopard compatible block code to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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', 8 'target_name': 'browser',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
(...skipping 4280 matching lines...) Expand 10 before | Expand all | Expand 10 after
4291 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', 4291 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
4292 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 4292 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
4293 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 4293 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
4294 '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework' , 4294 '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework' ,
4295 ], 4295 ],
4296 'mac_bundle_resources': [ 4296 'mac_bundle_resources': [
4297 'browser/nacl_loader.sb', 4297 'browser/nacl_loader.sb',
4298 ], 4298 ],
4299 }, 4299 },
4300 'dependencies': [ 4300 'dependencies': [
4301 'closure_blocks_leopard_compat', 4301 '../content/content.gyp:closure_blocks_leopard_compat',
4302 ], 4302 ],
4303 'actions': [ 4303 'actions': [
4304 { 4304 {
4305 # This action is used to extract the localization data from xib 4305 # This action is used to extract the localization data from xib
4306 # files and generate table for the ui localizer from it. 4306 # files and generate table for the ui localizer from it.
4307 'variables': { 4307 'variables': {
4308 'xib_localizer_tool_path': 4308 'xib_localizer_tool_path':
4309 'tools/build/mac/generate_localizer', 4309 'tools/build/mac/generate_localizer',
4310 'xib_files_to_scan': [ 4310 'xib_files_to_scan': [
4311 # The xibs that need localization 4311 # The xibs that need localization
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
5018 'target_name': 'in_memory_url_index_cache_proto', 5018 'target_name': 'in_memory_url_index_cache_proto',
5019 'type': 'static_library', 5019 'type': 'static_library',
5020 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], 5020 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ],
5021 'variables': { 5021 'variables': {
5022 'proto_in_dir': 'browser/history', 5022 'proto_in_dir': 'browser/history',
5023 'proto_out_dir': 'chrome/browser/history', 5023 'proto_out_dir': 'chrome/browser/history',
5024 }, 5024 },
5025 'includes': [ '../build/protoc.gypi' ] 5025 'includes': [ '../build/protoc.gypi' ]
5026 }, 5026 },
5027 ], 5027 ],
5028 'conditions': [
5029 ['OS=="mac"', {
5030 'targets': [
5031 {
5032 'target_name': 'closure_blocks_leopard_compat',
5033 'conditions': [
5034 ['mac_sdk == "10.5"', {
5035 'type': 'shared_library',
5036 'product_name': 'closure_blocks_leopard_compat_stub',
5037 'variables': {
5038 # This target controls stripping directly. See below.
5039 'mac_strip': 0,
5040 },
5041 'sources': [
5042 'browser/mac/closure_blocks_leopard_compat.S',
5043 ],
5044 'xcode_settings': {
5045 # These values are taken from libSystem.dylib in the 10.5 SDK.
5046 # Setting LD_DYLIB_INSTALL_NAME causes anything linked against
5047 # this stub library to look for the symbols it provides in the
5048 # real libSystem at runtime. When using ld from Xcode 4 or
5049 # later (ld64-123.2 and up), giving two libraries with the
5050 # same "install name" to the linker will cause it to print
5051 # "ld: warning: dylibs with same install name". This is
5052 # harmless, and ld will behave as intended here.
5053 #
5054 # The real library's compatibility version is used, and the
5055 # value of the current version from the SDK is used to make
5056 # it appear as though anything linked against this stub was
5057 # linked against the real thing.
5058 'LD_DYLIB_INSTALL_NAME': '/usr/lib/libSystem.B.dylib',
5059 'DYLIB_COMPATIBILITY_VERSION': '1.0.0',
5060 'DYLIB_CURRENT_VERSION': '111.1.4',
5061
5062 # Turn on stripping (yes, even in debug mode), and add the -c
5063 # flag. This is what produces a stub library (MH_DYLIB_STUB)
5064 # as opposed to a dylib (MH_DYLIB). MH_DYLIB_STUB files
5065 # contain symbol tables and everything else needed for
5066 # linking, but are stripped of section contents. This is the
5067 # same way that the stub libraries in Mac OS X SDKs are
5068 # created. dyld will refuse to load a stub library, so this
5069 # provides some insurance in case anyone tries to load the
5070 # stub at runtime.
5071 'DEPLOYMENT_POSTPROCESSING': 'YES',
5072 'STRIP_STYLE': 'non-global',
5073 'STRIPFLAGS': '-c',
5074 },
5075 }, { # else: mac_sdk != "10.5"
5076 # When using the 10.6 SDK or newer, the necessary definitions
5077 # are already present in libSystem.dylib. There is no need to
5078 # build a stub dylib to provide these symbols at link time. This
5079 # target is still useful to cause those symbols to be treated as
5080 # weak imports in dependents, who still must #include
5081 # closure_blocks_leopard_compat.h to get weak imports.
5082 'type': 'none',
5083 }],
5084 ],
5085 },
5086 ],
5087 }],
5088 ],
5089 } 5028 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698