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 'app/startup_helper_win.cc', 30 'public/app/android_library_loader_hooks.h', 31 'public/app/content_main.h', 32 'public/app/content_main_delegate.cc', 33 'public/app/content_main_delegate.h', 34 'public/app/content_main_runner.h', 35 'public/app/startup_helper_win.h', 36 ], 37 'conditions': [ 38 ['((OS=="linux" and os_posix==1 and use_aura==1) or OS=="android") and use_allocator!="none"', { 39 'dependencies': [ 40 # This is needed by app/content_main_runner.cc 41 '../base/allocator/allocator.gyp:allocator', 42 ], 43 }], 44 ['OS=="win"', { 45 'dependencies': [ 46 '../sandbox/sandbox.gyp:sandbox', 47 ], 48 }], 49 ['OS=="android"', { 50 'sources!': [ 51 'app/content_main.cc', 52 ], 53 'dependencies': [ 54 'content.gyp:content_jni_headers', 55 '../skia/skia.gyp:skia', 56 ], 57 'includes': [ 58 '../build/android/cpufeatures.gypi', 59 ], 60 }], 61 ['OS=="ios"', { 62 'sources!': [ 63 'app/content_main.cc', 64 'app/mojo/mojo_init.cc', 65 'app/mojo/mojo_init.h', 66 ], 67 }, { # OS!="ios" 68 'dependencies': [ 69 '../mojo/mojo.gyp:mojo_environment_chromium', 70 '../mojo/mojo.gyp:mojo_service_manager', 71 '../mojo/mojo.gyp:mojo_service_provider_bindings', 72 '../mojo/mojo.gyp:mojo_system_impl', 73 ], 74 }], 75 ], 76 } 77