Home | History | Annotate | Download | only in android
      1 # Copyright (c) 2014 Google Inc. 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   'targets': [
      7     {
      8       'target_name': 'lib32or64',
      9       'type': 'static_library',
     10       'toolsets': [ 'host' ],
     11       'sources': [
     12         '32or64.c',
     13       ],
     14     },
     15     {
     16       'target_name': 'host_32or64',
     17       'type': 'executable',
     18       'toolsets': [ 'host' ],
     19       'dependencies': [ 'lib32or64#host' ],
     20       'sources': [
     21         'writefile.c',
     22       ],
     23     },
     24     {
     25       'target_name': 'generate_output',
     26       'type': 'none',
     27       'dependencies': [ 'host_32or64#host' ],
     28       'actions': [
     29         {
     30           'action_name': 'generate',
     31           'inputs': [ '<(PRODUCT_DIR)/host_32or64' ],
     32           'outputs': [ '<(PRODUCT_DIR)/host_32or64.output' ],
     33           'action': [ '<@(_inputs)', '<@(_outputs)' ],
     34         }
     35       ],
     36     },
     37   ],
     38 }
     39