OLD | NEW |
---|---|
(Empty) | |
1 { | |
viettrungluu
2014/07/28 22:18:53
Missing copyright header.
Also, it'd be helpful t
Hajime Morrita
2014/07/28 22:40:40
Done.
| |
2 'target_defaults': { | |
3 'conditions': [ | |
4 ['mojo_shell_debug_url != ""', { | |
5 'defines': [ | |
6 'MOJO_SHELL_DEBUG=1', | |
7 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"', | |
8 ], | |
9 }], | |
10 ], | |
11 }, | |
12 'variables': { | |
13 'chromium_code': 1, | |
14 'mojo_shell_debug_url%': "", | |
15 'conditions': [ | |
16 # | |
17 # The following mojo_system-prefixed variables are used to express a | |
18 # dependency on the mojo system APIs. | |
19 # | |
20 # In a component == "shared_library" build, everything can link against | |
21 # mojo_system_impl because it is built as a shared library. However, in a | |
22 # component != "shared_library" build, mojo_system_impl is linked into an | |
23 # executable (e.g., mojo_shell), and must be injected into other shared | |
24 # libraries (i.e., Mojo Apps) that need the mojo system API. | |
25 # | |
26 # For component targets, add <(mojo_system_for_component) to your | |
27 # dependencies section. For loadable module targets (e.g., a Mojo App), | |
28 # add <(mojo_system_for_loadable_module) to your dependencies section. | |
29 # | |
30 # NOTE: component != "shared_library" implies that we are generating a | |
31 # static library, and in that case, it is expected that the target | |
32 # listing the component as a dependency will specify either mojo_system | |
33 # or mojo_system_impl to link against. This enables multiple targets to | |
34 # link against the same component library without having to agree on | |
35 # which Mojo system library they are using. | |
36 # | |
37 ['component=="shared_library"', { | |
38 'mojo_system_for_component': "mojo_base.gyp:mojo_system_impl", | |
39 'mojo_system_for_loadable_module': "mojo_base.gyp:mojo_system_impl", | |
40 }, { | |
41 'mojo_system_for_component': "mojo_base.gyp:mojo_none", | |
42 'mojo_system_for_loadable_module': "mojo_base.gyp:mojo_system", | |
43 }], | |
44 ], | |
45 }, | |
46 } | |
OLD | NEW |