Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / content_app.gypi
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'include_dirs': [
7     '..',
8   ],
9   'dependencies': [
10     '../base/base.gyp:base',
11     '../base/base.gyp:base_i18n',
12     '../crypto/crypto.gyp:crypto',
13     '../ui/base/ui_base.gyp:ui_base',
14     '../ui/gfx/gfx.gyp:gfx',
15     '../ui/gfx/gfx.gyp:gfx_geometry',
16   ],
17   'sources': [
18     'app/android/app_jni_registrar.cc',
19     'app/android/app_jni_registrar.h',
20     'app/android/child_process_service.cc',
21     'app/android/child_process_service.h',
22     'app/android/content_main.cc',
23     'app/android/content_main.h',
24     'app/android/library_loader_hooks.cc',
25     'app/content_main.cc',
26     'app/content_main_runner.cc',
27     'app/mojo/mojo_init.cc',
28     'app/mojo/mojo_init.h',
29     'public/app/android_library_loader_hooks.h',
30     'public/app/content_main.h',
31     'public/app/content_main_delegate.cc',
32     'public/app/content_main_delegate.h',
33     'public/app/content_main_runner.h',
34   ],
35   'conditions': [
36     ['((OS=="linux" and os_posix==1 and use_aura==1) or OS=="android") and use_allocator!="none"', {
37       'dependencies': [
38         # This is needed by app/content_main_runner.cc
39         '../base/allocator/allocator.gyp:allocator',
40       ],
41     }],
42     ['OS=="android"', {
43       'sources!': [
44         'app/content_main.cc',
45       ],
46       'dependencies': [
47         'content.gyp:content_jni_headers',
48         '../skia/skia.gyp:skia',
49       ],
50       'includes': [
51         '../build/android/cpufeatures.gypi',
52       ],
53     }],
54     ['OS=="win"', {
55       'dependencies': [
56         'content_startup_helper_win',
57       ],
58     }],
59     ['OS=="ios"', {
60       'sources!': [
61         'app/content_main.cc',
62         'app/mojo/mojo_init.cc',
63         'app/mojo/mojo_init.h',
64       ],
65     }, {  # OS!="ios"
66       'dependencies': [
67         '../mojo/mojo_base.gyp:mojo_application_bindings',
68         '../mojo/mojo_base.gyp:mojo_environment_chromium',
69         '../mojo/mojo_base.gyp:mojo_system_impl',
70      ],
71     }],
72   ],
73 }