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 { 6 'targets': [ 7 { 8 'target_name': 'lib', 9 'type': 'shared_library', 10 'sources': [ 11 'prog2.c', 12 'func.c', 13 'subdir1/func.c', 14 'subdir2/func.c', 15 ], 16 'defines': [ 17 'PROG="prog2"', 18 ], 19 }, 20 ], 21 } 22