Home | History | Annotate | Download | only in cython
      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.
      4 
      5 {
      6   'variables': {
      7     'python_module_destination': '<(PRODUCT_DIR)/python/<(python_base_module)',
      8   },
      9   'rules': [
     10     {
     11       'rule_name': '<(_target_name)_cp_python',
     12       'extension': 'py',
     13       'inputs': [
     14         '<(DEPTH)/build/cp.py',
     15       ],
     16       'outputs': [
     17         '<(python_module_destination)/<(RULE_INPUT_NAME)',
     18       ],
     19       'action': [
     20         'python',
     21         '<@(_inputs)',
     22         '<(RULE_INPUT_PATH)',
     23         '<@(_outputs)',
     24       ],
     25       'message': 'Moving <(RULE_INPUT_PATH) to its destination',
     26     },
     27   ],
     28   'hard_dependency': 1,
     29 }
     30