# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This file contains resources for the main Mac chromium bundle. { # The main browser executable's name is <(mac_product_name). # Certain things will get confused if two modules in the # executable share the same name, so append " Framework" to the # product_name used for the framework. This will result in # a name like "Chromium Framework.framework". 'product_name': '<(mac_product_name) Framework', 'mac_bundle': 1, 'xcode_settings': { 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', # The dylib versions are of the form a[.b[.c]], where a is a # 16-bit unsigned integer, and b and c are 8-bit unsigned # integers. Any missing component is taken to be 0. The # best mapping from product version numbers into this scheme # is to just use a=BUILD, b=(PATCH/256), c=(PATCH%256). There # is no ambiguity in this scheme because the build and patch # numbers are guaranteed unique even across distinct major # and minor version numbers. These settings correspond to # -compatibility_version and -current_version. 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)', 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)', # The framework is placed within the .app's versioned # directory. DYLIB_INSTALL_NAME_BASE and # LD_DYLIB_INSTALL_NAME affect -install_name. 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../Versions/<(version_full)', # See /build/mac/copy_framework_unversioned.sh for # information on LD_DYLIB_INSTALL_NAME. 'LD_DYLIB_INSTALL_NAME': '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NAME)', 'INFOPLIST_FILE': 'app/framework-Info.plist', }, 'includes': [ 'chrome_nibs.gypi', ], # TODO(mark): Come up with a fancier way to do this. It should # only be necessary to list framework-Info.plist once, not the # three times it is listed here. 'mac_bundle_resources': [ # This image is used to badge the lock icon in the # authentication dialogs, such as those used for installation # from disk image and Keystone promotion (if so enabled). It # needs to exist as a file on disk and not just something in a # resource bundle because that's the interface that # Authorization Services uses. Also, Authorization Services # can't deal with .icns files. 'app/theme/default_100_percent/<(theme_dir_name)/product_logo_32.png', 'app/framework-Info.plist', '<@(mac_all_xibs)', 'app/theme/find_next_Template.pdf', 'app/theme/find_prev_Template.pdf', 'app/theme/menu_overflow_down.pdf', 'app/theme/menu_overflow_up.pdf', 'browser/mac/install.sh', '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', '