1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # Our shared library hack only works with ninja; xcode cannot generate
12 # iOS build targets for dynamic libraries. More details below.
13 ['"<(GENERATOR)"=="ninja"', {
16 'target_name': 'crnet_dummy',
20 '../../ios/crnet/crnet.gyp:crnet',
23 '../../ios/build/packaging/dummy_main.mm',
29 'INFOPLIST_FILE': '../../ios/build/packaging/dummy-Info.plist',
33 # Build this target to package a standalone CrNet in a single
35 'target_name': 'crnet_pack',
38 # Depend on the dummy target so that all of CrNet's dependencies
39 # are built before packaging.
44 'action_name': 'Package CrNet',
47 '../../ios/build/packaging/link_dependencies.py',
50 # Actions need an inputs list, even if it's empty.
52 # Only specify one output, since this will be libtool's output.
53 'outputs': [ '<(PRODUCT_DIR)/libcrnet_standalone.a' ],
54 'action': ['<(tool_path)',
56 'crnet_dummy.app/crnet_dummy',