Home | History | Annotate | Download | only in postbuild-static-library
      1 # Copyright (c) 2012 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   'targets': [
      6     {
      7       'target_name': 'my_lib',
      8       'type': 'static_library',
      9       'sources': [ 'empty.c', ],
     10       'postbuilds': [
     11         {
     12           'postbuild_name': 'Postbuild that touches a file',
     13           'action': [
     14             './postbuild-touch-file.sh', 'postbuild-file'
     15           ],
     16         },
     17       ],
     18     },
     19 
     20     {
     21       'target_name': 'my_sourceless_lib',
     22       'type': 'static_library',
     23       'dependencies': [ 'my_lib' ],
     24       'postbuilds': [
     25         {
     26           'postbuild_name': 'Postbuild that touches a file',
     27           'action': [
     28             './postbuild-touch-file.sh', 'postbuild-file-sourceless'
     29           ],
     30         },
     31       ],
     32     },
     33   ],
     34 }
     35