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

Side by Side Diff: build/win/importlibs/create_import_lib.gypi

Issue 12295040: Stop delay loading user32.dll from chrome.dll on x86/Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make sure both MSVS and ninja builds link correctly. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/win/importlibs/create_importlib_win.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 # This file is meant to be included into a target to provide a rule
6 # to create import libraries from an import description file in a consistent
7 # manner.
8 #
9 # To use this, create a gyp target with the following form:
10 # {
11 # 'target_name': 'my_proto_lib',
12 # 'type': 'none',
13 # 'sources': [
14 # 'foo.imports',
15 # 'bar.imports',
16 # ],
17 # 'variables': {
18 # # Optional, see below: 'proto_in_dir': '.'
19 # 'create_importlib': 'path-to-script',
20 # 'lib_dir': 'path-to-output-directory',
21 # },
22 # 'includes': ['path/to/this/gypi/file'],
23 # }
24 #
25 # This will generate import libraries named 'foo.lib' and 'bar.lib' in the
26 # specified lib directory.
27
28 {
29 'variables': {
30 'create_importlib': '<(DEPTH)/build/win/importlibs/create_importlib_win.py',
31 'lib_dir': '<(PRODUCT_DIR)/lib',
32 },
33 'rules': [
34 {
35 'rule_name': 'create_import_lib',
36 'extension': 'imports',
37 'inputs': [
38 '<(create_importlib)',
39 ],
40 'outputs': [
41 '<(lib_dir)/<(RULE_INPUT_ROOT).lib',
42 ],
43 'action': [
44 'python',
45 '<(create_importlib)',
46 '--verbose',
47 '--output-file', '<@(_outputs)',
48 '<(RULE_INPUT_PATH)',
49 ],
50 'msvs_cygwin_shell': 0,
51 'message': 'Generating import library from <(RULE_INPUT_PATH)',
52 'process_outputs_as_sources': 0,
53 },
54 ],
55 }
OLDNEW
« no previous file with comments | « no previous file | build/win/importlibs/create_importlib_win.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698