Home | History | Annotate | Download | only in oak
      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         '../events/events.gyp:events',
     22         '../gfx/gfx.gyp:gfx',
     23         '../resources/ui_resources.gyp:ui_resources',
     24         '../ui.gyp:ui',
     25         '../views/views.gyp:views',
     26       ],
     27       'defines': [
     28         'OAK_IMPLEMENTATION',
     29       ],
     30       'sources': [
     31         # All .cc, .h under oak, except unittests
     32         'oak.h',
     33         'oak_aura_window_display.cc',
     34         'oak_aura_window_display.h',
     35         'oak_export.h',
     36         'oak_pretty_print.cc',
     37         'oak_pretty_print.h',
     38         'oak_tree_model.cc',
     39         'oak_tree_model.h',
     40         'oak_window.cc',
     41         'oak_window.h',
     42         'oak_details_model.h',
     43       ],
     44       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
     45       'msvs_disabled_warnings': [ 4267, ],
     46     },
     47   ],
     48 }
     49