1# Copyright 2015 Google Inc. 2# 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5# GYP file to build flag parser 6# 7{ 8 'targets': [ 9 { 10 'target_name': 'flags', 11 'type': 'static_library', 12 'include_dirs': [ 13 '../include/private', 14 '../src/core', 15 ], 16 'sources': [ 17 '../tools/flags/SkCommandLineFlags.cpp', 18 '../tools/flags/SkCommandLineFlags.h', 19 ], 20 'dependencies': [ 21 'skia_lib.gyp:skia_lib', 22 ], 23 'direct_dependent_settings': { 24 'include_dirs': [ 25 '../tools/flags', 26 ], 27 } 28 }, 29 { 30 'target_name': 'flags_common', 31 'type': 'static_library', 32 'include_dirs': [ 33 '../include/gpu', 34 '../include/private', 35 '../src/gpu', 36 ], 37 'sources': [ 38 '../tools/flags/SkCommonFlags.cpp', 39 '../tools/flags/SkCommonFlags.h', 40 '../tools/flags/SkCommonFlagsConfig.cpp', 41 '../tools/flags/SkCommonFlagsConfig.h', 42 ], 43 'dependencies': [ 44 'skia_lib.gyp:skia_lib', 45 'flags.gyp:flags', 46 ], 47 'direct_dependent_settings': { 48 'include_dirs': [ 49 '../include/gpu', 50 '../include/private', 51 '../src/gpu', 52 '../tools/flags', 53 ], 54 } 55 }, 56 ], 57} 58