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': { | 6 'variables': { |
7 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
8 'content_shell_version': '99.77.34.5', | 8 'content_shell_version': '99.77.34.5', |
9 'conditions': [ | |
10 ['OS=="linux"', { | |
11 'use_custom_freetype%': 1, | |
12 }, { | |
13 'use_custom_freetype%': 0, | |
14 }], | |
15 ], | |
16 }, | 9 }, |
17 'targets': [ | 10 'targets': [ |
18 { | 11 { |
19 # GN version: //content/shell:content_shell_lib | 12 # GN version: //content/shell:content_shell_lib |
20 'target_name': 'content_shell_lib', | 13 'target_name': 'content_shell_lib', |
21 'type': 'static_library', | 14 'type': 'static_library', |
22 'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'], | 15 'defines': ['CONTENT_SHELL_VERSION="<(content_shell_version)"'], |
23 'variables': { | 16 'variables': { |
24 'chromium_code': 1, | 17 'chromium_code': 1, |
25 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out | 18 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 }, | 248 }, |
256 }, | 249 }, |
257 }, | 250 }, |
258 }, | 251 }, |
259 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
260 'msvs_disabled_warnings': [ 4267, ], | 253 'msvs_disabled_warnings': [ 4267, ], |
261 }], # OS=="win" | 254 }], # OS=="win" |
262 ['OS=="linux"', { | 255 ['OS=="linux"', { |
263 'dependencies': [ | 256 'dependencies': [ |
264 '../build/linux/system.gyp:fontconfig', | 257 '../build/linux/system.gyp:fontconfig', |
| 258 '../third_party/freetype2/freetype2.gyp:freetype2', |
265 ], | 259 ], |
266 }], | 260 }], |
267 ['use_x11 == 1', { | 261 ['use_x11 == 1', { |
268 'dependencies': [ | 262 'dependencies': [ |
269 '../ui/events/devices/events_devices.gyp:events_devices', | 263 '../ui/events/devices/events_devices.gyp:events_devices', |
270 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 264 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
271 ], | 265 ], |
272 }], | 266 }], |
273 ['OS=="android"', { | 267 ['OS=="android"', { |
274 'dependencies': [ | 268 'dependencies': [ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 'dependencies!': [ | 320 'dependencies!': [ |
327 'copy_test_netscape_plugin', | 321 'copy_test_netscape_plugin', |
328 ], | 322 ], |
329 }], | 323 }], |
330 ['chromeos==1', { | 324 ['chromeos==1', { |
331 'dependencies': [ | 325 'dependencies': [ |
332 '../chromeos/chromeos.gyp:chromeos', | 326 '../chromeos/chromeos.gyp:chromeos', |
333 '../ui/wm/wm.gyp:wm_test_support', | 327 '../ui/wm/wm.gyp:wm_test_support', |
334 ], | 328 ], |
335 }], # chromeos==1 | 329 }], # chromeos==1 |
336 ['use_custom_freetype==1', { | |
337 'dependencies': [ | |
338 '../third_party/freetype2/freetype2.gyp:freetype2', | |
339 ], | |
340 }], | |
341 ['enable_plugins==0', { | 330 ['enable_plugins==0', { |
342 'sources!': [ | 331 'sources!': [ |
343 'shell/browser/shell_plugin_service_filter.cc', | 332 'shell/browser/shell_plugin_service_filter.cc', |
344 'shell/browser/shell_plugin_service_filter.h', | 333 'shell/browser/shell_plugin_service_filter.h', |
345 ], | 334 ], |
346 }] | 335 }] |
347 ], | 336 ], |
348 }, | 337 }, |
349 { | 338 { |
350 # GN version: //content/shell:resources | 339 # GN version: //content/shell:resources |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 993 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
1005 '--destination_dir', '<(dest_dir)', | 994 '--destination_dir', '<(dest_dir)', |
1006 ], | 995 ], |
1007 }, | 996 }, |
1008 ], | 997 ], |
1009 }, | 998 }, |
1010 ], | 999 ], |
1011 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1000 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
1012 ] | 1001 ] |
1013 } | 1002 } |
OLD | NEW |