| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # GYP file to build a V8 sample. | 5 # GYP file to build a V8 sample. |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'SkV8Example', | 9 'target_name': 'SkV8Example', |
| 10 'type': 'executable', | 10 'type': 'executable', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 '../../third_party/externals/v8/out/native/obj.target/third_party/icu/
libicuuc.a', | 54 '../../third_party/externals/v8/out/native/obj.target/third_party/icu/
libicuuc.a', |
| 55 '../../third_party/externals/v8/out/native/obj.target/icudata/third_pa
rty/icu/linux/icudtl_dat.o', | 55 '../../third_party/externals/v8/out/native/obj.target/icudata/third_pa
rty/icu/linux/icudtl_dat.o', |
| 56 ], | 56 ], |
| 57 }, | 57 }, |
| 58 'conditions' : [ | 58 'conditions' : [ |
| 59 [ 'skia_gpu == 1', { | 59 [ 'skia_gpu == 1', { |
| 60 'include_dirs' : [ | 60 'include_dirs' : [ |
| 61 '../src/gpu', | 61 '../src/gpu', |
| 62 ] | 62 ] |
| 63 }], | 63 }], |
| 64 [ 'skia_os == "win"', { | |
| 65 'sources' : [ | |
| 66 '../src/views/win/SkOSWindow_Win.cpp', | |
| 67 '../src/views/win/skia_win.cpp', | |
| 68 ], | |
| 69 }], | |
| 70 [ 'skia_os == "mac"', { | |
| 71 'sources': [ | |
| 72 '../src/views/mac/SampleAppDelegate.h', | |
| 73 '../src/views/mac/SampleAppDelegate.mm', | |
| 74 '../src/views/mac/SkEventNotifier.mm', | |
| 75 '../src/views/mac/skia_mac.mm', | |
| 76 '../src/views/mac/SkNSView.h', | |
| 77 '../src/views/mac/SkNSView.mm', | |
| 78 '../src/views/mac/SkOptionsTableView.h', | |
| 79 '../src/views/mac/SkOptionsTableView.mm', | |
| 80 '../src/views/mac/SkOSWindow_Mac.mm', | |
| 81 '../src/views/mac/SkTextFieldCell.h', | |
| 82 '../src/views/mac/SkTextFieldCell.m', | |
| 83 ], | |
| 84 'include_dirs' : [ | |
| 85 '../src/views/mac/' | |
| 86 ], | |
| 87 'xcode_settings' : { | |
| 88 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.p
list', | |
| 89 }, | |
| 90 'mac_bundle_resources' : [ | |
| 91 '../experimental/SkiaExamples/SkiaExamples.xib' | |
| 92 ], | |
| 93 }], | |
| 94 ], | 64 ], |
| 95 } | 65 } |
| 96 ], | 66 ], |
| 97 } | 67 } |
| OLD | NEW |