OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 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 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'mojo', | |
9 'type': 'static_library', | |
10 'variables': { 'mojo_parent_dir': '../third_party/externals' }, | |
11 'include_dirs': [ '<(mojo_parent_dir)' ], | |
12 'all_dependent_settings': { 'include_dirs': [ '<(mojo_parent_dir)' ] }, | |
13 'sources': [ | |
14 '<!@(python find.py <(mojo_parent_dir)/mojo/public/cpp "*.cc")', | |
15 '<(mojo_parent_dir)/mojo/public/platform/native/system_thunks.c', | |
16 ], | |
17 'sources!': [ | |
18 '<!@(python find.py <(mojo_parent_dir)/mojo/public/cpp "*_unittest.cc")' , | |
19 '<!@(python find.py <(mojo_parent_dir)/mojo/public/cpp "*_perftest.cc")' , | |
20 '<!@(python find.py <(mojo_parent_dir)/mojo/public/cpp "*_apptest.cc")', | |
21 '<!@(python find.py <(mojo_parent_dir)/mojo/public/cpp "*_test_*.cc")', | |
22 '<!@(python find.py <(mojo_parent_dir)/mojo/public/cpp "*_win.cc")', | |
23 ], | |
24 }, | |
25 { | |
26 'target_name': 'skiamojo', | |
mtklein
2016/01/29 18:09:41
let's be skmojo everywhere
hal.canary
2016/01/29 18:44:50
okay. done.
| |
27 'type': 'static_library', | |
28 'variables': { | |
29 'mojo_dir': '../third_party/externals/mojo/public' | |
30 }, | |
31 'conditions' : [ | |
32 [ 'skia_mojo_experiment', | |
33 { | |
34 'dependencies': [ 'mojo' ], | |
35 'sources': [ '../experimental/mojo/SkMojo.mojom.cc', ], | |
36 'include_dirs': [ '../experimental/mojo', ], | |
37 'all_dependent_settings': { 'include_dirs': [ '../experimental/mojo' , ] }, | |
38 'actions':[ | |
39 { | |
40 'action_name': 'generate_from_mojoms', | |
41 'inputs': [ | |
42 '../experimental/mojo/generate.py', | |
43 '../experimental/mojo/SkMojo.mojom', | |
44 '<(mojo_dir)/tools/bindings/mojom_parser/bin/linux64/mojom_par ser.sha1', | |
45 '<(mojo_dir)/tools/bindings/mojom_bindings_generator.py', | |
46 '<(mojo_dir)/interfaces/bindings/interface_control_messages.mo jom', | |
47 '<(mojo_dir)/interfaces/application/service_provider.mojom', | |
48 '<(mojo_dir)/interfaces/bindings/tests/ping_service.mojom', | |
49 '<(mojo_dir)/interfaces/application/application.mojom', | |
50 ], | |
51 'outputs': ['../experimental/mojo/SkMojo.mojom.h', | |
52 '../experimental/mojo/SkMojo.mojom.cc'], | |
53 'action': ['python', '../experimental/mojo/generate.py'] | |
54 }, | |
55 ], | |
56 } | |
57 ], | |
58 ], | |
59 }, | |
60 ], | |
61 } | |
OLD | NEW |