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

Side by Side Diff: BUILD.gn

Issue 2386093003: Enable optimize max for arm in GN + update docs (Closed)
Patch Set: android builds documented Created 4 years, 2 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 | docs/deprecated_builds.md » ('j') | docs/getting_started.md » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("libyuv.gni") 9 import("libyuv.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 if (libyuv_use_neon) { 93 if (libyuv_use_neon) {
94 deps += [ ":libyuv_neon" ] 94 deps += [ ":libyuv_neon" ]
95 } 95 }
96 96
97 if (libyuv_use_msa) { 97 if (libyuv_use_msa) {
98 deps += [ ":libyuv_msa" ] 98 deps += [ ":libyuv_msa" ]
99 } 99 }
100 100
101 if (is_nacl) { 101 # Always enable optimization under NaCl to workaround crbug.com/538243 .
kjellander_chromium 2016/10/04 06:06:21 Change to: Always enable optimization for Release
fbarchard1 2016/10/04 18:23:45 Done.
102 # Always enable optimization under NaCl to workaround crbug.com/538243 . 102 # enable O2 and ltcg.
kjellander_chromium 2016/10/04 06:06:21 You might want to rephrase this to something like:
fbarchard1 2016/10/04 18:23:45 Done. Its not just for Windows. Arm release build
103 if (!is_debug || is_nacl) {
103 configs -= [ "//build/config/compiler:default_optimization" ] 104 configs -= [ "//build/config/compiler:default_optimization" ]
104 configs += [ "//build/config/compiler:optimize_max" ] 105 configs += [ "//build/config/compiler:optimize_max" ]
105 } 106 }
106 } 107 }
107 108
108 if (libyuv_use_neon) { 109 if (libyuv_use_neon) {
109 static_library("libyuv_neon") { 110 static_library("libyuv_neon") {
110 sources = [ 111 sources = [
111 # ARM Source Files 112 # ARM Source Files
112 "source/compare_neon.cc", 113 "source/compare_neon.cc",
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 265 }
265 266
266 executable("cpuid") { 267 executable("cpuid") {
267 sources = [ 268 sources = [
268 # sources 269 # sources
269 "util/cpuid.c" 270 "util/cpuid.c"
270 ] 271 ]
271 deps = [ ":libyuv" ] 272 deps = [ ":libyuv" ]
272 } 273 }
273 } 274 }
OLDNEW
« no previous file with comments | « no previous file | docs/deprecated_builds.md » ('j') | docs/getting_started.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698