michael@0: # Copyright (c) 2009 The Chromium Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: { michael@0: 'targets': [ michael@0: { michael@0: 'target_name': 'pdfsqueeze', michael@0: 'type': 'executable', michael@0: 'sources': [ michael@0: '../../third_party/pdfsqueeze/pdfsqueeze.m', michael@0: ], michael@0: 'defines': [ michael@0: # Use defines to map the full path names that will be used for michael@0: # the vars into the short forms expected by pdfsqueeze.m. michael@0: '______third_party_pdfsqueeze_ApplyGenericRGB_qfilter=ApplyGenericRGB_qfilter', michael@0: '______third_party_pdfsqueeze_ApplyGenericRGB_qfilter_len=ApplyGenericRGB_qfilter_len', michael@0: ], michael@0: 'include_dirs': [ michael@0: '<(INTERMEDIATE_DIR)', michael@0: ], michael@0: 'libraries': [ michael@0: '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', michael@0: '$(SDKROOT)/System/Library/Frameworks/Quartz.framework', michael@0: ], michael@0: 'actions': [ michael@0: { michael@0: 'action_name': 'Generate inline filter data', michael@0: 'inputs': [ michael@0: '../../third_party/pdfsqueeze/ApplyGenericRGB.qfilter', michael@0: ], michael@0: 'outputs': [ michael@0: '<(INTERMEDIATE_DIR)/ApplyGenericRGB.h', michael@0: ], michael@0: 'action': ['xxd', '-i', '<@(_inputs)', '<@(_outputs)'], michael@0: }, michael@0: ], michael@0: }, michael@0: ], michael@0: }