| Index: media/base/BUILD.gn
|
| diff --git a/media/base/BUILD.gn b/media/base/BUILD.gn
|
| index 4b1cd13ce440e6d89bc932352b4940ee6155ee1a..458d4ff6c96a67ea3675532c18b322b84fa8a9b9 100644
|
| --- a/media/base/BUILD.gn
|
| +++ b/media/base/BUILD.gn
|
| @@ -537,10 +537,8 @@ if (current_cpu == "x86" || current_cpu == "x64") {
|
| "simd/scale_yuv_to_rgb_sse.asm",
|
| ]
|
|
|
| - # TODO(ajwong): Only export if shared_library build...
|
| yasm_flags = [
|
| "-DCHROMIUM",
|
| - "-DEXPORT_SYMBOLS",
|
|
|
| # In addition to the same path as source asm, let yasm %include
|
| # search path be relative to src/ per Chromium policy.
|
| @@ -548,6 +546,10 @@ if (current_cpu == "x86" || current_cpu == "x64") {
|
| rebase_path("..", root_build_dir),
|
| ]
|
|
|
| + if (is_component_build) {
|
| + yasm_flags += [ "-DEXPORT_SYMBOLS" ]
|
| + }
|
| +
|
| inputs = [
|
| "//third_party/x86inc/x86inc.asm",
|
| "simd/convert_rgb_to_yuv_ssse3.inc",
|
|
|