OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'android_support_v13_target%': | 7 'android_support_v13_target%': |
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', | 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', |
9 'cast_build_release': 'internal/build/cast_build_release', | 9 'cast_build_release': 'internal/build/cast_build_release', |
10 'cast_is_debug_build%': 0, | 10 'cast_is_debug_build%': 0, |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 'public/osd_surface.h', | 69 'public/osd_surface.h', |
70 'public/task_runner.h', | 70 'public/task_runner.h', |
71 'public/video_plane.h', | 71 'public/video_plane.h', |
72 ], | 72 ], |
73 'direct_dependent_settings': { | 73 'direct_dependent_settings': { |
74 'include_dirs': [ | 74 'include_dirs': [ |
75 'public/', | 75 'public/', |
76 ], | 76 ], |
77 }, | 77 }, |
78 }, | 78 }, |
79 # Applies linker flags to include whole libstdc++/libgcc and export them. | |
80 { | |
81 'target_name': 'cast_shlib_consumer_ldflags', | |
bcf
2015/11/25 19:31:23
This is a target any executable which uses libcast
| |
82 'type': '<(component)', | |
83 'link_settings': { | |
84 'ldflags': ['-Wl,--export-dynamic'], | |
85 'libraries': [ | |
86 '-Wl,--allow-multiple-definition', | |
87 '-Wl,--whole-archive', | |
88 '-l:libstdc++.a', | |
89 '-l:libgcc.a', | |
90 '-Wl,--no-whole-archive', | |
91 ], | |
92 }, | |
93 }, | |
79 { | 94 { |
80 'target_name': 'cast_base', | 95 'target_name': 'cast_base', |
81 'type': '<(component)', | 96 'type': '<(component)', |
82 'dependencies': [ | 97 'dependencies': [ |
83 '../base/base.gyp:base', | 98 '../base/base.gyp:base', |
84 ], | 99 ], |
85 'sources': [ | 100 'sources': [ |
86 'base/android/dumpstate_writer.cc', | 101 'base/android/dumpstate_writer.cc', |
87 'base/android/dumpstate_writer.h', | 102 'base/android/dumpstate_writer.h', |
88 'base/android/system_time_change_notifier_android.cc', | 103 'base/android/system_time_change_notifier_android.cc', |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
768 '../ui/ozone/ozone.gyp:eglplatform_shim_x11', | 783 '../ui/ozone/ozone.gyp:eglplatform_shim_x11', |
769 ], | 784 ], |
770 }], | 785 }], |
771 ], | 786 ], |
772 }, | 787 }, |
773 { | 788 { |
774 'target_name': 'cast_shell', | 789 'target_name': 'cast_shell', |
775 'type': 'executable', | 790 'type': 'executable', |
776 'dependencies': [ | 791 'dependencies': [ |
777 'cast_shell_core', | 792 'cast_shell_core', |
793 'cast_shlib_consumer_ldflags', | |
wzhong
2015/11/25 20:46:26
This only covers cast_shell.
How about other exec
| |
778 ], | 794 ], |
779 'sources': [ | 795 'sources': [ |
780 'app/cast_main.cc', | 796 'app/cast_main.cc', |
781 ], | 797 ], |
782 }, | 798 }, |
783 ], # end of targets | 799 ], # end of targets |
784 }], | 800 }], |
785 ], # end of conditions | 801 ], # end of conditions |
786 } | 802 } |
OLD | NEW |