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 { 6 'variables': { 7 'chromium_code': 1, 8 }, 9 10 'targets': [ 11 { 12 'target_name': 'oak', 13 'type': '<(component)', 14 'dependencies': [ 15 '../../base/base.gyp:base', 16 '../../base/base.gyp:base_i18n', 17 '../../skia/skia.gyp:skia', 18 '../../url/url.gyp:url_lib', 19 '../aura/aura.gyp:aura', 20 '../compositor/compositor.gyp:compositor', 21 '../ui.gyp:ui', 22 '../ui.gyp:ui_resources', 23 '../views/views.gyp:views', 24 ], 25 'defines': [ 26 'OAK_IMPLEMENTATION', 27 ], 28 'sources': [ 29 # All .cc, .h under oak, except unittests 30 'oak.h', 31 'oak_aura_window_display.cc', 32 'oak_aura_window_display.h', 33 'oak_export.h', 34 'oak_pretty_print.cc', 35 'oak_pretty_print.h', 36 'oak_tree_model.cc', 37 'oak_tree_model.h', 38 'oak_window.cc', 39 'oak_window.h', 40 'oak_details_model.h', 41 ], 42 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 43 'msvs_disabled_warnings': [ 4267, ], 44 }, 45 ], 46 } 47