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

Side by Side Diff: chromecast/build/build_env_x86_chromecast.sh

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an additional function in gl_surface_cast.cc Created 6 years, 8 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
OLDNEW
(Empty)
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 function setup_common_env_x86_chromecast() {
6 setup_chromium_env_common x86_chromecast $@
7
8 unset CC
9 unset CXX
10
11 # undo setup_build_toolchain()
12 unset AR_target
13 unset CC_target
14 unset CXX_target
15 unset LD_target
16 unset OBJCOPY_target
17 unset STRIP_target
18
19 setup_goma_or_ccache gcc g++
20
21 # leaving the target arch empty for the system to decide which one to use
22 # (32 bit or 64 bit).
23
24 setup_chromium_env_common_chromecast
25
26 # use_system_libjpeg=1: use native libjpeg for x86 builds
27 local defines="
28 use_system_libjpeg=1
29 "
30 export GYP_DEFINES="${GYP_DEFINES} ${defines}"
31 }
32
33 function setup_chromium_env_x86_chromecast() {
34 setup_common_env_x86_chromecast $@
35
36 local defines="
37 chromecast_branding=Chromium
38 "
39
40 export GYP_DEFINES="${GYP_DEFINES} ${defines}"
41 }
42
43 function setup_chrome_env_x86_chromecast() {
44 setup_common_env_x86_chromecast $@
45
46 local defines="
47 chromecast_branding=Chrome
48 "
49
50 export GYP_DEFINES="${GYP_DEFINES} ${defines}"
51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698