Home | History | Annotate | Download | only in gyp
      1 # Copyright 2015 Google Inc.
      2 #
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 # GYP file to build performance testbench.
      6 #
      7 {
      8   'includes': [
      9     'apptype_console.gypi',
     10   ],
     11   'targets': [
     12     {
     13       'target_name': 'nanobench',
     14       'type': 'executable',
     15       'sources': [
     16         '../gm/gm.cpp',
     17       ],
     18       'includes': [
     19         'bench.gypi',
     20         'gmslides.gypi',
     21       ],
     22       'dependencies': [
     23         'flags.gyp:flags_common',
     24         'jsoncpp.gyp:jsoncpp',
     25         'skia_lib.gyp:skia_lib',
     26         'tools.gyp:crash_handler',
     27         'tools.gyp:proc_stats',
     28         'tools.gyp:thermal_manager',
     29         'tools.gyp:timer',
     30       ],
     31       'conditions': [
     32         ['skia_android_framework', {
     33           'libraries': [
     34             'skia_static.a',
     35             '-lhwui',
     36           ],
     37           'include_dirs': [
     38             '../../../frameworks/base/libs/hwui/',
     39           ],
     40           'dependencies': [
     41             'tools.gyp:android_utils',
     42           ],
     43         }],
     44       ],
     45     },
     46   ],
     47 }
     48