1 # Copyright 2013 The Chromium Authors. 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 # GN version: //webkit:resources 9 'target_name': 'webkit_resources', 10 'type': 'none', 11 'variables': { 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', 13 }, 14 'actions': [ 15 { 16 'action_name': 'webkit_resources', 17 'variables': { 18 'grit_grd_file': 'glue/resources/webkit_resources.grd', 19 }, 20 'includes': [ '../build/grit_action.gypi' ], 21 }, 22 { 23 'action_name': 'blink_chromium_resources', 24 'variables': { 25 'grit_grd_file': '../third_party/WebKit/public/blink_resources.grd', 26 }, 27 'includes': [ '../build/grit_action.gypi' ], 28 }, 29 ], 30 'includes': [ '../build/grit_target.gypi' ], 31 'direct_dependent_settings': { 32 'include_dirs': [ '<(grit_out_dir)' ], 33 }, 34 }, 35 { 36 # GN version: //webkit:strings 37 'target_name': 'webkit_strings', 38 'type': 'none', 39 'variables': { 40 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', 41 }, 42 'actions': [ 43 { 44 'action_name': 'webkit_strings', 45 'variables': { 46 'grit_grd_file': 'glue/webkit_strings.grd', 47 }, 48 'includes': [ '../build/grit_action.gypi' ], 49 }, 50 ], 51 'includes': [ '../build/grit_target.gypi' ], 52 }, 53 ] 54 } 55 56