Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Side by Side Diff: media/base/BUILD.gn

Issue 1979263002: [Mac/GN] Do not EXPORT_SYMBOLS in //media/base/simd unless is_component_build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 "simd/convert_rgb_to_yuv_ssse3.asm", 530 "simd/convert_rgb_to_yuv_ssse3.asm",
531 "simd/convert_yuv_to_rgb_sse.asm", 531 "simd/convert_yuv_to_rgb_sse.asm",
532 "simd/convert_yuva_to_argb_mmx.asm", 532 "simd/convert_yuva_to_argb_mmx.asm",
533 "simd/empty_register_state_mmx.asm", 533 "simd/empty_register_state_mmx.asm",
534 "simd/linear_scale_yuv_to_rgb_mmx.asm", 534 "simd/linear_scale_yuv_to_rgb_mmx.asm",
535 "simd/linear_scale_yuv_to_rgb_sse.asm", 535 "simd/linear_scale_yuv_to_rgb_sse.asm",
536 "simd/scale_yuv_to_rgb_mmx.asm", 536 "simd/scale_yuv_to_rgb_mmx.asm",
537 "simd/scale_yuv_to_rgb_sse.asm", 537 "simd/scale_yuv_to_rgb_sse.asm",
538 ] 538 ]
539 539
540 # TODO(ajwong): Only export if shared_library build...
541 yasm_flags = [ 540 yasm_flags = [
542 "-DCHROMIUM", 541 "-DCHROMIUM",
543 "-DEXPORT_SYMBOLS",
544 542
545 # In addition to the same path as source asm, let yasm %include 543 # In addition to the same path as source asm, let yasm %include
546 # search path be relative to src/ per Chromium policy. 544 # search path be relative to src/ per Chromium policy.
547 "-I", 545 "-I",
548 rebase_path("..", root_build_dir), 546 rebase_path("..", root_build_dir),
549 ] 547 ]
550 548
549 if (is_component_build) {
550 yasm_flags += [ "-DEXPORT_SYMBOLS" ]
551 }
552
551 inputs = [ 553 inputs = [
552 "//third_party/x86inc/x86inc.asm", 554 "//third_party/x86inc/x86inc.asm",
553 "simd/convert_rgb_to_yuv_ssse3.inc", 555 "simd/convert_rgb_to_yuv_ssse3.inc",
554 "simd/convert_yuv_to_rgb_mmx.inc", 556 "simd/convert_yuv_to_rgb_mmx.inc",
555 "simd/convert_yuva_to_argb_mmx.inc", 557 "simd/convert_yuva_to_argb_mmx.inc",
556 "simd/linear_scale_yuv_to_rgb_mmx.inc", 558 "simd/linear_scale_yuv_to_rgb_mmx.inc",
557 "simd/media_export.asm", 559 "simd/media_export.asm",
558 "simd/scale_yuv_to_rgb_mmx.inc", 560 "simd/scale_yuv_to_rgb_mmx.inc",
559 ] 561 ]
560 562
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 600
599 fuzzer_test("media_container_names_fuzzer") { 601 fuzzer_test("media_container_names_fuzzer") {
600 sources = [ 602 sources = [
601 "container_names_fuzzertest.cc", 603 "container_names_fuzzertest.cc",
602 ] 604 ]
603 deps = [ 605 deps = [
604 "//base", 606 "//base",
605 "//media", 607 "//media",
606 ] 608 ]
607 } 609 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698