| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common.gypi', | 10 '../build/common.gypi', |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 ['include', '/win_[^/]*\\.cc$'], | 35 ['include', '/win_[^/]*\\.cc$'], |
| 36 ]}], | 36 ]}], |
| 37 ], | 37 ], |
| 38 }, | 38 }, |
| 39 'targets': [ | 39 'targets': [ |
| 40 { | 40 { |
| 41 'target_name': 'app_base', | 41 'target_name': 'app_base', |
| 42 'type': '<(library)', | 42 'type': '<(library)', |
| 43 'msvs_guid': '4631946D-7D5F-44BD-A5A8-504C0A7033BE', | 43 'msvs_guid': '4631946D-7D5F-44BD-A5A8-504C0A7033BE', |
| 44 'dependencies': [ | 44 'dependencies': [ |
| 45 'app_strings', |
| 45 '../base/base.gyp:base', | 46 '../base/base.gyp:base', |
| 46 '../base/base.gyp:base_gfx', | 47 '../base/base.gyp:base_gfx', |
| 47 '../net/net.gyp:net', | 48 '../net/net.gyp:net', |
| 48 '../skia/skia.gyp:skia', | 49 '../skia/skia.gyp:skia', |
| 49 '../third_party/icu38/icu38.gyp:icui18n', | 50 '../third_party/icu38/icu38.gyp:icui18n', |
| 50 '../third_party/icu38/icu38.gyp:icuuc', | 51 '../third_party/icu38/icu38.gyp:icuuc', |
| 51 ], | 52 ], |
| 52 'include_dirs': [ | 53 'include_dirs': [ |
| 53 '..', | 54 '..', |
| 54 '../chrome/third_party/wtl/include', | 55 '../chrome/third_party/wtl/include', |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 }], | 158 }], |
| 158 ], | 159 ], |
| 159 }], | 160 }], |
| 160 ], | 161 ], |
| 161 }, | 162 }, |
| 162 { | 163 { |
| 163 'target_name': 'app_unittests', | 164 'target_name': 'app_unittests', |
| 164 'type': 'executable', | 165 'type': 'executable', |
| 165 'msvs_guid': 'B4D59AE8-8D2F-97E1-A8E9-6D2826729530', | 166 'msvs_guid': 'B4D59AE8-8D2F-97E1-A8E9-6D2826729530', |
| 166 'dependencies': [ | 167 'dependencies': [ |
| 167 '../app/app.gyp:app_base', | 168 'app_base', |
| 168 '../net/net.gyp:net_test_support', | 169 '../net/net.gyp:net_test_support', |
| 169 '../skia/skia.gyp:skia', | 170 '../skia/skia.gyp:skia', |
| 170 '../testing/gtest.gyp:gtest', | 171 '../testing/gtest.gyp:gtest', |
| 171 '../third_party/icu38/icu38.gyp:icui18n', | 172 '../third_party/icu38/icu38.gyp:icui18n', |
| 172 '../third_party/icu38/icu38.gyp:icuuc', | 173 '../third_party/icu38/icu38.gyp:icuuc', |
| 173 '../third_party/libxml/libxml.gyp:libxml', | 174 '../third_party/libxml/libxml.gyp:libxml', |
| 174 ], | 175 ], |
| 175 'sources': [ | 176 'sources': [ |
| 176 'animation_unittest.cc', | 177 'animation_unittest.cc', |
| 177 'gfx/font_unittest.cc', | 178 'gfx/font_unittest.cc', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 200 }], | 201 }], |
| 201 ['OS!="win"', { | 202 ['OS!="win"', { |
| 202 'sources!': [ | 203 'sources!': [ |
| 203 'gfx/icon_util_unittest.cc', | 204 'gfx/icon_util_unittest.cc', |
| 204 'os_exchange_data_win_unittest.cc', | 205 'os_exchange_data_win_unittest.cc', |
| 205 'win_util_unittest.cc', | 206 'win_util_unittest.cc', |
| 206 ], | 207 ], |
| 207 }], | 208 }], |
| 208 ], | 209 ], |
| 209 }, | 210 }, |
| 211 { |
| 212 'target_name': 'app_strings', |
| 213 'type': 'none', |
| 214 'msvs_guid': 'AE9BF4A2-19C5-49D8-BB1A-F28496DD7051', |
| 215 'variables': { |
| 216 'grit_path': '../tools/grit/grit.py', |
| 217 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', |
| 218 }, |
| 219 'actions': [ |
| 220 { |
| 221 'action_name': 'app_strings', |
| 222 'variables': { |
| 223 'input_path': 'resources/app_strings.grd', |
| 224 }, |
| 225 'inputs': [ |
| 226 '<(input_path)', |
| 227 ], |
| 228 'outputs': [ |
| 229 '<(grit_out_dir)/grit/app_strings.h', |
| 230 '<(grit_out_dir)/app_strings_en-US.pak', |
| 231 '<(grit_out_dir)/app_strings_en-US.rc', |
| 232 ], |
| 233 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', '
-o', '<(grit_out_dir)'], |
| 234 'message': 'Generating resources from <(input_path)', |
| 235 }, |
| 236 ], |
| 237 'direct_dependent_settings': { |
| 238 'include_dirs': [ |
| 239 '<(SHARED_INTERMEDIATE_DIR)/app', |
| 240 ], |
| 241 }, |
| 242 'conditions': [ |
| 243 ['OS=="win"', { |
| 244 'dependencies': ['../build/win/system.gyp:cygwin'], |
| 245 }], |
| 246 ], |
| 247 }, |
| 210 ], | 248 ], |
| 211 } | 249 } |
| OLD | NEW |