Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: third_party/WebKit/Source/build/ConvertFileToHeaderWithCharacterArray.gypi

Issue 1670813003: DevTools: do not use platform/ to load injected scripts into inspector/v8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 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 # To use this, create a gyp target with the following form:
6 # {
7 # 'target_name': 'GenerateInjectedScriptSource',
8 # 'type': 'none',
9 # 'variables': {
10 # 'input_file_path': 'inspector/v8/InjectedScriptSource.js'',
11 # 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/blink/InjectedScriptSource .h',
12 # 'character_array_name': 'InjectedScriptSource_js',
13 # },
14 # 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
15 # },
16 {
17 'actions': [
18 {
19 'action_name': 'ConvertFileToHeaderWithCharacterArray',
20 'inputs': [
21 '../build/scripts/xxd.py',
22 '<(input_file_path)',
23 ],
24 'outputs': [ '<@(output_file_path)', ],
25 'action': [
26 'python',
27 '../build/scripts/xxd.py',
28 '<(character_array_name)',
29 '<(input_file_path)',
30 '<@(_outputs)'
31 ],
32 'message': 'Generating <(output_file_path) from <(input_file_path)',
33 },
34 ],
35 # Since this target generates header files, it needs to be a hard dependency.
36 'hard_dependency': 1,
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698