1 # GYP file to build flag parser 2 # 3 { 4 'targets': [ 5 { 6 'target_name': 'flags', 7 'type': 'static_library', 8 'sources': [ 9 '../tools/flags/SkCommandLineFlags.cpp', 10 '../tools/flags/SkCommandLineFlags.h', 11 ], 12 'dependencies': [ 13 'skia_lib.gyp:skia_lib', 14 ], 15 'direct_dependent_settings': { 16 'include_dirs': [ 17 '../tools/flags', 18 ], 19 } 20 }, 21 { 22 'target_name': 'flags_common', 23 'type': 'static_library', 24 'sources': [ 25 '../tools/flags/SkCommonFlags.cpp', 26 '../tools/flags/SkCommonFlags.h', 27 ], 28 'dependencies': [ 29 'skia_lib.gyp:skia_lib', 30 'flags.gyp:flags', 31 ], 32 'direct_dependent_settings': { 33 'include_dirs': [ 34 '../tools/flags', 35 ], 36 } 37 }, 38 ], 39 } 40