Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2014 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 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 'use_x11': 1, | |
| 9 }, | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'window', | |
| 13 'type': 'static_library', | |
| 14 'dependencies': [ | |
| 15 '<(DEPTH)/base/base.gyp:base', | |
|
tfarina
2014/04/28 18:20:53
please, do not add more usage of <(DEPTH) in .gyp
| |
| 16 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', | |
| 17 '../gfx/gfx.gyp:gfx_geometry', | |
| 18 ], | |
| 19 'defines': [ | |
| 20 'WINDOW_IMPLEMENTATION', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 'platform_window.h', | |
| 24 'x11/x11_window.cc', | |
| 25 ], | |
| 26 'conditions': [ | |
| 27 # We explicitly enumerate the platforms we _do_ provide native cracking | |
| 28 # for here. | |
| 29 ['use_x11==1', { | |
| 30 'dependencies': [ | |
| 31 '../events/x/events_x11.gyp:events_x11', | |
| 32 '../gfx/x/gfx_x11.gyp:gfx_x11', | |
| 33 ], | |
| 34 'link_settings': { | |
| 35 'libraries': [ | |
| 36 '-lX11', | |
| 37 '-lXi', | |
| 38 ], | |
| 39 }, | |
| 40 }], | |
| 41 ], | |
| 42 }, | |
| 43 ], | |
| 44 } | |
| OLD | NEW |