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 # include this gypi to include all the golden master slides.
      6 {
      7   'include_dirs': [
      8     '../gm',
      9     # include dirs needed by particular GMs
     10     '../include/client/android',
     11     '../tools/debugger',
     12     '../src/effects/gradients',
     13     '../src/images',
     14     '../src/lazy',
     15   ],
     16   'conditions': [
     17     # If we're building SampleApp on the bots, no need to link in the GM slides.
     18     # We're not going to run it; we're only making sure it still builds.
     19     # It'd be nice to do this in SampleApp.gypi, but I can't find a way to make it work.
     20     [ 'not ("<(_target_name)" == "SampleApp" and skia_is_bot)', {
     21       'sources': [
     22         '<!@(python find.py ../gm "*.c*")',
     23 
     24         # Files needed by particular GMs
     25         '../src/gpu/batches/GrTestBatch.h',
     26         '../tools/debugger/SkDrawCommand.h',
     27         '../tools/debugger/SkDrawCommand.cpp',
     28         '../tools/debugger/SkDebugCanvas.h',
     29         '../tools/debugger/SkDebugCanvas.cpp',
     30         '../tools/debugger/SkObjectParser.h',
     31         '../tools/debugger/SkObjectParser.cpp',
     32         '../tools/debugger/SkOverdrawMode.h',
     33         '../tools/debugger/SkOverdrawMode.cpp',
     34       ],
     35     }],
     36   ],
     37 }
     38