| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | |
| 7 'conditions': [ | |
| 8 ['inside_chromium_build==0', { | |
| 9 'webkit_src_dir': '../../../../../..', | |
| 10 },{ | |
| 11 'webkit_src_dir': '../../../third_party/WebKit', | |
| 12 }], | |
| 13 ], | |
| 14 }, | |
| 15 'targets': [ | 6 'targets': [ |
| 16 { | 7 { |
| 17 'target_name': 'devtools_resources', | 8 'target_name': 'devtools_resources', |
| 18 'type': 'none', | 9 'type': 'none', |
| 19 'dependencies': [ | 10 'dependencies': [ |
| 20 '<(webkit_src_dir)/Source/devtools/devtools.gyp:generate_devtools_grd', | 11 '../../../third_party/WebKit/Source/devtools/devtools.gyp:generate_devto
ols_grd', |
| 21 ], | 12 ], |
| 22 'variables': { | 13 'variables': { |
| 23 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', | 14 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 24 }, | 15 }, |
| 25 'actions': [ | 16 'actions': [ |
| 26 { | 17 { |
| 27 'action_name': 'devtools_resources', | 18 'action_name': 'devtools_resources', |
| 28 # This can't use build/grit_action.gypi because the grd file | 19 # This can't use build/grit_action.gypi because the grd file |
| 29 # is generated at build time, so the trick of using grit_info to get | 20 # is generated at build time, so the trick of using grit_info to get |
| 30 # the real inputs/outputs at GYP time isn't possible. | 21 # the real inputs/outputs at GYP time isn't possible. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 49 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)', | 40 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)', |
| 50 '<@(grit_defines)' ], | 41 '<@(grit_defines)' ], |
| 51 'message': 'Generating resources from <(grit_grd_file)', | 42 'message': 'Generating resources from <(grit_grd_file)', |
| 52 'msvs_cygwin_shell': 1, | 43 'msvs_cygwin_shell': 1, |
| 53 } | 44 } |
| 54 ], | 45 ], |
| 55 'includes': [ '../../../build/grit_target.gypi' ], | 46 'includes': [ '../../../build/grit_target.gypi' ], |
| 56 }, | 47 }, |
| 57 ], | 48 ], |
| 58 } | 49 } |
| OLD | NEW |