OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 6 'includes': [ |
7 '../../build/common.gypi', | 7 '../../build/common.gypi', |
8 ], | 8 ], |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'include/win', | 62 'include/win', |
63 ], | 63 ], |
64 'link_settings': { | 64 'link_settings': { |
65 'libraries': [ | 65 'libraries': [ |
66 '<(PRODUCT_DIR)/lib/avcodec-52.lib', | 66 '<(PRODUCT_DIR)/lib/avcodec-52.lib', |
67 '<(PRODUCT_DIR)/lib/avformat-52.lib', | 67 '<(PRODUCT_DIR)/lib/avformat-52.lib', |
68 '<(PRODUCT_DIR)/lib/avutil-50.lib', | 68 '<(PRODUCT_DIR)/lib/avutil-50.lib', |
69 ], | 69 ], |
70 }, | 70 }, |
71 }, | 71 }, |
| 72 'dependencies': ['../../build/win/system.gyp:cygwin'], |
72 'rules': [ | 73 'rules': [ |
73 { | 74 { |
74 'rule_name': 'generate_libs', | 75 'rule_name': 'generate_libs', |
75 'extension': 'def', | 76 'extension': 'def', |
76 'inputs': [ | 77 'inputs': [ |
77 'generate_libs.py', | 78 'generate_libs.py', |
78 ], | 79 ], |
79 'outputs': [ | 80 'outputs': [ |
80 '<(PRODUCT_DIR)/lib/<(RULE_INPUT_ROOT).lib', | 81 '<(PRODUCT_DIR)/lib/<(RULE_INPUT_ROOT).lib', |
81 ], | 82 ], |
82 'variables': { | 83 'variables': { |
83 'def_files': [ | 84 'def_files': [ |
84 'avcodec-52.def', | 85 'avcodec-52.def', |
85 'avformat-52.def', | 86 'avformat-52.def', |
86 'avutil-50.def', | 87 'avutil-50.def', |
87 ], | 88 ], |
88 }, | 89 }, |
89 'action': ['python', '<@(_inputs)', '-o', '<(PRODUCT_DIR)/lib', '<
@(RULE_INPUT_PATH)'], | 90 'action': ['python', '<@(_inputs)', '-o', '<(PRODUCT_DIR)/lib', '<
@(RULE_INPUT_PATH)'], |
90 'message': 'Generating import libraries', | 91 'message': 'Generating import libraries', |
91 }, | 92 }, |
92 ], | 93 ], |
93 }], | 94 }], |
94 ], | 95 ], |
95 }, | 96 }, |
96 ], | 97 ], |
97 } | 98 } |
OLD | NEW |