OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Override to dynamically link the cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
9 'use_cras%': 0, | 9 'use_cras%': 0, |
10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
(...skipping 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1876 'dependencies': [ | 1876 'dependencies': [ |
1877 '../base/allocator/allocator.gyp:allocator', | 1877 '../base/allocator/allocator.gyp:allocator', |
1878 ], | 1878 ], |
1879 }], | 1879 }], |
1880 ], | 1880 ], |
1881 }], | 1881 }], |
1882 ], | 1882 ], |
1883 }, | 1883 }, |
1884 ], | 1884 ], |
1885 }], | 1885 }], |
| 1886 ['OS=="ios"', { |
| 1887 'targets': [ |
| 1888 { |
| 1889 # Minimal media component for media/cast on iOS. |
| 1890 # GN version: //media:media_for_cast_ios |
| 1891 'target_name': 'media_for_cast_ios', |
| 1892 'type': '<(component)', |
| 1893 'dependencies': [ |
| 1894 '../base/base.gyp:base', |
| 1895 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 1896 'shared_memory_support', |
| 1897 ], |
| 1898 'defines': [ |
| 1899 'MEDIA_IMPLEMENTATION', |
| 1900 'MEDIA_FOR_CAST_IOS', |
| 1901 ], |
| 1902 'direct_dependent_settings': { |
| 1903 'include_dirs': [ |
| 1904 '..', |
| 1905 ], |
| 1906 }, |
| 1907 'include_dirs': [ |
| 1908 '..', |
| 1909 ], |
| 1910 'sources': [ |
| 1911 'base/mac/coremedia_glue.h', |
| 1912 'base/mac/coremedia_glue.mm', |
| 1913 'base/mac/corevideo_glue.h', |
| 1914 'base/mac/videotoolbox_glue.h', |
| 1915 'base/mac/videotoolbox_glue.mm', |
| 1916 'base/video_frame.cc', |
| 1917 'base/video_frame.h', |
| 1918 ], |
| 1919 'link_settings': { |
| 1920 'libraries': [ |
| 1921 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', |
| 1922 ], |
| 1923 }, |
| 1924 'conditions': [ |
| 1925 ['arm_neon==1', { |
| 1926 'defines': [ |
| 1927 'USE_NEON' |
| 1928 ], |
| 1929 }], |
| 1930 ], # conditions |
| 1931 'target_conditions': [ |
| 1932 ['OS == "ios" and _toolset != "host"', { |
| 1933 'sources/': [ |
| 1934 # Pull in specific Mac files for iOS (which have been filtered |
| 1935 # out by file name rules). |
| 1936 ['include', '^base/mac/coremedia_glue\\.h$'], |
| 1937 ['include', '^base/mac/coremedia_glue\\.mm$'], |
| 1938 ['include', '^base/mac/corevideo_glue\\.h$'], |
| 1939 ['include', '^base/mac/videotoolbox_glue\\.h$'], |
| 1940 ['include', '^base/mac/videotoolbox_glue\\.mm$'], |
| 1941 ], |
| 1942 }], |
| 1943 ], # target_conditions |
| 1944 }, |
| 1945 ], |
| 1946 }], |
1886 ], | 1947 ], |
1887 } | 1948 } |
OLD | NEW |